Thread View: borland.public.jbuilder.java.swing
1 messages
1 total messages
Started by saehoon.cheon
Wed, 31 Aug 2005 18:09
setValueAt method in the multipleline JTable.
Author: saehoon.cheon
Date: Wed, 31 Aug 2005 18:09
Date: Wed, 31 Aug 2005 18:09
26 lines
1888 bytes
1888 bytes
Hi,
I created the table model having multiple line.
The code is one of the panels which is inserted in the Table.
To show two line in a cell, I used the "GridLayout(2,1)".
===================================================================
public SizeCheckBoxPanel() {
super(new GridLayout(2, 1));
setOpaque(true);
theTextField = new JTextField();
theCheckBox = new JCheckBox("Random");
add(theTextField);
theCheckBox.setFocusPainted(false);
add(theCheckBox);
}
====================================================================
Now I'd like to use "SetValueAt(Object obj, int row, int column)"
method.
I use two lines in one cell. In this case, how can I set up the row and
column index ?
Thank you in advance.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads