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