CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    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!



  2. #2
    Join Date
    Apr 2000
    Location
    Hyderabad, India
    Posts
    23

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured