Hi,
Hoping to get some suggestions or pointers.
How do I make the menubar behave like MS windows fashion, when the window is resized. Perhaps one of the following behaviour.
1. A scroll arrow thing appears, if all the menus cannot be displayed - IE
2. The menu's wrap into the next row - Visual InterDev, Notepad
3. or even, only the left-most menus are displayed, if there is not enough room.
I have looked at Javadocs and
java sources, the only way seems to be to pass the menubar your own layout manager object(GridbagLayout is probabely most appropriate), but that is gonna be a bit of a hassle, i want to leave that as the last choice.
Would Eclipse's SWT library be better at this kind of thing?
thanks
Sandeep