Please Help me out.. Urgent

problem 1: I would like the corrresponding classes(of JPanel, which are added to each JTabbedPane) to be loaded everytime I switch between JTabbedpanes.

problem 2: overlapping of Components(like Choice) of JPanels which I embedded in each JTabbedPane.

problem 3: I have inserted the return values of the ResultSet in a Table. The code for which is written in ActionPerformed method of JComboBox. So when I select the value from the Combobox, the actionPerformed is called and the return value of the ResultSet changes and correspondingly a new table is created and added at the exact place of previous table. But my problem is the previous table is not getting refreshed...

Both tables are getting overlapped and the display is not proper.

[764 byte] By [cvinodka] at [2007-10-3 10:13:21]
# 1
And you want us to do this for you?
CaptainMorgan08a at 2007-7-15 5:33:41 > top of Java-index,Desktop,Core GUI APIs...
# 2

"Urgent" provides no useful information related to your problem, so don't use it.

1) Don't really understand the question, but you can use a ChangeListener to be notified when a different tab is selected.

2) Again, I don't really understand the question, but don't use AWT (Choice) components in a Swing application. Use a JComboBox.

3) Don't change the table, change the model, but using table.setModel() and it will repaint itself automatically.

camickra at 2007-7-15 5:33:41 > top of Java-index,Desktop,Core GUI APIs...