FileDocCategorySizeDatePackage
PagingTester.javaAPI DocExample652Mon Nov 09 12:45:50 GMT 1998None

PagingTester

public class PagingTester extends JFrame

Fields Summary
Constructors Summary
public PagingTester()

    super("Paged JTable Test");
    setSize(300, 200);
    addWindowListener(new BasicWindowMonitor());
    
    PagingModel pm = new PagingModel();
    JTable jt = new JTable(pm);

    // Use our own custom scrollpane.
    JScrollPane jsp = PagingModel.createPagingScrollPaneForTable(jt);
    getContentPane().add(jsp, BorderLayout.CENTER);
  
Methods Summary
public static voidmain(java.lang.String[] args)

    PagingTester pt = new PagingTester();
    pt.setVisible(true);