Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Best practive with SWT
Best practive with SWT [message #445478] Sat, 06 November 2004 10:09 Go to next message
Oliver Andrich is currently offline Oliver AndrichFriend
Messages: 18
Registered: July 2009
Junior Member
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
Re: Best practive with SWT [message #445483 is a reply to message #445478] Sun, 07 November 2004 01:28 Go to previous message
Daniel Spiewak is currently offline Daniel SpiewakFriend
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
Previous Topic:Hiding / closing / myShell
Next Topic:Guidance needed in creating a dynamic GUI environment.
Goto Forum:
  


Current Time: Sat Oct 31 07:43:43 GMT 2020

Powered by FUDForum. Page generated in 0.02333 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top