This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Im creating a simple application where when I cklick on a button its load a JInternalFrame and show it up on the CENTER of my getContentPane() using BorderLayout. But the problem is that its only appear when I resize the main form.... Im using setVisible(true) on the constructor but its not working. See:
1. A JInternalFrame is designed to be contained in a JDesktopPane.
2. Whenever adding/removing components to/from an already realized container, it is always necessary to revalidate() the container, and usually also to repaint() it.
That revalidation and repainting is triggered when you resize the window.
There are no new questions, but there may be new answers.