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

Summary: Use import statements instead of full package-class names
Product: guibuilder Reporter: alexandros <alexandros>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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 ***