Click here to Skip to main content
15,903,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

I have instantiated 26 buttons each having the letter of the alphabet, and i thought that was redundant, so need help to declaring all 26 buttons in array each must be for the letter in the alphabet.
Posted
Comments
demouser743 30-Aug-10 3:04am    
In java you need it

1 solution

Use a simple array (indexed by letter) or one of the Java Collection classes[^].
 
Share this answer
 
v5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900