layout.setConstraint(
cancelButton,
new FrameConstraint(0.5, 5, 1.0, -35, 0.5, 80, 1.0, -10));
cancelButton.setActionCommand("cancelPressed");
cancelButton.addActionListener(this);
cancelButton.grabFocus();
add(cancelButton);
JButton okButton = new JButton("OK");
layout.setConstraint(
okButton,