Skip to content

Commit 59b7f5c

Browse files
hansonrhansonr
authored andcommitted
Window must not gain focus via UI class on activation
1 parent 09c6a87 commit 59b7f5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sources/net.sf.j2s.java.core/src/swingjs/plaf/JSWindowUI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ public void windowDeiconified(WindowEvent e) {
257257

258258
@Override
259259
public void windowActivated(WindowEvent e) {
260-
System.out.println("JSFrameUI windowOpened " + c.isVisible());
261-
c.requestFocus();
260+
System.out.println("JSFrameUI windowActivated " + c.isVisible());
261+
// c.requestFocus(); // caused problem with combobox focus
262262
}
263263

264264

0 commit comments

Comments
 (0)