Can you please have a look at the following code to figure out why my customer JSpinner throws a runtime "java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.lang.Integer" error ?
I tried Ernest's path and used the constructor with Comparables but this time it started throwing casting exceptions about Byte and BigInteger which told me that I have to go either in the src from JDK or do my own stuff.
Thanks Rob, that was a good advice, generating another class for this feels a bit of an overkill but totally made sense compared to this "casting chaos".