|
|
Return
to JAVA table list |
Best books about JAVA programming:
|
JAVA JTable JButton
in JTable header
The following code changes column border in JTable.
This example invovles the following files:
//Example modified from http://www.crionics.com/products/opensource/faq/swing_ex/JTableExamples2.html
/**
* @version 1.0 12/03/98
*/
import java.awt.*;
import javax.swing.border.*;
public interface CellBorder {
public Border getBorder();
public Border getBorder(int row, int column);
public void setBorder(Border border);
public void setBorder(Border border, int row, int column);
}
|
|
|