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 144533

Summary: [65cat] Duplicate java editor hints - distinguish between class/class w ctor
Product: java Reporter: karmagfa <karmagfa>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED WONTFIX    
Severity: blocker CC: pribyl
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot of a duplicated hint
Hint with 3 lines

Description karmagfa 2008-08-20 08:23:31 UTC
[ BUILD # : 200808191401 ]
[ JDK VERSION : 1.6.0_07 ]

Sometimes, the hint in the java editor is duplicated.

On the attached screenshot, it appeared while proposing to create a
class.
Comment 1 karmagfa 2008-08-20 16:37:53 UTC
Created attachment 67961 [details]
screenshot of a duplicated hint
Comment 2 pribyl 2008-09-04 09:48:11 UTC
Product Version: NetBeans IDE Dev (Build 200809040201)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b15
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)

It is possible to make it triple (see screenshot)

Just add line:  
NonExistingClass nec = new NonExistingClass();    

Or something like that :)

Comment 3 pribyl 2008-09-04 09:49:29 UTC
Created attachment 69026 [details]
Hint with 3 lines
Comment 4 Max Sauer 2008-11-25 13:27:36 UTC
Triple is not available at the moment, I've added some code which prevents this recently. The other two are not the same hints -- one of then creates just 
the class and the other one creates class with constructor. However, these two should be distinguishable.
Comment 5 Martin Balin 2016-07-07 07:18:56 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss