srikanth kumar aruru

Greenhorn
+ Follow
since Jul 21, 2011
srikanth kumar likes ...
Eclipse IDE C++ Java
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 srikanth kumar aruru

1) extract the jar file and see the directory/package structure, accordingly import GDate class in your java source code.
2) Either put this jr.jar in existing classpath or add C:\JavaSrc to the class path.
3) to add C:\JavaSrc to the existing class path, on windows machine, go to Start > Settings > Control Panel > System, and click on advanced , add the path there
10 years ago
use Join(). This makes main thread to wait till other threads are done.
Hi David Triple,
I have few suggestions
1) Both Deal and Shuffle button's are sharing same actionListener . Make them to have separate listeners
2) Keep one stop button to stop the game.

You require Inner class here. And inner class will use outer class variable (JText). To change the text message value.

JHiLo2 is your outer class and Deal and Shuffle are inner class. Inner class can share outerClass variables.
10 years ago
switch statements are more than if statements. switch statement is more efficient than if else statements in terms of efficiency (number of cpu cycles will be less) , code looks clean as well.

10 years ago