Style Question - OO or procedural

Charles noone at nowhere.com
Mon Feb 20 07:53:34 PST 2006


> And it is always inherit from Composite or Shell or Dialog in order to
> parse the initGUI() or initComponents() method to show the GUI desinger

Ahh that was my second question, what are all these

**Auto Generated**

comments.

Do you think we shloud pressure swt-designer into creating code for DWT
also -- or wait till DWT's a little more solid ?




"Shawn Liu" <shawn666.liu at gmail.com> wrote in message
news:dtcjsv$1td7$1 at digitaldaemon.com...
>
> "Charles" <noone at nowhere.com> says:dta2ut$2fih$1 at digitaldaemon.com...
> > 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 ?
> >
>
> Some example was ported from Java which was generated by GUI Builder.
> And it is always inherit from Composite or Shell or Dialog in order to
> parse the initGUI() or initComponents() method to show the GUI desinger.
>
> http://www.cloudgarden.com/jigloo/
> http://www.swt-designer.com/
>
>
>
>
>
>
>
>
>





More information about the Digitalmars-d-dwt mailing list