Puts the panel's widgets on the panel
setLayout(null);
{ // check boxes
cb_group = new CheckboxGroup();
checking_cb = new Checkbox("Checking", cb_group, false);
checking_cb.enable(false);
checking_cb.reshape(12,12,84,24);
add(checking_cb);
savings_cb = new Checkbox("Savings", cb_group, false);
savings_cb.enable(false);
savings_cb.reshape(12,48,84,24);
add(savings_cb);
}
{ // ID
id_label = new Label("Account ID:",Label.RIGHT);
id_label.reshape(96,12,88,24);
add(id_label);
id_field = new TextField();
id_field.setEditable(false);
id_field.reshape(192,12,124,28);
add(id_field);
}
{ // balance
balance_label = new Label("Balance:",Label.RIGHT);
balance_label.reshape(108,48,76,24);
add(balance_label);
balance_field = new TextField();
balance_field.setEditable(false);
balance_field.reshape(192,48,124,24);
add(balance_field);
}
refresh();