Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit feac2d3

Browse filesBrowse files
committed
increase exp time in NotificationServiceDemo
1 parent 45401a0 commit feac2d3
Copy full SHA for feac2d3

File tree

Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: src/main/java/com/openfin/desktop/demo/NotificationServiceDemo.java
+3-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.