All pastes #450308 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-20 19:16 UTC
rendered paste body
private void initGUI() {
    try {
      BorderLayout thisLayout = new BorderLayout();
      getContentPane().setLayout(thisLayout);
      setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
      {
        this.setVisible(true);
        this.setTitle("Add Customer");
        jPanel1 = new JPanel();
        getContentPane().add(jPanel1, BorderLayout.CENTER);
        jPanel1.setPreferredSize(new java.awt.Dimension(437, 484));
        jPanel1.setSize(500, 500);

        EnterCustomer cust = new EnterCustomer();
        jPanel1.add(cust);
...
}

 public void actionPerformed(ActionEvent evt) {
	makeCustomer()
}

private static Customer makeCustomer(){

//TODO get the customer fields from the EnterCustomer Screen which has methods getXYZ

}