Paul Moran

Greenhorn
+ Follow
since Jun 13, 2004
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 Paul Moran

Jim:

Sorry about that one mate...my bad...wont happen again

Jose:

I have just deleted the two class files from my working dir. After i recompile, I get the two class files (as expected) ...when i go to run the program, I still get these errors

I have a page here that I am using to help troubleshoot this annoying error:
http://www.vfxtalk.com/java_page.htm

Appreciate any help you can give...this really is getting quite annoying

Cheers

Paul
19 years ago
does this error code lead you to any ideas ??



cheers mate
[ June 14, 2004: Message edited by: Jim Yingst ]
19 years ago
do i have to anything to 'enable' swing ??

Im totally clueless as to what may have gone wrong ?
19 years ago
okey dokey...i think we're getting somewhere ...

Im in my working directory and i type: java HelloWorldSwing

and i get the following:


Does that make the problem obvious to you ?? as it just makes me more confused lol

cheers again mate..appreciate your help!!

Paul
19 years ago
when i do that i get


Any clues ?

thanks again mate

Paul
19 years ago
hey mate,

ooppss...should have cleared that up...I have compiled it..in my dir I have HelloWorldSwing.class and HelloWorldSwing.java ...

I used javac c:\sun\appserver\jdk\bin HelloWorldSwing.java to compile and get the .class file...then i run java c:\sun\appserver\jdk\bin\<working dir>\HelloWorldSwing.java

This is where i get the apparent error ...notepad popping up and no JFrame window as expected.

Im quite confused...

Cheers mate...hope to hear from yuo soon

Paul
19 years ago
im running it from DOS in a console from c:/sun/appserver/jdk/bin using java c:\<path>\file.java

and then it just opens the code in notepad ?

Seems that the swing libraries dont kick into action ?

Does that help clear it up at all ?

Cheers for your help!!!

Paul
19 years ago
Hi All,

Im very new to Java and I am doing a simple 'Hello World' swing tutorials as follows:



When i run the HelloWorldSwing.java file it pops up the code in Notepad instead of the expected JFrame ...

What have i overlooked ??

Cheers for any help

Paul
19 years ago