i know how to make a thread with extends thread and all blah blah blah, but i was just trying different things and i could never get the .wait() and .sleep() functions to work. so i tried to figure...
Type: Posts; User: crazed8s
i know how to make a thread with extends thread and all blah blah blah, but i was just trying different things and i could never get the .wait() and .sleep() functions to work. so i tried to figure...
for the value thing...you could just add another parameter to cardss for value. So you would have like a name a suit and a value, that would be pretty simple im thinking. and then as for the ace...
Thank you for the response but i managed to get through it. atleast i think it works. It wasn't too too hard. i didn't use my teachers hints but is im pretty sure recursive so he should accept it.
...
this is the assignment:
10. Recursive Equation Evaluator
Write a method that will evaluate an algebraic equation that is stored in a string and return its value. The string should contain the...
Thats more or less what i was trying to avoid but if its the only way then i guess thats ok. But the problem is me thinking the whole program through. So my handleUserInput method would have to store...
no ive got that down alright the problem is i need my method to stop and wait for button to be pressed again and then take the text from the jtextfield and use it as input to decide what the next...
Ive been thinking about my other issue and googling and came up with this psuedocode:
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import...
Using a JOptionPane doesn't really make sense for my program. I was trying to find another way to allow the usser to input the data i needed but oh well guess ill keep trying
Hey everybody,
I don't really have a whats wrong with my code as much as a how would i do such a thing.
So i have a JTextArea that asks whats your name, and then a bunch of other questions....
public void printContact()
{
System.out.println("Name = " + name);
System.out.println("Last Name = " + lastname);
System.out.println("Address = " + address);
...
I'm not sure where to post this, but the program does run as expected, i was just looking for input to where i may have taken a more difficult route.
It is intended to not be recursive because i...