summaryrefslogtreecommitdiff
path: root/smccSTAL/src/main/java
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-11-10 15:30:16 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-11-10 15:30:16 +0000
commitcaca721368d8c24559b1cd5ea2018884b4874f6b (patch)
treed9e1e07cc52120a39001d03db5813390c1d6264c /smccSTAL/src/main/java
parentd05668097eb126b4a8a7a88a17c1a8e6b7778521 (diff)
downloadmocca-caca721368d8c24559b1cd5ea2018884b4874f6b.tar.gz
mocca-caca721368d8c24559b1cd5ea2018884b4874f6b.tar.bz2
mocca-caca721368d8c24559b1cd5ea2018884b4874f6b.zip
Removed switchFocusListener due to problem with viewer/help dialogs on Firefox/Mac
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@539 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smccSTAL/src/main/java')
-rw-r--r--smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractPINProvider.java4
-rw-r--r--smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/PINProviderFactory.java5
2 files changed, 7 insertions, 2 deletions
diff --git a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractPINProvider.java b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractPINProvider.java
index e2499023..bc52c955 100644
--- a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractPINProvider.java
+++ b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractPINProvider.java
@@ -47,7 +47,7 @@ public abstract class AbstractPINProvider implements PINProvider, ActionListener
this.wait();
}
} catch (InterruptedException e) {
- log.error("interrupt in waitForAction");
+ log.error("[" + Thread.currentThread().getName() + "] interrupt in waitForAction");
throw e;
}
actionPerformed = false;
@@ -60,7 +60,7 @@ public abstract class AbstractPINProvider implements PINProvider, ActionListener
@Override
public void actionPerformed(ActionEvent e) {
- log.debug("command " + e.getActionCommand());
+ log.debug("[" + Thread.currentThread().getName() + "] action performed - " + e.getActionCommand());
action = e.getActionCommand();
actionPerformed();
}
diff --git a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/PINProviderFactory.java b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/PINProviderFactory.java
index 543fbb3a..e5afe0ae 100644
--- a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/PINProviderFactory.java
+++ b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/PINProviderFactory.java
@@ -116,7 +116,9 @@ public class PINProviderFactory {
this, "secureViewer");
do {
+ log.debug("[" + Thread.currentThread().getName() + "] wait for action");
waitForAction();
+ log.debug("[" + Thread.currentThread().getName() + "] received action");
if ("secureViewer".equals(action)) {
try {
@@ -169,6 +171,7 @@ public class PINProviderFactory {
this, "ok",
this, "cancel");
+ log.debug("[" + Thread.currentThread().getName() + "] wait for action");
waitForAction();
gui.showMessageDialog(BKUGUIFacade.TITLE_WAIT,
@@ -216,7 +219,9 @@ public class PINProviderFactory {
PinpadSignaturePinProvider.this, "secureViewer");
while (true) {
+ log.debug("[" + Thread.currentThread().getName() + "] wait for action");
waitForAction();
+ log.debug("[" + Thread.currentThread().getName() + "] received action");
if ("secureViewer".equals(action)) {
viewer.displayDataToBeSigned(signedInfo,