|
Re: Best practive with SWT [message #445483 is a reply to message #445478] |
Sun, 07 November 2004 01:28 |
Daniel Spiewak Messages: 263 Registered: July 2009 |
Senior Member |
|
|
I personally use the SWTBorderLayout class available in the SwingWT
project (http://swingwt.sourceforge.net). However, the GridLayout is
far more customizable and only slightly more difficult to use once you
get used to it. GridLayout is what I would use. And by the way, if
you're writing an entire application using SWT, I can't stress enough
how important it is to get familiar with GridLayout and it's
properties. You'll use it at every turn and you'll save yourself a lot
of heartache if you put some time into learning it now rather than while
you code.
Daniel
Oliver Andrich wrote:
> Hi everybody,
>
> I spent the last few days playing around with SWT for a new project. I
> everything I checked worked like a charm. Now I like to start out on
> actually developing the GUI for my program.
>
> But, I haven't found some kind of best practice developing a complete
> GUI for my application. The basics about shells, displays and so on
> are clear. I even wrote all the required "custom widgets", that I need.
>
> But which LayoutManager can be used for what task? FormLayout is
> obvious to me and I already used it more or less sucessfully.
>
> Now I am looking for the Layout of choice for the actual main
> application frame of my application. This consists of a menu bar ( or
> cool bar), a center area with a sash form and a status bar. What is
> the nest practice or the best layout for this? RowLayout? GridLayout?
>
> I like to learn and so I am open for every kind of input on this
> topic. May be I just haven't found the right web pages so far. :)
>
> Best regards,
> Oliver
|
|
|
Powered by
FUDForum. Page generated in 0.02634 seconds