Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Text input  RSS feed

 
corn jew
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I want to make use of several input boxes where a user can enter any amount of decimal numbers say from 1 to 50, use that info, shuffle it and display the numbers.I found only TextField class,but it does not give you an option to restrict values entered to two values only.
Can someone perhaps help or is there a way to do it.
Example user put in numbers 1,2,10,15,16,20 and shuffle that numbers to give you a different set ie 15,1,20,etc.
Thanks for any help
Corn
 
Venkata Cherukuri
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess u culd use the JFormattedText.
It shuld'nt b tha hard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!