>>The AWT TextArea even
>>has a built-in scrollbars, so no need for the JScrollPane.
>
> Seriously?
Sure. You can specify the scroll-bar behaviour
in the constructor..
<http://java.sun.com/j2se/1.5.0/docs/api/java/awt/TextArea.html#TextArea(java.lan
g.String,%20int,%20int,%20int)>
>..It's been a long time since I've used AWT...
I prefer to use Swing wherever practical (old VM's
being the main problem). Whenever I do AWT I go to
'reach for..' that toolbar, or color chooser,
or tabbed pane, or HTML rendering component, or..
only to curse and think how I will either implement it,
or more often, redesign the app(let - usually) around it.
> BTW, are there any reasons (other than supporting clients running older
> version of Java) to use AWT these days?
My main reason for mentioning AWT these days is usually
to point out that most of the 'Swing' GUI building
involves a lot of classes and packages in the 'AWT'.
E.G. ..most of the layouts, some of the AWT GUI events
and exceptions, classes for color/color spaces, images,
DND, fonts, geometry and printing..
Noobs who get 'seduced' by Swing often fail to explore
the sheer extent of what the AWT (in general) provides.
Ultimately I feel it would have been better to separate
the packages of the GUI components from the rest of the
events, layouts, printing, images etcetera., but then..
maybe that's just me.
> BTW, are there any reasons (other than supporting clients running older
>version of Java) to use AWT these days?
copy/paste works.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
>> The AWT TextArea even
>> has a built-in scrollbars, so no need for the JScrollPane.
[quoted text clipped - 3 lines]
> BTW, are there any reasons (other than supporting clients running older
>version of Java) to use AWT these days?
Support for native look and feel? Swing pluggable LookAndFeelS are
quite good, but they're not native widgets, while the AWT widgets
ought to have a native peer somewhere around, which will presumably
fit into the native look and feel better than any pure Java component
can do. At the very least, Swing implementations will lag behind the
OS UI lokk and feel by a few months.
Pete Barrett