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 !


Discover more from Liviu Nastasa

Subscribe to get the latest posts sent to your email.

Unknown's avatar

Author: Liviu Nastasa

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

Leave a comment