FileDocCategorySizeDatePackage
FileTable.javaAPI DocExample702Thu Oct 24 20:14:24 BST 2002None

FileTable

public class FileTable extends JFrame

Fields Summary
Constructors Summary
public FileTable()

    super("Custom TableModel Test");
    setSize(300, 200);
    setDefaultCloseOperation(EXIT_ON_CLOSE);

    FileModel fm = new FileModel();
    JTable jt = new JTable(fm);
    jt.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    jt.setColumnSelectionAllowed(true);

    JScrollPane jsp = new JScrollPane(jt);
    getContentPane().add(jsp, BorderLayout.CENTER);
  
Methods Summary
public static voidmain(java.lang.String[] args)

    FileTable ft = new FileTable();
    ft.setVisible(true);