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 3625a35 commit 8886fb9Copy full SHA for 8886fb9
sources/net.sf.j2s.java.core/src/java/awt/JSComponent.java
@@ -251,6 +251,11 @@ public ComponentUI getUI() {
251
return ui;
252
}
253
254
+ @Override
255
+ public boolean isDisplayable() {
256
+ return getTopInvokableAncestor(this, false) != null;
257
+ }
258
+
259
@Override
260
protected void updatePeerVisibility(boolean isVisible) {
261
// check for visibility set prior to creation of ui.
0 commit comments