Issue #2795 - added code to check for null images.
Former-commit-id:5546b537cf
[formerly0c7395d423
] [formerly49530206f4
[formerly 64cde69f612f25bf6c4a60db24791e3842b956a9]] Former-commit-id:49530206f4
Former-commit-id:facc67e6b5
This commit is contained in:
parent
91d419662c
commit
35f6f35186
1 changed files with 11 additions and 0 deletions
|
@ -541,6 +541,17 @@ public class NotificationDlg extends CaveSWTDialog implements ITableChange,
|
|||
id = Activator.imageDescriptorFromPlugin(
|
||||
"com.raytheon.uf.viz.datadelivery", "icons/dd_new.png");
|
||||
trayImg2 = id.createImage();
|
||||
|
||||
/*
|
||||
* Check if the images are null.
|
||||
*/
|
||||
if (trayImg1 == null) {
|
||||
System.out.println("*** Tray image 1 is null...");
|
||||
} else {
|
||||
System.out
|
||||
.println("*** Tray image 1 is not null and should have an image...");
|
||||
}
|
||||
|
||||
tray = display.getSystemTray();
|
||||
|
||||
createTray();
|
||||
|
|
Loading…
Add table
Reference in a new issue