Wednesday, April 8, 2009

NetBeans CellRenderer JTable

I am trying to assign a setDefaultCellRenderer(..., ...) to my NetBeans projects and all of the answers keep steering me back to "Table Contents --> Columns --> Renderer" and then I am stuck.

I was working from this guide and quickly noticed it had no effect on my NetBeans JTable!!! I've been using this guide in non-NetBeans projects with success, but now using the NetBeans IDE it fails. Am I doing something wrong?

First of all, there's quite a few people asking this same question:

This quick article shed some light on the class types, but chaning my setDefaultRenderer(..., ...) to "String.class" didn't fix it.

So I've updated the nabble post with some of my attempts. No answers yet. Any help appreciated:


No comments: