|
|
|
@ -42,9 +42,6 @@ public class NotificationDialog extends JDialog {
|
|
|
|
|
|
|
|
|
|
public NotificationDialog(Frame owner, String title, boolean isModal, int messageType, String message, NotificationDialogAction action) { |
|
|
|
|
super(owner); |
|
|
|
|
setFocusable(false); |
|
|
|
|
setAutoRequestFocus(false); |
|
|
|
|
setResizable(false); |
|
|
|
|
setTitle(title); |
|
|
|
|
initComponents(messageType, message, isModal, action); |
|
|
|
|
} |
|
|
|
@ -59,6 +56,9 @@ public class NotificationDialog extends JDialog {
|
|
|
|
|
NotificationCenter.getInstance().addNotification(new Notification(messageType, message, action)); |
|
|
|
|
notificationDialogAction = action; |
|
|
|
|
setModal(isModal); |
|
|
|
|
setFocusable(false); |
|
|
|
|
setAutoRequestFocus(false); |
|
|
|
|
setResizable(false); |
|
|
|
|
JPanel body = FRGUIPaneFactory.createBorderLayout_L_Pane(); |
|
|
|
|
body.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); |
|
|
|
|
|
|
|
|
|