mainRow.setInsets(new Insets(new JbsExtent(5), new JbsExtent(5)));
btnOK = new JbsButton(JbsL10N.getString("Generic.ok"));
btnOK.setAlignmentHorizontal(Alignment.CENTER);
btnOK.setWidth(new JbsExtent(80));
btnOK.addActionListener(new ActionListener() {
private static final long serialVersionUID = 1L;
public void actionPerformed(ActionEvent arg0) {
postDialog();
}
});
mainRow.add(btnOK);
btnCancel = new JbsButton(JbsL10N.getString("Generic.cancel"));
btnCancel.setAlignmentHorizontal(Alignment.CENTER);
btnCancel.setWidth(new JbsExtent(80));
btnCancel.addActionListener(new ActionListener() {
private static final long serialVersionUID = 1L;
public void actionPerformed(ActionEvent arg0) {
cancelDialog();