java - List of numbers compenent on Swing -


i want show same input type number of html5 on swing. image illustrate want do:

and number going 0 999 example

and number going 0 999 example

how can make same using java swing?

    public class myframe(){          spinnermodel spinnermodel = new spinnernumbermodel(0,0,999,1);         jspinner anlist = new jspinner(spinnermodel);         jpanel panel1 = new jpanel();          public myframe(){                   panel1.add(anlist);                          }  } 

Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -