A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Swing / AWT / SWT
Return primitive in getColumnClass?
Joined: Jan 16, 2009
Apr 03, 2009 01:30:08
Is is possible to return a primitive in getColumnClass.
I was returning int.class but I kept getting errors, so I changed it to an Integer and it seems OK.
I was just curious if it was actually allowed to return a primitive.
Joined: Jul 26, 2007
Apr 03, 2009 02:19:25
The expected return type is a class object and as you know primitives are well...primitives !
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
I agree. Here's the link:
subject: Return primitive in getColumnClass?
Jtable sorting; problem with getValueAt
JTable numeric validation
Checkbox problem in JTable
Null Value in JTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014