1 /***
2 *
3 */
4 package org.telscenter.pas.ui.dialog;
5
6 import javax.swing.BorderFactory;
7 import javax.swing.JPanel;
8
9 import org.telscenter.pas.common.ui.layouts.EqualsLayout;
10 import org.telscenter.pas.steps.actions.DialogSaveAction;
11
12
13 /***
14 * @author anthonyperritano
15 *
16 */
17 public class PasErrorMessageDialogUI extends PasMessageDialogUI {
18
19 /***
20 *
21 */
22 public PasErrorMessageDialogUI() {
23 super();
24
25 }
26
27 protected void arrangeButtons() {
28 buttonPanel = new JPanel(new EqualsLayout(
29 EqualsLayout.HORIZONTAL, EqualsLayout.RIGHT, 1));
30 buttonPanel.add(okButton);
31 buttonPanel.setBorder(BorderFactory.createEmptyBorder(5, 0, 5, 5));
32 buttonPanel.setOpaque(false);
33 }
34 protected void addButtonActions() {
35
36 getOkButton().setAction(new DialogSaveAction("OK"));
37
38 }
39 }