Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.
Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg
Hi Mr. Eric,
I have myJframe whose windowClosing() metod is overriden as System.exit(0).
After pressing "quickly preview without running" button of WindowBuilder 7.4, myJFrame appears as if it was in runtime.No problem
But the problem is,
if i press the close button of myJframe then myJframe disappears and Eclipse shutDown...
I think,this can be a bug of WindowBuilder 7.4
may be :"quickly preview without running" code must not be run in the same execution-context as Eclipse does
- Posts: 2
- Joined: Thu May 13, 2010 10:54 pm
Please give this a try using the latest Swing Designer v7.5 build.
Note that you can also wrap the call to System.exit() in a Beans.isDesignTime() check.
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
Return to Swing Designer
Who is online
Users browsing this forum: No registered users and 1 guest