Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
TestFrame Class Reference

List of all members.

Public Member Functions

 TestFrame ()
void actionPerformed (ActionEvent e)

Detailed Description

Definition at line 5 of file TestFrame.java.


Constructor & Destructor Documentation

TestFrame.TestFrame ( ) [inline]

Definition at line 7 of file TestFrame.java.

       {
              Container pane =  getContentPane();
              pane.setLayout(new BorderLayout());
              TestPanel tPanel = new TestPanel();
              pane.add("Center", tPanel);
              Button closeBtn = new Button("Close");
              closeBtn.addActionListener(this);
              Panel bottomPanel = new Panel();
              bottomPanel.setLayout(new FlowLayout());
              bottomPanel.add(closeBtn);
              pane.add("South", bottomPanel);
              pack();
       }

Member Function Documentation

void TestFrame.actionPerformed ( ActionEvent  e) [inline]

Definition at line 22 of file TestFrame.java.

       {
              setVisible(false);
       }

The documentation for this class was generated from the following file: