James MacDonald-Fawcett

Greenhorn
+ Follow
since Nov 17, 2003
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 James MacDonald-Fawcett

Hey y'all!
Im having a couple of problems at the moment, I've installed Java environment (which worked on my old computer) onto my new laptop. I can compile the files using javac.exe, but when i come to run them using java.exe it throws up a runtime error mentioning the "main" thread. Im not sure what this means as the files ran fine on my university network and old home computer.
Please Help!
James
P.S With the new downloadable Java Environment why isn't there a javac.exe file? This got me very confused!
19 years ago
Hi y'all!
Can anyone tell me how to add an image into a JFrame. I have a so far i have

But can not think what to do, tried c.addImage but to no avail! Can anyone help please
20 years ago
Hi, Can anyone help me figure this out please with thread sleep times. I want to make the thread sleep for a random time. but make the time betweem two boundaires. e.g. make the thread sleep between two and four seconds.
Currently I am doing this

but this only works for a single random number. Please help thanks!
20 years ago
Hi, Can anyone help me figure this out please with thread sleep times. I want to make the thread sleep for a random time. but make the time betweem two boundaires. e.g. make the thread sleep between two and four seconds.
Currently I am doing this

but this only works for a single random number. Please help thanks!
20 years ago