• Member Avatar
    Geanna Afera

    Gave Reputation to John_165 in My GUI displays an empty window with only its title. Help.

    I got null pointer exception because you did not initialize frame. `frame = new JFrame();`
  • Member Avatar
    Geanna Afera

    Created My GUI displays an empty window with only its title. Help.

    public class BusPayment extends JFrame{ private JButton paynow; private JButton cancel; private JComboBox<String> jComboBox1; private JFrame frame; private JLabel label1, label2, label3, label4; private JPanel panel1, panel2,panel3; private JRadioButton destination1; …
  • Member Avatar
    Geanna Afera

    Replied To a Post in My GUI displays an empty window with only its title. Help.

    public class BusPayment extends JFrame{ private JButton paynow; private JButton cancel; private JComboBox<String> jComboBox1; private JFrame frame; private JLabel label1, label2, label3, label4; private JPanel panel1, panel2,panel3; private JRadioButton destination1; …
  • Member Avatar
    Geanna Afera

    Began Watching My GUI displays an empty window with only its title. Help.

    public class BusPayment extends JFrame{ private JButton paynow; private JButton cancel; private JComboBox<String> jComboBox1; private JFrame frame; private JLabel label1, label2, label3, label4; private JPanel panel1, panel2,panel3; private JRadioButton destination1; …

The End.