summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-11-03 14:19:39 +0100
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-11-03 14:19:39 +0100
commitb11cf1b59aa403a63f5fcaf47bf7c755780ba79a (patch)
tree02b6dce3d95899bf8704d2342e852e6b7c6fbcea /pdf-over-gui/src/main/java/at
parentc5c829fea00057499f6818d450f849ac255c2f10 (diff)
downloadpdf-over-b11cf1b59aa403a63f5fcaf47bf7c755780ba79a.tar.gz
pdf-over-b11cf1b59aa403a63f5fcaf47bf7c755780ba79a.tar.bz2
pdf-over-b11cf1b59aa403a63f5fcaf47bf7c755780ba79a.zip
auto-focus smstan input
Diffstat (limited to 'pdf-over-gui/src/main/java/at')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUEnterTANComposite.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUEnterTANComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUEnterTANComposite.java
index 3f69965b..b09d5b57 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUEnterTANComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUEnterTANComposite.java
@@ -261,15 +261,8 @@ public class MobileBKUEnterTANComposite extends StateComposite {
// Disable the check that prevents subclassing of SWT components
}
- /*
- * (non-Javadoc)
- *
- * @see at.asit.pdfover.gui.composites.StateComposite#doLayout()
- */
- @Override
- public void doLayout() {
- // Nothing to do
- }
+ @Override public void doLayout() { getShell().setDefaultButton(btn_ok); }
+ @Override public void onDisplay() { txt_tan.setFocus(); }
/*
* (non-Javadoc)