Inline New Class
OK, so I don't even know what it's actually called, but for example, in Java: exitItem.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { shell.getDisplay().dispose(); System.exit(0);
Re: Inline New Class
On Saturday, 22 March 2014 at 04:45:44 UTC, Vladimir Panteleev wrote: BTW, you may find that digitalmars.D.learn is a better place to post questions. I knew that... I swear I did... XP