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 7781 - Don't generate code with FQNs, set import statements
Summary: Don't generate code with FQNs, set import statements
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 enhancement with 7 votes (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 22385 23615 119174 133801 152685 (view as bug list)
Depends on:
Blocks:
 
Reported: 2000-10-02 13:20 UTC by Petr Slegr
Modified: 2008-11-07 15:13 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Slegr 2000-10-02 13:20:19 UTC
It would be nice to choose whether Form Editor will generate fully
qualified names of classes or import statements (and non-FQN names).

IMO there could be two boolean properties:
- for generation single imports for class used by Form Editor, e.g.
      import javax.swing.JCombo;
      import javax.swing.JButton;
      .....
- for generation imports for whole packages where used class are from, e.g.
      import java.awt.*;
      import javax.swing.*;
Comment 1 Jan Chalupa 2001-05-05 22:16:57 UTC
Target milestone -> 3.3
Comment 2 Marian Mirilovic 2001-05-30 08:31:39 UTC
self-platform
Comment 3 Jan Chalupa 2001-11-27 12:38:19 UTC
Target milestone -> 3.3.1.
Comment 4 Tomas Pavek 2002-05-16 15:47:10 UTC
*** Issue 23615 has been marked as a duplicate of this issue. ***
Comment 5 Marek Grummich 2002-07-22 09:57:12 UTC
Set target milestone to TBD
Comment 6 Marek Grummich 2002-07-22 10:00:29 UTC
Set target milestone to TBD
Comment 7 Tomas Pavek 2002-08-06 15:45:13 UTC
*** Issue 22385 has been marked as a duplicate of this issue. ***
Comment 8 Tomas Pavek 2003-03-11 16:26:55 UTC
*** Issue 22385 has been marked as a duplicate of this issue. ***
Comment 9 Tomas Pavek 2005-05-16 18:23:57 UTC
Changing target milestone to future. No concrete plans yet.
Comment 10 Karthikeyan Rajeswaran 2007-01-31 06:48:08 UTC
Ref: http://forum.java.sun.com/thread.jspa?forumID=747&threadID=5130677
Comment 11 zeljkot 2008-04-24 09:30:59 UTC
*** Issue 119174 has been marked as a duplicate of this issue. ***
Comment 12 Jana Maleckova 2008-04-29 15:55:00 UTC
*** Issue 133801 has been marked as a duplicate of this issue. ***
Comment 13 Jan Stola 2008-10-02 14:16:28 UTC
The possibility to generate imports instead of fully-qualified names has been implemented in NetBeans 6.5. See Tools > 
Options > Miscellaneaous > Generate Fully Qualified Names of Classes option. There is also a per-form option: select 
the root node in Inspector window and see Generate Full Classnames property in Properties window.
Comment 14 Jan Stola 2008-11-07 15:13:59 UTC
*** Issue 152685 has been marked as a duplicate of this issue. ***