How To Delete Columns In JTable?
807588Mar 9 2009 — edited Mar 11 2009Hi,
I created a JTable and added values through DefaultTableModel. I Have JButton to add columns if need. I have another JButton to remove columns by entering the columns header.. eg: If there are three columns like A,B,C, If i need to remove column "C" means. I just click the remove button and enter the column header in the dilaog box eg: "C". and the columns will deleted. It is working properly. but if i add a new column means the removed columns also getting added and the datas are also in that same column. how delete a column and it's data in a single shot.
How to add network drivers in a save as dialog box. I have using my code in Windows and also in mac os.
Thanks in Advance
by,
Mohan