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 152685 - Use import statements instead of full package-class names
Summary: Use import statements instead of full package-class names
Status: RESOLVED DUPLICATE of bug 7781
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 15:01 UTC by alexandros
Modified: 2008-11-07 15:14 UTC (History)
0 users

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 alexandros 2008-11-07 15:01:35 UTC
--Instead of using package-class names inside the initComponents() method, like:
setCursor(new java.awt.Cursor(java.awt.Cursor.W_RESIZE_CURSOR));
--Use this:
import java.awt.Cursor;
...
setCursor(new Cursor(Cursor.W_RESIZE_CURSOR));
--Or let the user decide
Comment 1 Jan Stola 2008-11-07 15:14:08 UTC
This has been implemented already in NetBeans 6.5. See issue 7781.

*** This issue has been marked as a duplicate of 7781 ***