JSpinner help - New to java
Hello Java people!
Hello people, I have a problem!
I'm trying to make a program for my computer, in the design of the program there's three JSpinners.
The first JSpinner is called "Hour" and needs to be multiplyed twice with 60. (Hour * 60 * 60)
The JSpinner var is Object, and I think thats why i cant do it? I tried to do like this "int fullHour = Hour*60*60;" But had an error.
These are the variables in my code:
Object Hour = HourField.getValue(); //Needs to be timed twice with 60 (Hour*60*60)
Object Min = MinuteField.getValue();
Object Sec = SecondField.getValue();
I am very new to Java, and i really can't figure this out, and i've been searching for 2 days.
Can you help me?
Thanks in advance