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 149308 - class completion has two stages
Summary: class completion has two stages
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-07 02:50 UTC by Lark Fitzgerald
Modified: 2008-10-27 11:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image of double Stages & javadoc (201.62 KB, image/jpeg)
2008-10-07 02:51 UTC, Lark Fitzgerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2008-10-07 02:50:42 UTC
Tested using FX Cont trunk build 308 with SDK:
            Product: javafx-1.0dev
            Platform: windows-i586
            Build-Number: 609
            Build-ID: 2008-10-06_07-52-30 on NB6.5: 
Product Version: NetBeans IDE Dev (Build 200810060201)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)


1. new file
2. type:
import javafx.stage.Stage;

class Foo extends Stage {
    
}
3. position curser after 'extends Stage' and press ctrl+space
Get list of classed (attached image).  There are two stages.
Comment 1 Lark Fitzgerald 2008-10-07 02:51:42 UTC
Created attachment 71246 [details]
image of double Stages & javadoc
Comment 2 David Strupl 2008-10-09 14:39:13 UTC
Aha - the problem is that we show one item for the already imported class and one item for the class from the list of
all (potentially unimported classes).
Comment 3 Lark Fitzgerald 2008-10-24 20:28:48 UTC
This is no longer reproducible using:
Product Version: NetBeans IDE 6.5 RC1 (Build 200810171318)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Promoted Installer build 13 contains SDK 43
Comment 4 Alexandr Scherbatiy 2008-10-27 11:01:05 UTC
verified in 2008-10-27_03-01-09.zip