Ken Huskerson

Greenhorn
+ Follow
since May 16, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Ken Huskerson

This thread has been very helpful. I was wondering if someone could venture a real world example of when you would need to use clone() outside of UI elements (buttons, etc.).

Thank you,

kh
20 years ago
I think it is very thoughtless to answer someone by just posting the javadoc for this method. Seems a little sarcastic to a person asking a very real question.

So again, as I would like to know as well, why do you use this. Maybe someone could offer an example of a situation. This would take a little more thought than a simeple copy-paste.

Regards,

kh
20 years ago
I'm embarrassed. I should have know that. Thank you for the quick response.



kh
20 years ago
Hello,

I am looking for a way to capture the enter key for user input used in a switch statement.

The problem is when a user doesn't entere a valid value and just presses the enter key.

I though it might be capture as:

if(action = null || action = " ")

but neither are working.

Is there some kind of escape character I should be checking for?

Thanks in advance!

kh
20 years ago