aspose file tools
The moose likes Swing / AWT / SWT and the fly likes JTable and how to add a column Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "JTable and how to add a column" Watch "JTable and how to add a column" New topic
Author

JTable and how to add a column

Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1831
Hi ,
I have a String array which i have to JTable. Any ideas as to how to put it into the JTable
deekasha gunwant
Ranch Hand

Joined: May 06, 2000
Posts: 396
Hi rahul,
DefaultTableModel class has got a method for inserting a column.u can try it out.method is

public void addColumn(Object columnName,Object[] columnData)

regards
deeksha
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JTable and how to add a column
 
Similar Threads
JTable
JTable
jtable
JTable
JTable