我需要创建一个Class CustApp:
到目前为止,我有这段代码,但我无法弄清楚如何定义属性。
public class CustApp {
public static void main(String[] args) {
Customer c = new Customer();
c.setBounds(62, 65, 176, 23);
c.setBounds(62, 120, 176, 23);
c.setBounds(62, 175, 176, 23);
c.setBounds(62, 230, 176, 23);
c.setText(c.getCustName());
c.setText(c.getShipToStreet());
c.setText(c.getShipToCity() + ", " + c.getShipToState() + " " + c.getShipToZip());
c.setText(c.getContactPerson() + " Ph: " + c.getContactPhone());
CustFrame cf = new CustFrame(c);
}
}