[Pixelle-commit] SF.net SVN: pixelle:[224] trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs /Pixe
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-11-22 06:09:51
|
Revision: 224
http://pixelle.svn.sourceforge.net/pixelle/?rev=224&view=rev
Author: dbrosius
Date: 2008-11-22 06:09:49 +0000 (Sat, 22 Nov 2008)
Log Message:
-----------
marginally prettier
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2008-11-22 06:08:36 UTC (rev 223)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2008-11-22 06:09:49 UTC (rev 224)
@@ -28,6 +28,7 @@
import java.awt.event.MouseEvent;
import java.util.EnumMap;
import java.util.Map;
+import java.util.Set;
import javax.swing.BorderFactory;
import javax.swing.Box;
@@ -424,7 +425,8 @@
reset.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ae) {
- for (PixelleComponent comp : (getImageType() == ImageType.RGB) ? PixelleComponent.rgbValues() : PixelleComponent.gsValues()) {
+ Set<PixelleComponent> comps = (getImageType() == ImageType.RGB) ? PixelleComponent.rgbValues() : PixelleComponent.gsValues();
+ for (PixelleComponent comp : comps) {
rgbEditor.get(comp).setText(PixelleBundle.getString("formula." + comp.name().toLowerCase()));
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|