void init() { gridbag = new GridBagLayout(); setLayout(gridbag); c = new GridBagConstraints(); c.weightx = 1.0; c.fill = GridBagConstraints.BOTH; makeButtons(); }