> Hi all,
> Can anyone point me to an online tutorial for using gridlayout or a simple
> method for positioning and moving buttons, labels etc. A bit like in Delphi
>
> Best wishes, Jim
You can find the documenation online, or download a copy for offline
browsing. I think the documentation explains it pretty well. Here is
the URL for just the GridLayout class.
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/GridLayout.html
Basically, new GridLayout(5, 2) creates an arrangment of 5 rows and 2
columns. Components are placed in the container in the order that
they are added. If all ten cells are filled, the first five
components added will be on the top row and the latter five will be on
the bottom row. As the documentation explains, the right/left
orientation is controlled by the container. Sadly, you cannont
specify a specific cell for a particular component.
I hope this helps.
tom