summaryrefslogtreecommitdiff
path: root/BKUCommonGUI/src/main/java/at/gv
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-03-10 10:37:45 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-03-10 10:37:45 +0000
commitd20bfd8b45e0a83773a12a649aa7ba0aaf58e649 (patch)
tree603a56c5d913fa7e3794179ff7b8d030aa6d186b /BKUCommonGUI/src/main/java/at/gv
parentf095a6dcd1e36beaf828a7c5da934d7c50529b48 (diff)
downloadmocca-d20bfd8b45e0a83773a12a649aa7ba0aaf58e649.tar.gz
mocca-d20bfd8b45e0a83773a12a649aa7ba0aaf58e649.tar.bz2
mocca-d20bfd8b45e0a83773a12a649aa7ba0aaf58e649.zip
bug: showMessageDialog(key, param, listener, null) does not display OK button
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@315 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUCommonGUI/src/main/java/at/gv')
-rw-r--r--BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/BKUGUIImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/BKUGUIImpl.java b/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/BKUGUIImpl.java
index d6c96627..6a1f2aad 100644
--- a/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/BKUGUIImpl.java
+++ b/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/BKUGUIImpl.java
@@ -970,7 +970,7 @@ public class BKUGUIImpl implements BKUGUIFacade {
mainPanelLayout.setVerticalGroup(mainVertical
.addComponent(msgLabel));
- if (okListener != null && okCommand != null) {
+ if (okListener != null) {
JButton okButton = new JButton();
okButton.setFont(okButton.getFont().deriveFont(okButton.getFont().getStyle() & ~java.awt.Font.BOLD));
okButton.setText(getMessage(BUTTON_OK));