On my computer, JMenus and especially nested JMenus appear on wrong locations, sometimes shifted right across the screen. Tested with gcc-4.0-20050130 snapshot and current cvs gui-branch-20050128 checkout (as of 2005.02.09).
Note: this problem may be WindowManager dependent; I used ctwm on XFree 4.3. Testcase: please compile and run the program I submitted for bug 19862 (InteractiveCalculator.java) and try the menus. The problem also concerns JPopupMenus, for a testcase see the program I attached to http://gcc.gnu.org/ml/java/2005-02/msg00016.html. -- Summary: Swing JMenus appear at wrong locations Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: SWING AssignedTo: graydon at redhat dot com ReportedBy: hendrich at informatik dot uni-hamburg dot de CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19863