How use system.out.println with a Java Swing Applet?

Hi guys,

I was just wondering what can I use to view output on the Java console with a Java Swing Applet?

At the moment I'm using a JTextArea within the Applet for debugging but I want output to appear in the browser java console but system.out.println doesn't work.

I'm viewing the Swing Applet on Netscape 4.7 browser.

Any ideas?

[373 byte] By [asammahmood] at [2007-9-26 2:19:24]
# 1

System.out.println()s work fine! I'm guessing that your problem is that you are looking at the wrong console window!

You're using the Java Plug-in, right? On Windows, go to your Control Panel and double click "Java Plug-in". You should find a checkbox option to "Show Java Console" - make sure this is checked. Next time you fire up you JApplet, you should see a Java Console window popup.

Hope this helps!

justindolezy at 2007-6-29 9:21:48 > top of Java-index,Archived Forums,Swing...