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 20116 - [JP3.2] Form Editor gnerates null default values
Summary: [JP3.2] Form Editor gnerates null default values
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: All All
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-04 14:46 UTC by Marian Mirilovic
Modified: 2002-04-10 13:39 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NullPointerException (2.65 KB, text/plain)
2002-02-04 15:09 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2002-02-04 14:46:52 UTC
[Forte for Java, CE v. 3.0] (Build 010817) + Jumbo Patch 3.2 on [jdk1.4](92)

Steps to reproduce:
- open/create JFrame
- add JLabel, JButton, JToggleButton , .....
-> generated text :

        jLabel2.setText(null);
        add(jLabel2);
        
        jButton1.setText(null);
        add(jButton1);
        
        jToggleButton1.setText(null);
        add(jToggleButton1);
        
        jRadioButton1.setText(null);
        add(jRadioButton1);


It works fine without JP3.2 !
Comment 1 Marian Mirilovic 2002-02-04 15:07:35 UTC
If you try to add AWT component (e.g. Button) to Frame (AWT) you
obtain NPE ( atatchment).

It's annoying and for example JLabel with null text isn't visible in
Form Designer - this is reason to arise priority to P2.

Comment 2 Marian Mirilovic 2002-02-04 15:09:06 UTC
Created attachment 4556 [details]
NullPointerException
Comment 3 Marian Mirilovic 2002-02-04 15:33:04 UTC
Ok, the same result if you run IDE on [jdk1.3.1](02).

This mean it isn't only JDK1.4 problem!
Comment 4 Jan Kovar 2002-02-05 14:38:30 UTC
Fixed for Forte for Java CE 3.0 + JP 3.2
Comment 5 Marian Mirilovic 2002-02-05 14:43:24 UTC
Verified in JP3.2 new version.

This issue was caused by fixing issue 13635.