> Does anybody know a way to use a Table in AWT? (something like JTable in
> Swing)
> (I'm extending an existing application on a PDA so I can't use Swing)
Java SE doesn't have one. You need to write your own component, or
obtain one (Google ...) form a third party.
/Thomas

Signature
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/
On Mon, 20 Mar 2006 18:19:35 +0100, "Selie Peter"
<#lootens_pieter_nospam#@hotmail.com> wrote, quoted or indirectly
quoted someone who said :
>Does anybody know a way to use a Table in AWT? (something like JTable in
>Swing)
>(I'm extending an existing application on a PDA so I can't use Swing)
there are no table Components in AWT. You would have to roll your own
something like JTable, perhaps much simpler and less general.
Basically you write a Canvas and when you get a paint event, you paint
that clipregion. Basically you use division of the x/y co-ordinates
to compute which cells need to be repainted, then you paint them
probably with drawString. When you are done you can plop your canvas
in a ScrollPane.
I was going to say look at the code for JDisplay to see how, but I
have not yet released that code.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.