Community
Participate
Working Groups
- run the snippet below - minimize the Shell (whether it's currently active or not does not matter) - restore the shell, and the contained Text is always given focus (this is fine), but Activate is never received from the Shell, only Deiconify
Where is the snippet?
public static void main(String[] args) { Display display = new Display (); final Shell shell = new Shell(display); shell.setBounds(10,10,200,200); shell.addShellListener(new ShellListener() { public void shellActivated(ShellEvent e) { System.out.println("activated"); } public void shellClosed(ShellEvent e) { System.out.println("closed"); } public void shellDeactivated(ShellEvent e) { System.out.println("deactivated"); } public void shellDeiconified(ShellEvent e) { System.out.println("deiconified"); } public void shellIconified(ShellEvent e) { System.out.println("iconified"); } }); Text text = new Text(shell, SWT.SINGLE); text.setBounds(10,10,100,30); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
GG to prioritize.
Work is discontinued on SWT's Motif port.
Closing report, platform is discontinued.