FileDocCategorySizeDatePackage
TabbedPages.javaAPI DocExample2155Sat Sep 12 03:01:00 BST 1998None

TabbedPages

public class TabbedPages extends BevelPanel

Fields Summary
XYLayout
xYLayout1
TabsetPanel
tabsetPanel1
Panel
panel1
Button
ok
Button
cancel
Constructors Summary
public TabbedPages()


    
    try {
      jbInit();
    }
    catch (Exception e) {
      e.printStackTrace();
    }
  
Methods Summary
voidcancel_actionPerformed(java.awt.event.ActionEvent e)

  
private voidjbInit()

    xYLayout1.setWidth(389);
    xYLayout1.setHeight(228);
    tabsetPanel1.setLabels(new String[] {"TabSheet1", "TabSheet2", "TabSheet3"});
    ok.setLabel("OK");
    ok.addActionListener(new TabbedPages_ok_actionAdapter(this));
    cancel.setLabel("Cancel");
    cancel.addActionListener(new TabbedPages_cancel_actionAdapter(this));
    this.setLayout(xYLayout1);
    this.add(tabsetPanel1, new XYConstraints(10, 5, 367, 178));
    this.add(ok, new XYConstraints(79, 188, 97, 31));
    this.add(cancel, new XYConstraints(192, 188, 97, 31));
  
public static voidmain(java.lang.String[] argv)

    DecoratedFrame frame = new DecoratedFrame();
    TabbedPages tp = new TabbedPages();
    frame.add(tp);
    frame.pack();
    frame.show();
  
voidok_actionPerformed(java.awt.event.ActionEvent e)