Place your table in a JPanel and use for the panel CardLayout
How to make entire Jtable invisible in Swing?
Domanda
I have two tables in Single Jframe. I want to hide one table and show the other one and again hide the previous one and set visible the other one.
I have tried upload.jTable1.setVisible(false);
but its is not Working. Any input?
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow