WindowBuilder Crashes and Can't Parse Error Free Code

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

WindowBuilder Crashes and Can't Parse Error Free Code

Postby blombar » Sat Oct 09, 2010 5:54 am

I am evaluating Window Builder/ Swign Designer for a client. I am running Eclipse Helios 32 bit SP1, but on a 64 bit machine running Windows 7. I followed the instructions for installing WindowBuilder Pro from the update site and I am using all default setting including L&F.I have not had the positive experience that I was expecting given what I have been reading about WindowBuilder. WindowBuilder would not parse the GUI that I had hand coded, even though there were no compilation errors or warnings and the code ran fine, so I started again from scratch. This worked until I made a hand written method that returned a configured text panel (code that was copied straight from the Swing Tutorial for JTabbedPane). At that point, when going to the design window, a parse error was thrown saying that a componet has "different parents for a double association." Again, there are no compilation errors in the hand-coded code and the application runs fine. I commented out the new code and was able to parse again. Now I have just defined a JPanel and when changing its variable name to "sectionPanel" in the properties dialog I got a message saying that WindowBuilder encountered an error and needed to close. After reparsing the code, the desiger opened again and the variable was renamed.

I am truely surprised at the number of problems and crashes I am having. (I have submitted these problem throught the program.) I keep hoping that the problems are related to the transition to Google, or Helios, and that updates will fix them soon, but I keep checking and there are none. Am I doing something wrong? Are others experiencing this?
blombar
 
Posts: 5
Joined: Sat Oct 09, 2010 5:20 am

Re: WindowBuilder Crashes and Can't Parse Error Free Code

Postby Eric Clayberg » Sat Oct 09, 2010 7:50 am

It would help to see a test case and know what exceptions you encountered. I don't see any submitted problems associated with your email address.

Note that WB is not guaranteed to work with hand written code. Based on experience, it is able to handle ~90% of hand written code immediately. Other code can be made to work with minor modifications.

I would also recommend the following docs...

http://code.google.com/webtoolkit/tools ... #CantParse

http://code.google.com/webtoolkit/tools ... ories.html
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: WindowBuilder Crashes and Can't Parse Error Free Code

Postby blombar » Mon Oct 11, 2010 3:24 pm

Thanks, I'll look at the references. There should be at least one submitted problem from me. I'll recreate the errors and submit again.
blombar
 
Posts: 5
Joined: Sat Oct 09, 2010 5:20 am

Re: WindowBuilder Crashes and Can't Parse Error Free Code

Postby Eric Clayberg » Mon Oct 11, 2010 4:22 pm

blombar wrote:Thanks, I'll look at the references. There should be at least one submitted problem from me. I'll recreate the errors and submit again.

Make sure that you include your email address when you submit. Otherwise, we have no way of contacting you.

I would also suggest giving the latest WindowBuilder build a try...

http://code.google.com/webtoolkit/tools ... -beta.html
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


Return to Swing Designer

Who is online

Users browsing this forum: No registered users and 1 guest

cron