Closed Bug 4271 Opened 26 years ago Closed 26 years ago

Position of MenuItems: Incorrect position of submenus when window is moved

Categories

(Core Graveyard :: Java: OJI, defect, P3)

PowerPC
Mac System 8.0
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Hemant.Inamdar, Assigned: beard)

Details

Position of MenuItems: when a window with menus (JMenu) inherited from JFrame is created and made visible, the sub menus (menuitems) are positioned correctly if the window position is not changed. The window is now positioned to lets say towards the right and towards the bottom of the screen. If any of the menu items are selected, the submenus come up at a position which is offseted towards the right and bottom of the position where they should be actually visible (which is right below the menuitem). There was a bug in MRJ too about this but Apple subsequently fixed it. (Apple bug # 2287924) The above behavior is seen with all version of the Swing classes (JFC). (both 1.0 and 1.1)
Assignee: amusil → beard
QA Contact: 4082 → 4386
Status: NEW → ASSIGNED
Took a look at Apple's bug, and was able to fix by calling ::JMSetFrameSize() whenever a frame is moved around. Should be fixed in 1.0d6.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Target Milestone: M5
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.