Style Question - OO or procedural

Charles noone at nowhere.com
Sun Feb 19 07:35:51 PST 2006


In the examples for DWT there are a couple different ways for GUI startup ,
such as making a class inherit from Composite, and showing the GUI via a
static method showGUI()  ( dummyeclipse.d ) , and the other way of creating
the Shell in main () and passing it to your main GUI class.

Not having done any real SWT programming im wondering which method is
preferable ?







More information about the Digitalmars-d-dwt mailing list