Java Applet Development - applet and exceptions

Hi all,

when I code some stand alone application, I can see all exception and other text outputs in console. Hovewer I need the same thing in applet too. I do not know how to see what exception was occured or my assistant text outputs. Is there some way how to solve that?

I have tried to use applet viewer, but there is a little problem. My applet is signed, so there are less restrictions like in unsigned applet and when I run it in applet viewer, there is no dialog to trust the applet so there are a lot of exceptions, which stop an applet.

So I need some way how to view applet output. I am new in java applets.

Thank for all usefull replies.

[679 byte] By [Folkia] at [2007-11-26 23:03:33]
# 1

Applets are able to log to a console, you can use the same method of System.out.println etc.

The applet console is visible from the Java Console, the easiest way of getting to this is by right clicking on the Java coffee cup icon in the task bar near the clock, select Open Console.

If that isn't visible you need to turn this on via the windows control panel, Java control panel, Advanced tab, and select show console.

All of the above is windows specific but i hope it helps.

Rob.

rob.hingstona at 2007-7-10 13:55:26 > top of Java-index,Desktop,Core GUI APIs...