Wanted to try out both the put and the get methods of hashtables. Haven't used em all that much before and practice makes perfect so I figured whattheheck :). More efficient to add them directly in...
Type: Posts; User: Charlie
Wanted to try out both the put and the get methods of hashtables. Haven't used em all that much before and practice makes perfect so I figured whattheheck :). More efficient to add them directly in...
Like so:
//Create labels for all 81 elements in panel, store in Hashtable.
for (int i = 0; i < 81; i++){
labKey = "label" + i;
tempLabel = new JLabel("", 0);...
Ill get on it asap but Im going away to a friend today to get a few beers and my code is on my other comp. I'll do it tomorrow when I get home.
O hai
So basically, I was working on my soduko-program when I got one of them "eureka-moments" and I thought I should share. I love the cafe so I'm posting it here but it's prolly missplaced so...