mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 03:30:17 +01:00
17 lines
275 B
Java
17 lines
275 B
Java
|
import java.awt.*;
|
||
|
import java.awt.event.*;
|
||
|
import javax.swing.*;
|
||
|
|
||
|
public class TestPanel extends JPanel
|
||
|
{
|
||
|
public TestPanel()
|
||
|
{
|
||
|
setLayout(new GridLayout(3,2));
|
||
|
for(int ctr=1; ctr<=3; ctr++ )
|
||
|
{
|
||
|
add( new JLabel("Label " + ctr));
|
||
|
add( new JTextField());
|
||
|
}
|
||
|
}
|
||
|
}
|