This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 40324 - [JDK1.5.0] Wizard, Frame
Summary: [JDK1.5.0] Wizard, Frame
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2004-02-20 15:25 UTC by cfh
Modified: 2005-07-11 14:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log file (109.31 KB, text/plain)
2004-02-20 15:28 UTC, cfh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cfh 2004-02-20 15:25:32 UTC
Program crasched trying to create a 
java.awt.Frame
Comment 1 cfh 2004-02-20 15:28:41 UTC
Created attachment 13550 [details]
ide log file
Comment 2 Milan Kubec 2004-02-20 15:39:35 UTC
Please describe exactly what you have been doing. Thanks.
Comment 3 cfh 2004-02-20 16:54:49 UTC
Bottom line is.

I started NetBeans and using the wizard to create a
java.awt.Frame, as soon as I hit the Finish button in the
wizard the program exited.
I didn't type a name in the wizard for my frame, I just
hit the Finish button.
Comment 4 cfh 2004-02-20 17:10:39 UTC
Please ignore my comment 2004-02-20 08:54 
I've just tried to reproduce the error
and this is how it happened.

I started NetBeans and using the wizard to create a
java.awt.Frame I almost succeded but the Form Editor
didn't show up, instead I got an error which I didn't
pay any attention, so I discarded the Frame and created
a JFrame instead, (I would like to add AWT components)
that's why the Frame.

The minute I tried to add a Label (AWT) to the JFrame
that's when the exited.

Sorry !

Regards
Carsten F. H. 
Comment 5 Tomas Pavek 2004-02-22 15:49:07 UTC
The problem is that the way how form editor handles heavyweight (AWT) 
components does not work on jdk 1.5 (due to changes in the non-public 
API that is used here). It will have to be analyzed and the form 
editor adapted. Currently I have no clue how much work this can be. 
But it's quite possible that AWT components won't work in NB 3.6 with 
jdk 1.5.
Comment 6 cfh 2004-02-22 15:57:48 UTC
Well - not good news.
People might migrate to other IDE's
Comment 7 Tomas Pavek 2004-02-25 17:15:28 UTC
After all, the adoption to jdk 1.5 was not so difficult.
So this issue is hopefully fixed now.
Comment 8 Marek Grummich 2005-07-11 14:08:25 UTC
Verified