[Patchanim-commit] SF.net SVN: patchanim: [13] trunk/patchanim/src/com/mebigfatguy/patchanim/ gui/J
Brought to you by:
dbrosius
From: <dbr...@us...> - 2008-01-25 13:05:59
|
Revision: 13 http://patchanim.svn.sourceforge.net/patchanim/?rev=13&view=rev Author: dbrosius Date: 2008-01-25 05:06:04 -0800 (Fri, 25 Jan 2008) Log Message: ----------- section 508 fixes Modified Paths: -------------- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchControlPanel.java Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchControlPanel.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchControlPanel.java 2008-01-25 05:26:57 UTC (rev 12) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchControlPanel.java 2008-01-25 13:06:04 UTC (rev 13) @@ -64,6 +64,7 @@ { widthLabel = new JLabel(rb.getString(PatchAnimBundle.WIDTH)); widthField = new JTextField(8); + widthLabel.setLabelFor(widthField); JPanel p = Utils.createFormPanel(widthLabel, widthField); Utils.limitPanelHeight(p, widthField); @@ -73,6 +74,7 @@ { heightLabel = new JLabel(rb.getString(PatchAnimBundle.HEIGHT)); heightField = new JTextField(8); + heightLabel.setLabelFor(heightField); JPanel p = Utils.createFormPanel(heightLabel, heightField); Utils.limitPanelHeight(p, heightField); @@ -84,6 +86,7 @@ animationCB = new JComboBox(new Object[] { rb.getString(PatchAnimBundle.NONE), rb.getString(PatchAnimBundle.CYCLE), rb.getString(PatchAnimBundle.WAVE) }); + animationLabel.setLabelFor(animationCB); JPanel p = Utils.createFormPanel(animationLabel, animationCB); Utils.limitPanelHeight(p, animationCB); @@ -94,6 +97,7 @@ outOfBoundsLabel = new JLabel(rb.getString(PatchAnimBundle.OUTOFBOUNDSCOLOR)); outOfBoundsColorCB = new JComboBox(new Object[] { rb.getString(PatchAnimBundle.CLIP), rb.getString(PatchAnimBundle.ROLL) }); + outOfBoundsLabel.setLabelFor(outOfBoundsColorCB); JPanel p = Utils.createFormPanel(outOfBoundsLabel, outOfBoundsColorCB); Utils.limitPanelHeight(p, outOfBoundsColorCB); add(p); @@ -102,6 +106,7 @@ { tweenFramesLabel = new JLabel(rb.getString(PatchAnimBundle.TWEENFRAMES)); tweenFramesField = new JTextField(8); + tweenFramesLabel.setLabelFor(tweenFramesField); JPanel p = Utils.createFormPanel(tweenFramesLabel, tweenFramesField); Utils.limitPanelHeight(p, tweenFramesField); add(p); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |