import javax.swing.*;
import java.awt.*;
public class demo_7
{
public static void main(String[] args)
{
demo_7_1 test=new demo_7_1();
}
}
class demo_7_1 extends JFrame
{
GridBagLayout
gridbaglayout=new GridBagLayout();
GridBagConstraints
gridbagconstraints;
GridBagConstraints
gridbagconstraints1;
JPanel jp;
JButton jbutton1;
JButton jbutton2;
JButton jbutton3;
JButton jbutton4;
JButton jbutton5;
JButton jbutton6;
JButton jbutton7;
public demo_7_1()
{
this.setVisible(true);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setBounds(0,0,400,300);
jp=new JPanel();
this.setContentPane(jp);
gridbagconstraints=new GridBagConstraints();
this.getButton();
}
public void getButton()
{
jbutton1=new JButton("jbutton1");
jbutton2=new JButton("jbutton2");
jbutton3=new JButton("jbutton3");
jbutton4=new JButton("jbutton4");
jbutton5=new JButton("jbutton5");
jbutton6=new JButton("jbutton6");
jbutton7=new JButton("jbutton7");
}
public void gridbagconstraints1()
{
gridbagconstraints1=new GridBagConstraints();
}
}