All predefined renderers and editors are installed within JTable#udateUI() to support look and feel switches at runtime. For big tables or if performance is very important it's recommended to us a regular TableCelRenderer instead of a component renderer (see also How to create a custom renderer).

All relevant lines are highlighted. Press the "Run..." button to start the example.