Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Package Attributes
TestApplet Class Reference
Collaboration diagram for TestApplet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void init ()
void actionPerformed (ActionEvent e)

Package Attributes

TestFrame tFrame

Detailed Description

Definition at line 6 of file TestApplet.java.


Member Function Documentation

void TestApplet.actionPerformed ( ActionEvent  e) [inline]

Definition at line 26 of file TestApplet.java.

       {
              tFrame.setVisible(true);
//            tFrame.dispose();
       }
void TestApplet.init ( ) [inline]

Definition at line 10 of file TestApplet.java.

       {
              getContentPane().setLayout(new BorderLayout());
              TestPanel tPanel = new TestPanel();
              getContentPane().add("Center", tPanel);

              Button showBtn = new Button("Show");
              showBtn.addActionListener(this);
              Panel bottomPanel = new Panel();
              bottomPanel.setLayout(new FlowLayout());
              bottomPanel.add(showBtn);
              getContentPane().add("South", bottomPanel);

              tFrame = new TestFrame();
       }

Member Data Documentation

Definition at line 8 of file TestApplet.java.


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