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...

JTextField
JTable
TableModel
TableCellRenderer
SortingJTableRows
JComboBox
CustomComboBoxModel
SwingWorkerThread
Send Email
Write To File
LDAP
Sort Your Objects
JTreeModel
DOSFileName

Please contact our Webmaster with questions or comments.
© Copyright 1998 Solutions Plus, Inc.  All rights reserved.

Home
About Us
Services
Contact Us
Hire Us!
Employment
Brochure
Site Index

Solutions Plus, Inc.

Internet Explorer 4.0 or higher

This page is best viewed with IE 4.0 or higher

Cast your vote!