Re: window forward on breakpoint
[email protected] Wed, 21 Dec 2005 15:27:24 -0800 (PST)
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <[email protected]> |
I hastily drew conclusions when I said: > Never mind, I can reproduce it easily on Windows. I'm guessing it's a > NetBeans bug, but I'll take a closer look. Okay, once more with feeling... My experimentation, and reading of Window.toFront(), indicates this is: 1. Not a NetBeans bug (sorry NetBeans guys) 2. Not a JSwat bug (yippee) 3. Is inconsistent across systems Using JSwat 2.39 and 3.4, I proved #1 and #3. a. On Microsoft Windows, toFront() works the first time to bring the window forward, but subsequent calls just make the window flash in the background. b. On Linux+GNOME, toFront() gives the window focus but nothing else. c. On Solaris 10 + GNOME, toFront() works perfectly every time. Kudos to Solaris for getting it right, but shame on Windows for being irrationally inconsistent. My theory for #2 is based on the lengthy description for Window.toFront(), which makes all kinds of excuses about how window systems have the final say in whether windows come forward and so on. Since JSwat is doing everything in it's power to bring its window forward, my conclusion is this a problem to do with the native windowing systems, not the Swing-based application. Thanks n