Win a copy of Learn Spring Security (video course) this week in the Spring forum!
    Bookmark Topic Watch Topic
  • New Topic

How to display a message when nothing is selected in a jspinner

 
protected system
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

how can i display a message when nothing is selected in a jspinner using java?

i tried to restrict min and max because i didn't know to do for displaying message when nothing is selected in jspinner.
even here there is nothing.

public int getAlerte() {


thank you

 
Kemal Sokolovic
Bartender
Posts: 825
5
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Report post to moderator
OP, please read Official policy on registered names and change your registered name accordingly.
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1101
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Your question is not clear. Is your code not working as you expected? if so, what is your expectation?
And, what is the model you have set for your JSpinner?
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1101
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is a duplicate of this post. Locking this down.
 
    Bookmark Topic Watch Topic
  • New Topic