We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ae883a commit 225d1d9Copy full SHA for 225d1d9
sources/net.sf.j2s.java.core/src/javax/swing/JLabel.java
@@ -289,8 +289,9 @@ public void setText(String text) {
289
// oldAccessibleName,
290
// accessibleContext.getAccessibleName());
291
// }
292
- if (text == null || oldValue == null || !text.equals(oldValue)) {
293
- revalidate();
+ if (秘paintsSelf())
+ if (text == null || oldValue == null || !text.equals(oldValue)) {
294
+ revalidate();
295
秘repaint();
296
}
297
0 commit comments