Forums Register Login

JTabbedPane Refresh issue

+Pie Number of slices to send: Send
Hi all.
I am trying to implement JTabbedPane. In the following code I have presented a case very similar to what I want to implement. I have created a tab by adding a JPanel to the JTabbedPane. I have added a JButton and JScrollPane to the JPanel. On click of the JButton I want to add a new JPanel having some JRadioButtons to the JScrollPane. But these are not shown even after refreshing the JScrollPane or main JPanel. Please help. The code is given below:

+Pie Number of slices to send: Send
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1498 times.
Similar Threads
Problem with JRadioButton
Getting a RadioButton input
Problem with radio button
problems w/ JCheckBox's and TableModel
JTextField in JScrollPane
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:10:40.