[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl Editor.java, 1.15, 1.16
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2009-12-22 13:52:03
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv26364/src/net/sourceforge/bprocessor/gl Modified Files: Editor.java Log Message: length label Index: Editor.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/Editor.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Editor.java 14 Sep 2009 16:22:59 -0000 1.15 --- Editor.java 22 Dec 2009 13:51:52 -0000 1.16 *************** *** 81,84 **** --- 81,85 ---- /** the length parameter */ private LengthField lengthField; + private JLabel label; private Box controlarea; *************** *** 182,186 **** lengtharea.add(controlarea); ! lengtharea.add(new JLabel("Length:")); lengtharea.add(Box.createHorizontalStrut(3)); lengthField = new LengthField(); --- 183,189 ---- lengtharea.add(controlarea); ! label = new JLabel("<blank>:"); ! ! lengtharea.add(label); lengtharea.add(Box.createHorizontalStrut(3)); lengthField = new LengthField(); *************** *** 461,464 **** --- 464,475 ---- /** + * Set the parameter label + * @param value new value + */ + public void setLengthLabel(String value) { + label.setText(value); + } + + /** * Sets the tip in the tip-panel * @param tip the tip to be displayed |