Inline New Class

2014-03-21 Thread Malkierian
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

2014-03-21 Thread Malkierian
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