File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
sources/net.sf.j2s.java.core/src/swingjs/plaf Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -101,11 +101,8 @@ public DOMNode updateDOMNode() {
101101
102102
103103 protected void setWindowClass () {
104- DOMNode . setZ ( domNode , z );
104+ setZOrder ( z );
105105 addClass (domNode , "swingjs-window" );
106-
107- System .out .println ("JSWIndowUI testing?" );
108-
109106 // these next two lines are what allow the FocusManager to work....or not
110107// focusNode = domNode;
111108// addJQueryFocusCallbacks();
@@ -124,6 +121,7 @@ public void toFront() {
124121 if (debugging )
125122 System .out .println ("window to front for " + id );
126123 z = J2S .setWindowZIndex (domNode , Integer .MAX_VALUE );
124+ DOMNode .setPositionAbsolute (domNode );
127125 if (modalNode != null )
128126 DOMNode .setZ (modalNode , z - 1 );
129127 }
You can’t perform that action at this time.
0 commit comments