Adam Polak

Greenhorn
+ Follow
since Oct 28, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Adam Polak

Well I only use it for the hasMoreTokens method now...the only thing I have to know is how to reverse the word...
20 years ago
Ehm...kinda feel like a dumb ass about it...There was a typo while importing Tokenizer :roll:
20 years ago
I just used the Tokenizer to keep things going while the word still has more chars, but now I need to knw how to turn those chars around (hello to olleh)
StringTokenizer reverseString = new StringTokenizer (word, "");
while (reverseString.hasMoreTokens()) {

}
This is what I got so far..
20 years ago

Well the thing is I am requested to use a Tokenizer in this one.
So if you know HOW it could be usefull please tell me because I'm going crazy over this one
20 years ago
I have a null pointer exception when pressing on a button in the following applet, can someone help me out with this:
[ edited to preserve formatting using the [code] and [/code] UBB tags -ds ]
[ March 24, 2003: Message edited by: Dirk Schreckmann ]
20 years ago
Does anyone have an idea how I could do the following things with a String Tokenizer?:
1) Turn a word around, hello would become olleh for instance.
2)Use the tokenizer in a way that every letter would be shifted 3 places with in the alfabet. If the alfabet end it must continue from the start. I heard its best to use ASCII for this.
20 years ago
I found the problem on my own people but thanks anyway!
20 years ago
I have created an abstract class in wich I want to use StringTokenizer. However when I want to compile it it says that the class StringTokenizer can't be found.
The whole abstract class can be found at: http://www.hio.ft.hanze.nl/dori/Strings/Cipher.htm
Offcourse when I put it in an Applet I don't name it public class.
20 years ago
Anyone else who could help me out with this?
21 years ago
You are right in your second post but the first one doesn't make a difference...
21 years ago
I have a couple of problems with the following problem.
The color for the circel and the ovaal objects are set to red but change when you add them both. Also if you start with circle you'll get ovaal out of it. I want them to co exist together...
If I change the place of the line in the Y-scale but not in the X-scale it becomes longer instead of moving.
Hope you can help!

21 years ago
Could you please explain more easily?
21 years ago
Could someone tell me what the sqrt methode from the Math library is for?
21 years ago
Thanks for the help! I got it to work good now.
The reason they need a seperate class is because it's an asignment I need to do and it's written this way.
21 years ago