shitarray[] (sry for the name) and letters[] are both char arrays. Any thoughts on how to overcome my problem?
Type: Posts; User: prettynew
shitarray[] (sry for the name) and letters[] are both char arrays. Any thoughts on how to overcome my 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...
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...
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...
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...
thank you for your time. You helped me a lot :)
This is the original button
JButton b00 = new JButton(" ");
ActionListener ac = new Counter(b00);
b00.addActionListener(new Counter(b00));
panelGrid.add(b00);
And...
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...