}
private void createTrayNotifier() {
tray = parent.getDisplay().getSystemTray();
TrayItem trayItem = new TrayItem(tray, SWT.TRANSPARENCY_ALPHA);
trayItem.setImage(new Image(parent.getDisplay(), "img/at.png"));
String message = "Existem novas atualiza��es disponiveis para download. \nPara maiores informa��es clique aqui.";
trayItem.setToolTipText(message);
final ToolTip tip = new ToolTip(parent.getShell(), SWT.BALLOON | SWT.ICON_INFORMATION);
tip.setMessage(message);
tip.setText("Atualiza��o do Gerente Digital.");
trayItem.setToolTip(tip);
tip.setVisible(true);
trayItem.addListener (SWT.Selection, new Listener () {
public void handleEvent (Event event) {
new UpdateUI(information.getUpdateList());
}
});