Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
JBuilder
Designers
Bean Designer
Column Designer
Component Palette
Inspector
Lightweight Toolkit
Menu Designer
Property Editors - Database
Property Editors - Non-Database
Structure Pane
UI Designer
You are not logged in.
Help
Print
Public Report
Report From:
JBuilder/Designers/UI Designer
[ Add a report in this area ]
Report #:
9127
Status:
Closed
Instance of JDesktopPane crash JBuilder 2005
Project:
JBuilder
Build #:
11.0.236
Version:
12
Submitted By:
Nicolas Roduit
Report Type:
Crash / Data loss / Total failure
Date Reported:
9/23/2004 5:19:06 AM
Severity:
Serious / Highly visible problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All versions
Internal Tracking #:
220138
Resolution:
Fixed
(Resolution Comments)
Resolved in Build:
:
012.000.203.000
Duplicate of:
None
Voting and Rating
Overall Rating:
(2 Total Ratings)
5.00 out of 5
Total Votes:
None
Description
JBuilder 2005 crah when opening the Visual JavaBeans Designers of a class that contains an instance of JDesktopPane.
Steps to Reproduce:
1. Create a class that contains an instance of JDesktopPane
example :
import javax.swing.*;
import java.awt.BorderLayout;
public class Foo extends JFrame {
private JDesktopPane desktop = new JDesktopPane();
public Foo() {
try {
jbInit();
}
catch (Exception ex) {
ex.printStackTrace();
}
}
private void jbInit() throws Exception {
this.getContentPane().add(desktop, BorderLayout.CENTER);
}
}
2. Open the Visual JavaBeans Designers
3. JBuilder 2005 crashes
Workarounds
with this code, JBuilder 2005 doesn't crash but the JDesktopPane is not displayed in the designer.
import javax.swing.*;
import java.awt.BorderLayout;
public class Foo extends JFrame {
public Foo() {
try {
jbInit();
}
catch (Exception ex) {
ex.printStackTrace();
}
}
private void jbInit() throws Exception {
this.getContentPane().add(new JDesktopPane(), BorderLayout.CENTER);
}
}
---------
with this code, JBuilder 2005 doesn't crash but the JDesktopPane is not displayed in the designer.
import javax.swing.*;
import java.awt.BorderLayout;
public class Foo extends JFrame {
public Foo() {
try {
jbInit();
}
catch (Exception ex) {
ex.printStackTrace();
}
}
private void jbInit() throws Exception {
this.getContentPane().add(new JDesktopPane(), BorderLayout.CENTER);
}
}
Attachment
None
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us