aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/demo/KeyboardShortcut.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/itmill/toolkit/demo/KeyboardShortcut.java')
-rw-r--r--src/com/itmill/toolkit/demo/KeyboardShortcut.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/demo/KeyboardShortcut.java b/src/com/itmill/toolkit/demo/KeyboardShortcut.java
index 5ce9c9ba2c..7d3a3a1977 100644
--- a/src/com/itmill/toolkit/demo/KeyboardShortcut.java
+++ b/src/com/itmill/toolkit/demo/KeyboardShortcut.java
@@ -65,6 +65,7 @@ public class KeyboardShortcut extends Application implements Handler {
private TextField f;
+ @Override
public void init() {
final Window w = new Window("Keyboard shortcuts demo");
@@ -98,7 +99,7 @@ public class KeyboardShortcut extends Application implements Handler {
loki = new VerticalLayout();
main.addComponent(loki);
- main.setExpandRatio(loki,1.0f);
+ main.setExpandRatio(loki, 1.0f);
w.addActionHandler(this);