You need to provide more information to get the best suggestion.
6 numbers together, or one by one?
6 numbers once, or repeatedly?
Prima facie, I would suggest 6 JComboBoxes with the drop-down set to display 10 rows, maybe 15 if placed near the top of a tall enough window to not look out of place. But a JSpinner for each number may be more appropriate, or maybe even six pairs of JSpinners, one for each digit of each number.
There are no new questions, but there may be new answers.
Darryl Burke wrote:You need to provide more information to get the best suggestion.
i am working on a RMI based Lottery application in which a player, on client side, have to select 6 numbers from the range of 1-50.Once all 6 numbers are selected
these number send to server and those all 6 numbers are matched against a random number generated by the server.