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 - [65cat] Duplicate java editor hints - distinguish between class/class w ctor
Summary: [65cat] Duplicate java editor hints - distinguish between class/class w ctor
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker with 1 vote (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-20 08:23 UTC by karmagfa
Modified: 2016-07-07 07:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of a duplicated hint (115.46 KB, image/png)
2008-08-20 16:37 UTC, karmagfa
Details
Hint with 3 lines (6.30 KB, image/gif)
2008-09-04 09:49 UTC, pribyl
Details

Note You need to log in before you can comment on or make changes to this bug.
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