[Patchanim-commit] SF.net SVN: patchanim: [232] trunk/patchanim/src/com/mebigfatguy/patchanim/ gui/
Brought to you by:
dbrosius
From: <dbr...@us...> - 2008-02-24 15:29:51
|
Revision: 232 http://patchanim.svn.sourceforge.net/patchanim/?rev=232&view=rev Author: dbrosius Date: 2008-02-24 07:29:54 -0800 (Sun, 24 Feb 2008) Log Message: ----------- remove unneeded member variable Modified Paths: -------------- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/SourcePatchesPanel.java Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/SourcePatchesPanel.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/SourcePatchesPanel.java 2008-02-24 15:28:32 UTC (rev 231) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/SourcePatchesPanel.java 2008-02-24 15:29:54 UTC (rev 232) @@ -31,9 +31,8 @@ public class SourcePatchesPanel extends JPanel { - private static final long serialVersionUID = 4186927445084750958L; + private static final long serialVersionUID = -6986592027015551508L; - private boolean useAlpha; JColorControlPatchPanel redPatch; JColorControlPatchPanel greenPatch; JColorControlPatchPanel bluePatch; @@ -41,14 +40,12 @@ public SourcePatchesPanel() { - useAlpha = false; - redPatch = new JColorControlPatchPanel(PatchColor.Red); greenPatch = new JColorControlPatchPanel(PatchColor.Green); bluePatch = new JColorControlPatchPanel(PatchColor.Blue); alphaPatch = new JColorControlPatchPanel(PatchColor.Alpha); - rebuild(useAlpha); + rebuild(false); PatchPanelMediator mediator = PatchPanelMediator.getMediator(); mediator.addDocumentChangedListener(new DocumentChangedListener() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |