Back to index

lightning-sunbird  0.9+nobinonly
TestPanel.java
Go to the documentation of this file.
00001 import java.awt.*;
00002 import java.awt.event.*;
00003 import javax.swing.*;
00004 
00005 public class TestPanel extends JPanel 
00006 {
00007        public TestPanel()
00008        {
00009               setLayout(new GridLayout(3,2));
00010               for(int ctr=1; ctr<=3; ctr++ )
00011               {
00012                      add( new JLabel("Label " + ctr));
00013                      add( new JTextField());
00014               }
00015        }
00016 }