| Author |
Create a table with JTextArea in Swing
|
Kofi Nimako
Greenhorn
Joined: Jul 19, 2004
Posts: 6
|
|
Hi All: Does anyone know how to create a table of rows and columns and input text and numbers using JtextArea in Swing ? Thanks :roll:
|
 |
Ben Wood
Ranch Hand
Joined: Aug 14, 2001
Posts: 342
|
|
Hi Kofi, I don't see how you'd do that with JTextArea. Take a look at JTable instead maybe.
|
SCJP 1.4, www.gsi3d.org.uk
|
 |
Rachel Swailes
Ranch Hand
Joined: May 18, 2004
Posts: 434
|
|
Look on the Sun website for the JTable tutorial (you can also access it from the API.) You can use a JTextArea in a JTable. Compare it in the tutorial to the example they have using a JComboBox. Cheers, Rachel
|
 |
 |
|
|
subject: Create a table with JTextArea in Swing
|
|
|