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 258987

Summary: Jcombobox - redraw issue
Product: editor Reporter: lanthale
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: RESOLVED WORKSFORME    
Severity: normal CC: lanthale
Priority: P1    
Version: 8.1   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot showing the issue inside of the GUI editor
Same issue inside of the code editor showing auto completion

Description lanthale 2016-04-23 16:38:33 UTC
Created attachment 159409 [details]
Screenshot showing the issue inside of the GUI editor

Every JCombobox in the netbeans IDE has a redraw issue. That means if you have a dialog such as in the GUI editor and you click on it upcoming box where the items should be seen is empty. Only after you move your mouse over it or press a key the items are shown.

See attachments from the GUI editor. I have checked with a standard swing application if the issue is existing in the JDK but it seems it is a netbeans only issue. As an attachment I have added the screenshot from the IDE.

There are many other issues like this since JDK 8 and Netbeans 8. Hopefully it is getting better. For example displaying a JDialog is inside of a RCP application no longer possible because of redraw issues.

This issue is easy to reproduce and will be fixed hopefully soon. Maybe other issues are fixed with that also.
Comment 1 lanthale 2016-04-23 16:39:39 UTC
Raised Priority because it exists since Netbeans 7/JDK7.
Comment 2 lanthale 2016-04-24 12:03:57 UTC
Created attachment 159416 [details]
Same issue inside of the code editor showing auto completion
Comment 3 Dusan Balek 2016-05-18 13:25:56 UTC
Unfortunately, I cannot reproduce the problem. Since there are no more similar reports for such a widely used feature like code completion, I guess it is a problem of your system/JDK version. Could you please try to run NB on different JDK version? Thanks.