FileDocCategorySizeDatePackage
FileTable2.javaAPI DocExample882Thu Oct 24 20:14:24 BST 2002None

FileTable2

public class FileTable2 extends JFrame

Fields Summary
Constructors Summary
public FileTable2()

    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);
    jt.setDefaultRenderer(Number.class, new BigRenderer(1000));

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

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