We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5791ed3 commit 5a5201aCopy full SHA for 5a5201a
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet384.java
@@ -129,7 +129,7 @@ public static void main(String[] args) {
129
// combo box for theme selection
130
Combo themeCombo = new Combo(shell, SWT.DROP_DOWN | SWT.READ_ONLY);
131
themeCombo.setItems("Light Theme", "Dark Theme", "Darker Theme");
132
- themeCombo.select(1);
+ themeCombo.select(0);
133
themeCombo.addListener(SWT.Selection, e -> {
134
int selected = themeCombo.getSelectionIndex();
135
switch (selected) {
@@ -147,6 +147,7 @@ public static void main(String[] args) {
147
}
148
});
149
150
+
151
shell.open();
152
shell.layout();
153
0 commit comments