Issue #2795 - added code to check for null images.
Former-commit-id: 64cde69f612f25bf6c4a60db24791e3842b956a9
This commit is contained in:
parent
94cede8153
commit
0c7395d423
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