File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
sources/net.sf.j2s.java.core Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 6262import swingjs .JSUtil ;
6363
6464/**
65+ *
66+ * SWINGJS NOTE! As of 6/23/2018 java.awt.Window has been moved to
67+ * subclass JComponent. It is fair to say that there will be issues
68+ * with this, but the reason was to allow JInternalFrame to subclass JFrame
69+ * instead of duplicating in code all of its functionality.
70+ *
71+ *
6572 * A <code>Window</code> object is a top-level window with no borders and no
6673 * menubar.
6774 * The default layout for a window is <code>BorderLayout</code>.
@@ -3353,10 +3360,14 @@ public void setBackground(Color bgColor) {
33533360 }
33543361*/
33553362
3356- @ SuppressWarnings ("unused" )
3357- private transient boolean opaque = true ;
3363+ private boolean opaque = true ;
3364+
3365+ public boolean isOpaque () {
3366+ // SwingJS
3367+ return opaque ;
3368+ }
33583369
3359- public void setOpaque (boolean opaque ) {
3370+ public void setOpaque (boolean opaque ) {
33603371 synchronized (getTreeLock ()) {
33613372 //TODO ?
33623373// GraphicsConfiguration gc = getGraphicsConfiguration();
You can’t perform that action at this time.
0 commit comments