« Return to Thread: Cell renderer/editor in Netbeans?

Re: Cell renderer/editor in Netbeans?

by FatButtLarry :: Rate this Message:

Reply to Author | View in Thread

bidi wrote:
Hi people, I couldnt make cell renderer specification for JTable in Netbeans? How can I do? If not in Netbeans, should I better use Eclipse or something? What do you suggest?
Thanks..
Ok, this was an easy one...

http://forums.sun.com/thread.jspa?threadID=243645&tstart=32684

Just had to change:
    setDefaultRenderer(String.class, new MyRenderer());

To:
    setDefaultRenderer(Object.class, new MyRenderer());

Hope this helps others!!!  Not a problem with NetBeans at all, sorry for the confusion.

-Tres

 « Return to Thread: Cell renderer/editor in Netbeans?