The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

the components don't show up when selecting the menu item

Posted by sunny on February 16, 2001 at 3:06 AM

i have constructed a JFrame with a JMenuBar on it. when i click a item

on the menubar i should see some components on the JFrame. i have added

a JPanel to the JFrame and added the components to the JPanel. the

problem is that when i click on the menu item i am not able to see the

components. but when i maximize or resize the frame the components

appear. why does this happen. what is the solution for this?



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us