dateFormat = SimpleDateFormat.getTimeInstance();
shell = new Shell(gui.getDisplay(), SWT.RESIZE | SWT.TITLE);
GridLayout gridLayout = new GridLayout();
gridLayout.numColumns = 3;
shell.setLayout(gridLayout);
shell.addShellListener(new ShellAdapter() {
public void shellClosed(ShellEvent e) {
}
});
shell.setText(Messages.getString("PortMonitor.title")); //$NON-NLS-1$
shell.setImage(gui.loadImage(SWTSystemTrayGUI.class, "/images/frame-agent.png")); //$NON-NLS-1$