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 - Jcombobox - redraw issue
Summary: Jcombobox - redraw issue
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P1 normal with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-23 16:38 UTC by lanthale
Modified: 2016-05-18 13:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot showing the issue inside of the GUI editor (512.59 KB, image/png)
2016-04-23 16:38 UTC, lanthale
Details
Same issue inside of the code editor showing auto completion (1.66 MB, image/png)
2016-04-24 12:03 UTC, lanthale
Details

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