Search:

Type: Posts; User: prettynew

Search: Search took 0.19 seconds.

  1. Replies
    3
    Views
    1,047

    Re: character problem

    shitarray[] (sry for the name) and letters[] are both char arrays. Any thoughts on how to overcome my problem?
  2. Replies
    3
    Views
    1,047

    character problem

    I am writing a lexical analyzer for a fictional language in java. I have a for loop which prints out the type and the tokens read. The thing is it prints one character at a time and there is a...
  3. Replies
    4
    Views
    2,838

    [SOLVED] Re: find first empty cell?

    I apologize for my ignorance of the forums etiquette. In my defense id like to say that i was chasing a deadline and i wanted to increase my chances to find a solution as soon as i could.
    I will...
  4. Replies
    4
    Views
    2,838

    [SOLVED] find first empty cell?

    What i want to do is use a for-loop to find the first empty cell in a 2D array and put a value in it. However, my code applies the loop to all empty cells in the array. What am i doing wrong here? I...
  5. [SOLVED] how to get the row and column of a component gridlayout

    I am using gridlayout to display a 9x9 grid of jbuttons and jlabels, representing a futoshiki puzzle (thanks Fubarable). When you click a button it changes values from 0 to 5. I have another class...
  6. Replies
    4
    Views
    2,043

    Re: button update when clicked

    thank you for your time. You helped me a lot :)
  7. Replies
    4
    Views
    2,043

    Re: button update when clicked

    This is the original button

    JButton b00 = new JButton(" ");
    ActionListener ac = new Counter(b00);
    b00.addActionListener(new Counter(b00));
    panelGrid.add(b00);

    And...
  8. Replies
    4
    Views
    2,043

    button update when clicked

    Hello java programmers!
    I am going to ask a simple question (doesn't seem that simple to me though). I want to make a button change its text whenever clicked and i want that to be immediately shown...
Results 1 to 8 of 8