You rock, that was awesome.... Thanks
Type: Posts; User: New_Guy25
You rock, that was awesome.... Thanks
timer = new Timer(300, new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
//textArea.setText("");
...
The conflict is between my timer delay and my for loop. When I take this statment --> textArea.append(someline + "\n"); <--- out of the for loop and place it outside the brackets. My delay timer...
.
--- Update ---
I would like to put a delay in my code but for loop conflicts with my timer.
timer = new Timer(300, new ActionListener()
{
public void...
Hey Norm, Thanks for all the help...... I made a few changes and was finally able to figure out what my code needed.
for loop(int j; j < 73 < j++)
textArea.append((j + 1) + " : " +...
I have work in a bit, I will have to get back to you later with my results...
Thanks
ok, so I have made some changes and now it prints the array in column form but with a bunch of zeros.
while(Growth_nums!=null)
{
Growth_nums =...
System.out.println("the results= "+ java.util.Arrays.toString(Growth_numbers1));
text = text + java.util.Arrays.toString(Growth_numbers1);
...
The array is perfect, your system println confirmed it. It confirms how many times the test occurred.
I will work on the steps and get back to you in a bit.
--- Update ---
So, this is the...
This is what I got in my console output when I inserted your System.out.println statement.
the results= [0, 6, 10, 4, 4, 7, 2, 4, 6, 4, 5, 3, 1, 4, 4, 3, 0, 2, 5, 2, 0, 0, 0, 2, 3, 1, 0, 0, 3, 0,...
Sorry, I'm still confused. I'm more of a visual person. I can't understand what exactly you are trying to get me to do. Looking at my code, I see that the following section below pretty much breaks...
Yup, thats pretty much it. I have the code that makes the counts and now I just need it to print the results to the GUI exactly how it is.
That last part "then print out the results" is pretty...
The number before the : is a line number and the number after the : is number of times that growth has repeatedly occurred for that test.
so for test 1: bacterial growth occurred 6 times.
for...
Where did the formatted date come from?
It came from the col1.txt file from the original post. I forgot to post the col1.txt file in the last post, but I'll attach it in this post.
...
Ok, so I have restarted my GUI application from scratch. I have tried using the "append" or "append toString" method and it did not quite work for me. I just couldn't figure it out.
So, I have...
Thanks, Im not too familiar with its capabilities but I will look into it and get back with my revised code and some info on wether or not I was succcessful with using the append function.
I am having trouble getting my GUI TEXTAREA field to resemble my console output. The GUI contains a short explanation of what I am looking for. I have tried converting the integer array to a string...
I am super new here...