Hi
All,
I have a JFrame say
its name is frame.
frame has a
JPanel say topJPanel.
topJPanel has a
JPanel say northJPanel in NORTH and a JPanel say centerJPanel in
CENTER.
On click of a button
of northJPanel I create a JTabbedPane say tabbedPane and add it to
centerJPanel.
But it doesn't shows
up. When I maximize or minimize the frame then only it is visible. I am using
setVisible(true) in every JPanel and JTabbedPane class.
In the end I called
setVisible(true) of frame and it worked fine.
Does it mean I need
to always call the topmost containers setVisible(true)
method?
Thanks & Regards
Bhushan Bhangale
Sr. Software Engineer
Fusion Infotech India Private Ltd.
Ph. no. - 1-212-641-6932 (O)
Bhushan Bhangale
Sr. Software Engineer
Fusion Infotech India Private Ltd.
Ph. no. - 1-212-641-6932 (O)
"The information in this e-mail, and any attachment therein, is
confidential and for use by the addressee only. If you are not the
intended recipient, please return the e-mail to the sender and delete
it from your computer. Although The Bank of New York attempts to
sweep e-mail and attachments for viruses, it does not guarantee that
either are virus-free and accepts no liability for any damage sustained
as a result of viruses."
