i have created two JSpinners with netbeans Form, i want to link the two JSpinners so that if the value of one of them decrements, the value of the other incrementes and vice versa. i tried with this ...

I have created a spinner in android studio. It works successfully for me when displaying 2 items from a table(test). But when I try to use the same spinner for a different table(red_line) in the same ...

I have a JSpinner with maximum number of fraction digits as 6. So when I enter 1.1234567 it is getting rounded off to 1.123457.
But my requirement is when the user enters the value as a free text I ...

I am using WindowBuilder to create a GUI.
I'm kinda new to JFrame and I have a problem: I added a JSpinner and I want to save the number that I put in my spinner to an int so I can use it later on. ...

I am trying to get my JTextField (desc) to under the JSpinner, (dayspinner) but I'm not sure how. If I put the text field in SOUTH, it just goes all the way to the bottom of the window. I would also ...

I want to be able to increase the step size on JSpinner when a certain key is pressed. What i tried so far was to put KeyListener on my spinner and when a certain key is pressed, change the value of ...

How do I retrieve the time format from a MySQL database and use it to populate a JSpinner in Java? The JSpinner should be populated when I click the 'NEXT' button. The code I am currently using is as ...

I am trying to create a spinner that has hours and minutes. The minutes part needs to increment by 10 mins only and the time must range from the current time to an end time. I also need the minimum ...

I have knowledge about C programming but I'm a newbie Java Programmer, and I want to ask a question to you. I try to set both spinners values null if they are less then "1" but I couldn't do it. I'm ...

I only have these two lines of code in making my JSpinner as time:
mySpinnerControl.setModel(new SpinnerDateModel());
mySpinnerControl.setEditor(new JSpinner.DateEditor(mySpinnerControl, "HH:mm"));
...

Hey guys i'm having troble with my jspinner im not getting the value from jspinner i already try a few ways using toolkit but din't work very well and still not working i will leave the code if you ...

I want to create two spinners in java swing, which will be proportionality dependent each other, so when I change value of one spinner, value of second spinner changes too.
When I wrote listener for ...

I want to make a JSpinner and when you change it, it will prompt you, "Are you sure you want to change this?" All I can find is the ChangeListener and that only gets run when you change it. I want the ...

I have used JButton setActionCommand(String str) function to detect event for a specific button.
I want to do the same thing for a variable of type JSpinner, So i will be able to listen for a spinner ...

I'm trying to create a custom JSpinner that represents a sequence of numbers of power 2. Like, 1-2-4-8-16 and so on. I have to do that with extending AbstractSpinnerModel and changing its implemented ...

Hello So i have created a JFrame with a JSpinner inside (as you can see in the picture). Right now, the BorderLabel is showing in the Jspinner (as it should) but the arrows on the JSpinner are there ...

How would you disable the ability to type in the text field of a Java JSpinner, and still use the buttons to change the value? my searches have come up empty
Thanks for any help you all can give me.
...

I want to use a JSpinner to select a time for a countdown timer where the user selects the HR,MIN,SEC where any of these values can be 00. I was using the SpinnerDateModel but the HR cannot be set to ...

When I run my program, the default value is the actual time. Is there a way of setting the default value to "00:00"?
Date date = new Date();
morningtimeSpinner = new JSpinner(new SpinnerDateModel()); ...