Parent Directory | Revision Log | Patch
revision 1.12.2.6 by gnu_andrew, Tue Aug 2 20:12:15 2005 UTC | revision 1.12.2.7 by gnu_andrew, Sat Sep 10 15:31:45 2005 UTC | |
---|---|---|
# | Line 215 getText() | Line 215 getText() |
215 | public synchronized void | public synchronized void |
216 | setText(String text) | setText(String text) |
217 | { | { |
218 | this.text = text; | if ((this.text == null && text != null) |
219 | || (this.text != null && ! this.text.equals(text))) | |
if (peer != null) | ||
220 | { | { |
221 | LabelPeer lp = (LabelPeer) peer; | this.text = text; |
222 | lp.setText (text); | |
223 | if (peer != null) | |
224 | { | |
225 | LabelPeer lp = (LabelPeer) peer; | |
226 | lp.setText (text); | |
227 | } | |
228 | invalidate(); | |
229 | } | } |
230 | } | } |
231 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |