need more information what a swingdesigner not like

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

need more information what a swingdesigner not like

Postby mkornatzki » Fri Apr 30, 2010 5:43 am

Hi,

is it possible to give more information on console why swingdesigner has problems to edit a jframe?
I have to spent a little time to find the "bug".

i admit that it is not correct if you have a method-comment without a method in your class but that you can not add a menuitem and get the following error... the reason is hard to find:
Code: Select all
Unable to parse source.
Swing Designer was not able to parse source protected javax.swing.JMenuItem getMi_8() { if (mi_8 == null) { mi_8 = new javax.swing.JMenuItem("New menu item"); } return mi_8; } . Possible reasons:

Using old versions of libraries in your Java project.
Not all required dependencies exist in your Java project.
Compilation errors in your Java project.
Use of conflicting variable name such as com, org, net, edu, java, or javax.
Bug in Swing Designer.


Show stack trace.
Hide stack trace.

Stack trace:
com.instantiations.designer.core.utils.exception.DesignerException: 205 (Unable to parse source.).    protected javax.swing.JMenuItem getMi_8() {
      if (mi_8 == null) {
         mi_8 = new javax.swing.JMenuItem("New menu item");
      }
      return mi_8;
   }


cheers, michael
mkornatzki
 
Posts: 121
Joined: Wed Oct 15, 2008 3:57 am

Re: need more information what a swingdesigner not like

Postby Eric Clayberg » Fri Apr 30, 2010 6:50 am

Please post a complete test case along with your complete Eclipse ".log" file, and we would be happy to look at it for you.

In general, you should just click the "Contact Support" button in the error window to submit the full case to us with example code and logs.
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