writing onto java console

Hi, i am still struggling to face my freezing problem from thread http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jogl;action=display;num=1107110083

I noticed that the workaround suggested has at least solved something.

If i use the appletviewer command from the command prompt and do

appletviewer mywebpage

then it load wihtout any problem.

But when running it either throught mozilla or IE it still freezes online and locally i got a nullPointerException displayed in the java console, so to see what is the problem with my code i need to catch this exception to write some information about my object.

The problem is How to write there?? it seems it is neither the standard

system.out

or

system.err

.

Does anyone knows?

why not just add a try/catch statement
try
{…}
catch(Exception e)
{
System.out.println(e);
}