Question regard to the Design window

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

Question regard to the Design window

Postby Helloworld » Fri Dec 16, 2005 1:46 pm

Trying to use this GUI builder. Everything was going well. Perhaps I use too much the NICE "preview/test" icon, now everytime I add a new container or contorls or change the properties; out pops the "preview/test" of the frame I made and it closes right alway, strange? did I enable it by accident?

Hello World

v. 4.2.0
Helloworld
 
Posts: 7
Joined: Fri Dec 16, 2005 1:33 pm

Re: Question regard to the Design window

Postby Eric Clayberg » Fri Dec 16, 2005 6:15 pm

Helloworld wrote:Trying to use this GUI builder. Everything was going well. Perhaps I use too much the NICE "preview/test" icon, now everytime I add a new container or contorls or change the properties; out pops the "preview/test" of the frame I made and it closes right alway, strange? did I enable it by accident?

Depending on the platform you are using, that is expected. It should not happen under Windows.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Question regard to the Design window

Postby Helloworld » Mon Dec 19, 2005 11:20 am

Depending on the platform you are using, that is expected. It should not happen under Windows.


Yes I am using Windows 2000.

I add the following code at end of initialize()
frame.setExtendedState(frame.MAXIMIZED_BOTH);
without the code above I no longer have the "Pop" up whenever I modify GUI. I knew it was something I did :p

have a happy holiday coding :)
Last edited by Helloworld on Mon Dec 19, 2005 11:44 am, edited 1 time in total.
Helloworld
 
Posts: 7
Joined: Fri Dec 16, 2005 1:33 pm

Re: Question regard to the Design window

Postby Eric Clayberg » Mon Dec 19, 2005 11:38 am

Helloworld wrote:The pop up happen so often I had to found a work around; My work around is to create another java file and copy the code over. Not sure why this happen to me. And it only happen to that one file. :)

Interesting. If this happens with only a single file, can you post a test case?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Question regard to the Design window

Postby Helloworld » Mon Dec 19, 2005 11:46 am

thx Eric for the fast fast reply. I now realize when I add the following code at end of initialize() {

//rest of the code.
frame.setExtendedState(frame.MAXIMIZED_BOTH);
}
I was trying to not allow user to resize, that was when I realize the newly added code probably did something to the GUI editor.
Helloworld
 
Posts: 7
Joined: Fri Dec 16, 2005 1:33 pm


Return to Swing Designer

Who is online

Users browsing this forum: No registered users and 1 guest