Help Tables!

Hello,

I'm having a problem regarding tabels. I have an interface built using java.awt in the form of an application. What i would like to do is to call in a table with a scroller.

can JTabels and JScrollPane be used in an awt interface.

the commands are as such

example

private Jtabel tabel;

tables = new JTabel( 4,4);

JScrollPane scroller = new JScrollPane (table);

It there all the commands to it?

Thank you

harvin

[515 byte] By [harvin] at [2007-9-26 1:24:33]
# 1
They can be, but it is not recommended to mix AWT and Swing components in the same application. Apparently bad things happen, such as components not appearing correctly or not disappearing when they should.
DrClap at 2007-6-29 1:04:47 > top of Java-index,Archived Forums,New To Java Technology Archive...