Problem with JDK 1.7 and JDK 1.8:
Event dispatching flow is broken whenever Popup Window is opened (All scenarios). The flow is broken in the method MyEventQueue.replaceEventQueue(new MyEventQueue(),false)
The Root Cause:
EventQueue.pop() method call should stop dispatching thread as per API specification. This was working till JDK 1.6, but not working from JDK 1.7. EventQueue.pop() method call is not stopping dispatching thread from JDK 1.7 onwards, which is resulting to break the event dispatching flow, and freeze the screens whenever popup window opened.
Till JDK 1.6 SwingUtilities.isEventDispatchThread() returns false after EventQueue.pop() method call. But from JDK 1.7 SwingUtilities.isEventDispatchThread() returns true even after EventQueue.pop() method call.
CodementorX is an exclusive network where world-class Swing developers can be hired for contractor positions or large freelance projects
We carefully screen our clients from all over the world, so you can rest assured that you're working with the best.
Work on Swing jobs that interest you and make an impact. We have exciting projects from a variety of industries.
We handle all the logistics, including paperwork and invoicing, so you can focus on what you do best.
Our vetted Swing developers include book authors, popular open source contributors, top Stack Overflow users, and engineers at top tech companies.