Thanks for the suggestion. I'll see what they say about using an ArrayList instead.
Type: Posts; User: CheekySpoon
Thanks for the suggestion. I'll see what they say about using an ArrayList instead.
I have a group project to do and my group and I are trying to allow the user to enter information into two jtextfields. We then want the user to press a jbutton to add the information to the end of...
Thanks for pointing me to the ArrayList functions.
Hey guys, how do you find the max value and min value of an ArrayList without using collections? I know this is the way you find the max and min value of an array but I don't get how you would do it...
I went to class today and my professor explained to me how he preferred the code. Thanks for everyone pointing me in the right direction. It really did help me out. Me and loops do not get along! By...
So this is what I came up with. I'm not quite sure if everything is in the right place since it doesn't work.
import java.io.FileWriter;
import java.io.IOException;
import...
I need help with making a loop. I want the user to be able to continue entering data by pressing the yes button and to stop entering data by pressing the no button. I have no clue how to go about...
Can someone please tell me how to get my paddle to move!? The paddle is the JButton b2. Also is there a way I can randomize the direction the ball goes after it hits the paddle? Here is what I have...
I need some help with figuring out how to let a user choose between colors and the size of the line by clicking on the button with the corresponding color name and a JSpinner to increase the size....
Thanks a bunch. I had not realized I was missing the int. It works perfectly now!
Hello again!
Can anybody help me figure out how to call my getActivity method from my student class in my app class? I'm trying display how much a student does a certain activity, but my loop goes...
You made me realize I was doing something wrong and that combined by just walking away from it for a while helped me figure it out. Thanks!
I made a coin toss program and it shows me the number of heads and tails that are generated by the program. My question is how do I get the program to show me just the percentage of heads and tails...
Thank you so much for the minor suggestion. It works perfectly now!
I am trying to convert a list of college majors to their responding acronyms and I am completely stuck. This is what I have so far. Help would be much appreciated.
import...