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 247443 - Menu buttons expand upwards instead of dropping down, when clicked on
Summary: Menu buttons expand upwards instead of dropping down, when clicked on
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
Depends on:
Reported: 2014-09-24 12:31 UTC by faa77
Modified: 2016-09-19 15:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Screenshot (301.08 KB, image/png)
2016-09-19 11:01 UTC, alexgobbo

Note You need to log in before you can comment on or make changes to this bug.
Description faa77 2014-09-24 12:31:55 UTC
I am on Scientific Linux, 64 bit, JDK 7, Netbeans 8.0.1

When I click on the Menu buttons (File, Edit, View, Navigate etc) the menu expands upwards, instead of dropping down.
Comment 1 faa77 2014-09-24 13:16:46 UTC
To be more precise I have JDK 1.7.0_65

OpenJDK Runtime Environment (rhel-

I should also point out, after I installed JDK 7 I had a problem installing (the X-display environment variable). As part of this solution I installed JDK6 but never got round to modifying the version being used. So I currently have JDK6 and 7 on my system, but 7 is the one being used.
Comment 2 faa77 2014-09-24 15:52:35 UTC
Have uninstalled JDK 1.6 and 1.7, re-installed netbeans. Still get the problem.

Another point, during the original Netbeans installation I received this error message:

Can't connect to X11 window server using 'local_host:0.0' as the value of the DISPLAY variable. 

To fix this I set the DISPLAY variable to Display=:0 and this allowed the installation to continue.
Comment 3 Martin Balin 2016-07-07 07:26:02 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
Comment 4 alexgobbo 2016-09-19 11:01:57 UTC
Created attachment 162109 [details]
Comment 5 alexgobbo 2016-09-19 11:03:06 UTC
This is a Swing issue on Scientific Linux (and other Linuxes) having quad monitors setup. In this case ALL Swing applications expand menus upwards.
Comment 6 Miloslav Metelka 2016-09-19 15:19:15 UTC
Reassigning to JDK problems component for further evaluation.