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 155653

Summary: Fix imports adds imports for defined classes
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: J Bachorik <yardus>
Status: VERIFIED FIXED    
Severity: blocker Keywords: RELNOTE
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 158720    

Description Alexandr Scherbatiy 2008-12-17 13:42:45 UTC
Steps to reproduce:

- Create a JavaFX Script file:
-------------------------------------------------------
class TableColumn{
    public var text: String;
}

class TableCell{
    public var text: String;
}

class TableRow{
    public var cells: TableCell[];
}

class SwingTable extends SwingComponent{
}
-------------------------------------------------------

- Fix imports
  The following imports will be added:
-------------------------------------------------------
import javafx.ext.swing.SwingComponent;
import javax.swing.text.TableView.TableCell;
-------------------------------------------------------

Note that 'TableCell' class is defined in the JavaFX file
and this import should not be added.
Comment 1 David Strupl 2008-12-17 13:43:33 UTC
fix imports --> Rasta.
Comment 2 Rastislav Komara 2009-01-30 11:53:28 UTC
Moving to future.
Comment 3 Rastislav Komara 2009-03-02 10:17:33 UTC
reassigning to new owner.
Comment 4 J Bachorik 2009-04-07 14:47:06 UTC
should be fixed in http://hg.netbeans.org/javafx/rev/43957e2c6f7a
Comment 5 Alexandr Scherbatiy 2009-04-15 11:17:52 UTC
verified