Search:

Type: Posts; User: Charlie

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    2,189

    Re: Looping object creation

    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...
  2. Replies
    5
    Views
    2,189

    Re: Looping object creation

    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);...
  3. Replies
    5
    Views
    2,189

    Re: Looping object creation

    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.
  4. Replies
    5
    Views
    2,189

    Looping object creation

    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...
Results 1 to 4 of 4