|
-
October 21st, 1999, 06:32 AM
#1
really need an example of default table model ...
Help. I am stuck.
I want to implement a JTable which can addrows to it.
From
http://java.sun.com/products/jfc/swi...ableModel.html
only contain the API.
i have look around but still cannot find any examples.
import java.util.Vector;
//import javax.swing.*;
//import javax.swing.table.AbstractTableModel;
import javax.swing.table.DefaultTableModel;
import javax.swing.event.TableModelEvent;
what should i put inside this class ?
public class TModel extends DefaultTableModel {
Vector data = new Vector();
}
http://members.xoom.com/lookads
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|