The menu lays behind the scrollPane ! WHY ?
Hi,
I use the Swing components the first time ... and here is my problem:
My JFrame contains a menu bar and a JScrollPane. When I use the menu (pull down) it lays behind the scrollPane. What must I do that the menu
lays ahead of the scrollPane?
Thanks a lot!
Re: The menu lays behind the scrollPane ! WHY ?
hai,
The problem is because of the Heavy weight and light weight components.
JScrollPane by default come with light weight,
There is an option in the Menu, menubar which ill make the component light or heavy.
Plz. check the api. for further det.
-bharath
S.V Bharath Reddy
Software Engineer,
Hyderabad.