Board index » jbuilder » UI is not displayed in jBuilder Designer

UI is not displayed in jBuilder Designer


2007-02-28 07:56:57 PM
jbuilder19
Hello,
in my application I've created a quite complex UI derived from
jInternalFrame with 4 splitpanes, toolbars a lot
of buttons and jtabels...and so on ...
However now the designer is not drawing the UI anymore correctly, the only
thing is shown is
the outlined of the marked control.
So my question, how can I solve the problem? I use jBuilder 2006 Foundation.
Thanks in advance.
 
 

Re:UI is not displayed in jBuilder Designer

pelle23 wrote:
Quote
So my question, how can I solve the problem? I use jBuilder 2006
Foundation.
Go to "Tools | Event log" and check for any exceptions that might have
been thrown by components on your form. If you can't find anything, run
jbuilder.exe (not jbuilderw.exe) from the command-line and watch for any
error output in the console window.
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
www.datadevelopment.com/
Please see Borland's newsgroup guidelines at
info.borland.com/newsgroups/guide.html
 

Re:UI is not displayed in jBuilder Designer

Quote
jbuilder.exe (not jbuilderw.exe) from the command-line and watch for any
error output in the console window.
Ok, I've got an error:
java.lang.NullPointerException
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitSelect(Unknown Source)
at com.borland.jbuilder.java.interpreter.ResultStoringJavaInterpreter.visitSelect(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.visitSelect(Unknown Source)
at com.sun.tools.javac.tree.Tree$Select.accept(Tree.java:1027)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.ResultStoringJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitApply(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.visitApply(Unknown Source)
at com.sun.tools.javac.tree.Tree$Apply.accept(Tree.java:853)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.ResultStoringJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitVarDef(Unknown Source)
at com.borland.jbuilder.java.interpreter.ResultStoringJavaInterpreter.visitVarDef(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.visitVarDef(Unknown Source)
at com.sun.tools.javac.tree.Tree$VarDef.accept(Tree.java:542)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatements(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitBlock(Unknown Source)
at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:571)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitTry(Unknown Source)
at com.sun.tools.javac.tree.Tree$Try.accept(Tree.java:708)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatements(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitBlock(Unknown Source)
at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:571)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitMethodDef(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter$InterpreterInvokeable.invoke(Unknown Source)
at com.borland.jbuilder.java.interpreter.InstanceContext.invoke(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter$ContextInvokeable.invoke(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitApply(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.visitApply(Unknown Source)
at com.sun.tools.javac.tree.Tree$Apply.accept(Tree.java:853)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.ResultStoringJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitExec(Unknown Source)
at com.sun.tools.javac.tree.Tree$Exec.accept(Tree.java:768)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatements(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitBlock(Unknown Source)
at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:571)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitMethodDef(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter$InterpreterInvokeable.invoke(Unknown Source)
at com.borland.jbuilder.java.interpreter.InstanceContext.invoke(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter$ContextInvokeable.invoke(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitApply(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.visitApply(Unknown Source)
at com.sun.tools.javac.tree.Tree$Apply.accept(Tree.java:853)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.ResultStoringJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitExec(Unknown Source)
at com.sun.tools.javac.tree.Tree$Exec.accept(Tree.java:768)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatements(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitBlock(Unknown Source)
at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:571)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitTry(Unknown Source)
at com.sun.tools.javac.tree.Tree$Try.accept(Tree.java:708)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatements(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitBlock(Unknown Source)
at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:571)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitMethodDef(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter$InterpreterInvokeable.invoke(Unknown Source)
at com.borland.jbuilder.cmt2.CmtClassInstanceContext.newInstance(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.invokeConstructor(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.b(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.getInterpreter(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.getInterpreter(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.a(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.getLiveThis(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.getLiveClazz(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.getContainerDelegate(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.loadPME(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.<init>(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponentFactory.createComponent(Unknown Source)
at com.borland.jbuilder.cmt2.CmtComponentManager.createComponent(Unknown Source)
at com.borland.jbuilder.cmt2.CmtComponentManager.a(Unknown Source)
at com.borland.jbuilder.cmt2.CmtComponentManager.a(Unknown Source)
at com.borland.jbuilder.cmt2.CmtComponentManager.getComponentSource(Unknown Source)
at com.borland.jbuilder.cmt2.designer.DesignerViewer.l(Unknown Source)
at com.borland.jbuilder.cmt2.designer.DesignerViewer.o(Unknown Source)
at com.borland.jbuilder.cmt2.designer.DesignerViewer.viewerActivated(Unknown Source)
at com.borland.jbuilder.cmt2.designer.DesignerViewer$0.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
There seems to be a problem with the designer, or what does this mean?
Is there an "unknown component" in my project (unknown source) or something?
 

{smallsort}

Re:UI is not displayed in jBuilder Designer

Unknown source means that the debug information was removed from classes
so JVM can't tell you where exactly in the source code this exception
was thrown.
In this case I suspect there is something wrong with JBuilder designer.
Doychin
pelle23 wrote:
Quote
>jbuilder.exe (not jbuilderw.exe) from the command-line and watch for any
>error output in the console window.

Ok, I've got an error:

java.lang.NullPointerException
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitSelect(Unknown Source)
at com.borland.jbuilder.java.interpreter.ResultStoringJavaInterpreter.visitSelect(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.visitSelect(Unknown Source)
at com.sun.tools.javac.tree.Tree$Select.accept(Tree.java:1027)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.ResultStoringJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitApply(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.visitApply(Unknown Source)
at com.sun.tools.javac.tree.Tree$Apply.accept(Tree.java:853)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.ResultStoringJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitVarDef(Unknown Source)
at com.borland.jbuilder.java.interpreter.ResultStoringJavaInterpreter.visitVarDef(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.visitVarDef(Unknown Source)
at com.sun.tools.javac.tree.Tree$VarDef.accept(Tree.java:542)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatements(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitBlock(Unknown Source)
at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:571)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitTry(Unknown Source)
at com.sun.tools.javac.tree.Tree$Try.accept(Tree.java:708)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatements(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitBlock(Unknown Source)
at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:571)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitMethodDef(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter$InterpreterInvokeable.invoke(Unknown Source)
at com.borland.jbuilder.java.interpreter.InstanceContext.invoke(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter$ContextInvokeable.invoke(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitApply(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.visitApply(Unknown Source)
at com.sun.tools.javac.tree.Tree$Apply.accept(Tree.java:853)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.ResultStoringJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitExec(Unknown Source)
at com.sun.tools.javac.tree.Tree$Exec.accept(Tree.java:768)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatements(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitBlock(Unknown Source)
at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:571)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitMethodDef(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter$InterpreterInvokeable.invoke(Unknown Source)
at com.borland.jbuilder.java.interpreter.InstanceContext.invoke(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter$ContextInvokeable.invoke(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitApply(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.visitApply(Unknown Source)
at com.sun.tools.javac.tree.Tree$Apply.accept(Tree.java:853)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.ResultStoringJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.cmt2.DesignerJavaInterpreter.evaluateExpression(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitExec(Unknown Source)
at com.sun.tools.javac.tree.Tree$Exec.accept(Tree.java:768)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatements(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitBlock(Unknown Source)
at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:571)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitTry(Unknown Source)
at com.sun.tools.javac.tree.Tree$Try.accept(Tree.java:708)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatements(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitBlock(Unknown Source)
at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:571)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:31)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.executeStatement(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.visitMethodDef(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter$InterpreterInvokeable.invoke(Unknown Source)
at com.borland.jbuilder.cmt2.CmtClassInstanceContext.newInstance(Unknown Source)
at com.borland.jbuilder.java.interpreter.JavaInterpreter.invokeConstructor(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.b(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.getInterpreter(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.getInterpreter(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.a(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.getLiveThis(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.getLiveClazz(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.getContainerDelegate(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.loadPME(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponent.<init>(Unknown Source)
at com.borland.jbuilder.cmt2.jb.JbComponentFactory.createComponent(Unknown Source)
at com.borland.jbuilder.cmt2.CmtComponentManager.createComponent(Unknown Source)
at com.borland.jbuilder.cmt2.CmtComponentManager.a(Unknown Source)
at com.borland.jbuilder.cmt2.CmtComponentManager.a(Unknown Source)
at com.borland.jbuilder.cmt2.CmtComponentManager.getComponentSource(Unknown Source)
at com.borland.jbuilder.cmt2.designer.DesignerViewer.l(Unknown Source)
at com.borland.jbuilder.cmt2.designer.DesignerViewer.o(Unknown Source)
at com.borland.jbuilder.cmt2.designer.DesignerViewer.viewerActivated(Unknown Source)
at com.borland.jbuilder.cmt2.designer.DesignerViewer$0.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

There seems to be a problem with the designer, or what does this mean?
Is there an "unknown component" in my project (unknown source) or something?




 

Re:UI is not displayed in jBuilder Designer

Doychin Bondzhev < XXXX@XXXXX.COM >wrote:
Quote
Unknown source means that the debug information was removed from classes
so JVM can't tell you where exactly in the source code this exception
was thrown.

In this case I suspect there is something wrong with JBuilder designer.

Doychin

Ok, I understand.
But how can I resolve that problem?
I need urgently to implement some bugfixes and cr's into
my application, depending on the use of the designer.
 

Re:UI is not displayed in jBuilder Designer

In such case I usually try to eliminate the code in my UI that causes
the error.
You can try by simplifying your UI code. Move some of your controls in
separate classes.
If I have a panel with lots of controls I create new class that descends
from JPanel and move all related stuff there.
Later on my bigger form I use that class.
Also another approach is to try to comment parts of your code and then
uncomment them one by one until designer crashes again.
This will help you to see which code in your program triggers the error.
Doychin
pelle23 wrote:
Quote
Doychin Bondzhev < XXXX@XXXXX.COM >wrote:
>Unknown source means that the debug information was removed from classes
>so JVM can't tell you where exactly in the source code this exception
>was thrown.
>
>In this case I suspect there is something wrong with JBuilder designer.
>
>Doychin
>

Ok, I understand.
But how can I resolve that problem?
I need urgently to implement some bugfixes and cr's into
my application, depending on the use of the designer.
 

Re:UI is not displayed in jBuilder Designer

pelle23 wrote:
Quote
But how can I resolve that problem?
Doychin's approach as outlined in his response is the same as mine.
Simplifying the form by moving panels into their own classes makes things
a lot easier: easier to visualize, easier to maintain, easier to understand.
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
www.datadevelopment.com/
Please see Borland's newsgroup guidelines at
info.borland.com/newsgroups/guide.html
 

Re:UI is not displayed in jBuilder Designer

"Kevin Dean [TeamB]" < XXXX@XXXXX.COM >wrote:
Quote
pelle23 wrote:

>But how can I resolve that problem?

Doychin's approach as outlined in his response is the same as mine.
Simplifying the form by moving panels into their own classes makes things
a lot easier: easier to visualize, easier to maintain, easier to understand.
I made a simple test and created a new class derived from JInternalFrame without any control on it.
The designer of jbuilder2006 is not able to show even this simple control.
I changed the superclass to JFrame and it was ok.
I think there is a major problem of the designer in version 2006 with JInternalFrame.
I have that problem since I've mirgrated to 2006 last month and can't solve it.
Is there somebody that can commit my experiences?
What can I do? (I don't want to go back to 2005)
There are any patches for jb2006?
 

Re:UI is not displayed in jBuilder Designer

There is one update for 2006. You can download it from Java Developers
section in CodeGear web site.
Doychin
pelle23 wrote:
Quote
"Kevin Dean [TeamB]" < XXXX@XXXXX.COM >wrote:
>pelle23 wrote:
>
>>But how can I resolve that problem?
>Doychin's approach as outlined in his response is the same as mine.
>Simplifying the form by moving panels into their own classes makes things
>a lot easier: easier to visualize, easier to maintain, easier to understand.

I made a simple test and created a new class derived from JInternalFrame without any control on it.

The designer of jbuilder2006 is not able to show even this simple control.

I changed the superclass to JFrame and it was ok.

I think there is a major problem of the designer in version 2006 with JInternalFrame.

I have that problem since I've mirgrated to 2006 last month and can't solve it.

Is there somebody that can commit my experiences?

What can I do? (I don't want to go back to 2005)

There are any patches for jb2006?

 

Re:UI is not displayed in jBuilder Designer

Doychin Bondzhev < XXXX@XXXXX.COM >wrote:
Quote
There is one update for 2006. You can download it from Java Developers
section in CodeGear web site.

I have downloaded and installed ServicePack 3 for JBuilder 2006
, but my problem is not fixed.
In the meantime I played and changed the superclass in my production- project to JFrame too and the UI is displayed correctly.
But I really need the JInternalFrame (MDI) functionallity.
It is also not possibble to change to JFrame, edit the UI and change back to JInternalFrame and complie, because there are to many lines to change if I do that.
What can I do now.
Is it possible to get a bug fixed by borland when using the free foundation version?
Should I try to download the jBuilder2007.
Can somebody who has installed 2007 already try to force my problem, to see if it is fixed there?
 

Re:UI is not displayed in jBuilder Designer

JBuilder 2007 is based on Eclipse and uses for Swing design the Visual
Editor from Eclipse project. Because of that use of Eclipse the project
structure is different and also the way code for visual controls is
handled differently.
Can you try something else: Create a base class that descends from
JInternalFrame. Put into this class all code that must be there for
JInternalFrame to work. Make your class that descends from
JInternalFrame to descend from this new class. For design you can change
the base class to JFrame and then change it back to JInternalFrame when
you make deployment build.
Another option is to try to load your form into NetBeans 5.5 swing
designer.
Doychin
pelle23 wrote:
Quote
Doychin Bondzhev < XXXX@XXXXX.COM >wrote:
>There is one update for 2006. You can download it from Java Developers
>section in CodeGear web site.
>

I have downloaded and installed ServicePack 3 for JBuilder 2006
, but my problem is not fixed.

In the meantime I played and changed the superclass in my production- project to JFrame too and the UI is displayed correctly.

But I really need the JInternalFrame (MDI) functionallity.

It is also not possibble to change to JFrame, edit the UI and change back to JInternalFrame and complie, because there are to many lines to change if I do that.

What can I do now.

Is it possible to get a bug fixed by borland when using the free foundation version?


Should I try to download the jBuilder2007.

Can somebody who has installed 2007 already try to force my problem, to see if it is fixed there?