A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
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!
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Return primitive in getColumnClass?
JTable numeric validation
Jtable sorting; problem with getValueAt
Null Value in JTable
Checkbox problem in JTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014