A specific implementation of a JTextField which can be used in a JTable, and the JTextField's background color will change depending on whether or not its text is valid.
JTextFieldTableCellRenderer.java Submitted by Michael Pell
TableCellRenderer Implementation
How to implement colors in individual cells using a custom DefaultTableCellRenderer
Another specific implementation, but you'll get to see how it works.
ColorTableCellRenderer.java Submitted by Michael Pell
At a glance...
Please contact our Webmaster with questions or comments.
© Copyright 1998 Solutions Plus, Inc. All rights reserved.
This page is best viewed with IE 4.0 or higher
Cast your vote!