I am developing an AWT application. It runs smoothly on single monitor. However, when used with a multiple monitor set up:
Often dialog boxes open blank: complete black spot the size of a dialog, even top window system icons do not appear. Once moved or after any action performed on that blank part - resize, move etc, content appears normally.
When application is "put" on secondary monitor. The dialogs open on primary monitor only with the issues described above.
Although the issue is not found to be consistent when used with Win 7, issues occur more frequently on Windows XP.
Is this a standard Java Bug like this and related ones?
Any workarounds?
Any work arounds for
don't use prehistoricComponents
that died in last milenium, 2) that's talk aboutMixing Swing and AWT J/Components
3) blank Container missedRootPane
by usingTop-level Container#removeAll()
– mKorbel