[Pixelle-commit] SF.net SVN: pixelle: [102] trunk/pixelle/src/com/mebigfatguy/pixelle
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-06-28 21:54:10
|
Revision: 102
http://pixelle.svn.sourceforge.net/pixelle/?rev=102&view=rev
Author: dbrosius
Date: 2008-06-28 14:54:18 -0700 (Sat, 28 Jun 2008)
Log Message:
-----------
scratch that
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/actions/TransformNewWindowAction.java
trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/actions/TransformNewWindowAction.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/actions/TransformNewWindowAction.java 2008-06-28 21:51:16 UTC (rev 101)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/actions/TransformNewWindowAction.java 2008-06-28 21:54:18 UTC (rev 102)
@@ -21,7 +21,6 @@
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
-import javax.swing.ImageIcon;
import javax.swing.JCheckBoxMenuItem;
import com.mebigfatguy.pixelle.PixelleBundle;
@@ -29,14 +28,11 @@
public class TransformNewWindowAction extends AbstractAction {
private static final long serialVersionUID = -906223935291758331L;
- private static final String CHECKBOX_UNSELECTED_URL = "/com/mebigfatguy/pixelle/resources/checkboxunselected.png";
- private static final String CHECKBOX_SELECTED_URL = "/com/mebigfatguy/pixelle/resources/checkbox_selected.png";
PixelleFrame frame;
public TransformNewWindowAction(PixelleFrame pf) {
- super(PixelleBundle.getString(PixelleBundle.TRANSFORM_NEW_ITEM),
- new ImageIcon(TransformNewWindowAction.class.getResource(CHECKBOX_SELECTED_URL)));
+ super(PixelleBundle.getString(PixelleBundle.TRANSFORM_NEW_ITEM));
frame = pf;
}
@@ -44,8 +40,6 @@
JCheckBoxMenuItem item = (JCheckBoxMenuItem)e.getSource();
boolean select = !item.isSelected();
item.setSelected(select);
- item.setIcon(new ImageIcon(select ? TransformNewWindowAction.class.getResource(CHECKBOX_SELECTED_URL)
- : TransformNewWindowAction.class.getResource(CHECKBOX_UNSELECTED_URL)));
}
}
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties 2008-06-28 21:51:16 UTC (rev 101)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties 2008-06-28 21:54:18 UTC (rev 102)
@@ -45,6 +45,7 @@
menu.transform.title = Transform
menu.transform.options = Options
+menu.transform.newwindow = Transform in new window
menu.transform.transform = Transform
formula.red = p[x,y].r
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|