Creates a new ConstraintGUIDemo object.
setModal(true);
final Container contentPane = getContentPane();
contentPane.setLayout(new GridLayout(3, 1));
JLabel interestRateLabel =
new JLabel("Enter an Interst Rate (Between "
+ LiabilityAccount.INTEREST_RATE_CONSTRAINT.getMinValue()
+ " and "
+ LiabilityAccount.INTEREST_RATE_CONSTRAINT.getMaxValue() + ")");
contentPane.add(interestRateLabel);
interestRateField = new JTextField(15);
contentPane.add(interestRateField);
okBtn = new JButton("OK");
okBtn.addActionListener(this);
contentPane.add(okBtn);
pack();