Add […] button to any TableCellEditor

The article published at Javalobby is an iteresting one and helps implementing a nice usability feature.

JTable allows editing with TableCellEditor. Sometimes the table might contain some complex objects, whose editing may not fit it the small area allocated to TableCellEditor. In such case it is good idea to add custom-editor button to TableCellEditor. CustomEditor is a button with icon […]. On clicking this button, a more sofisticated UI in a dialog will popup. This is very common in PropertySheets.

Try it and enjoy !

Author: Liviu Nastasa

Passionate about software development, sociology, running...definitely a geek.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s