Hello!
I'm trying to do the recording in the database using Swing. I want to ask user to answer on some math question by setting the value on slider. Then, when he clicks Submit button (I named it "potvrdi") the value from JSlider should be written in database. I wrote this in the init method:
and also:
It doesn't work. Where did I make a mistake?
Is it maybe problem with potvrdiMouseReleased method, should I use other method or to change this?