Skip to content

Commit feac2d3

Browse files
committed
increase exp time in NotificationServiceDemo
1 parent 45401a0 commit feac2d3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/com/openfin/desktop/demo/NotificationServiceDemo.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ private JPanel createCreateNotificationPanel() {
157157
JTextField tfBody = new JTextField("Body");
158158
JTextField tfCategory = new JTextField("Category");
159159
JTextField tfIcon = new JTextField("https://openfin.co/favicon-32x32.png");
160-
JTextField tfIndicatorText = new JTextField("");
161-
JTextField tfExpiresInSecs = new JTextField("5");
160+
JTextField tfIndicatorText = new JTextField("Hello From Java");
161+
JTextField tfExpiresInSecs = new JTextField("60");
162162

163163
JComboBox<String> cbSticky = new JComboBox<>();
164164
cbSticky.addItem(NotificationOptions.STICKY_STICKY);
@@ -168,6 +168,7 @@ private JPanel createCreateNotificationPanel() {
168168
cbIndicator.addItem(NotificationIndicator.TYPE_FAILURE);
169169
cbIndicator.addItem(NotificationIndicator.TYPE_WARNING);
170170
cbIndicator.addItem(NotificationIndicator.TYPE_SUCCESS);
171+
cbIndicator.setSelectedIndex(2);
171172

172173
JPanel pnlCenter = new JPanel(new GridBagLayout());
173174
GridBagConstraints gbConst = new GridBagConstraints();

0 commit comments

Comments
 (0)