Skip to content

Commit 4045e57

Browse files
author
zhourenjian
committed
Fix bug that calling "System.out.println" before SWT desktop is initialized can not add Console tray item
1 parent 5aabdad commit 4045e57

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets/NotificationCorner.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ public void initialize() {
5959
break;
6060
}
6161
}
62-
if (!existed && tray == null) {
63-
return;
64-
}
6562
if (existed) {
6663
defaultNotificationCorner = this;
6764
}

0 commit comments

Comments
 (0)