aspose file tools*
The moose likes Applets and the fly likes Console Ouput in Applet. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Console Ouput in Applet." Watch "Console Ouput in Applet." New topic
Author

Console Ouput in Applet.

Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi,

if i am trying applet in html, where can i see the console output of that class.

I tried to see the applet in html, but i am not able to, i just see a black image in the mentioned area.

Thanks,
Bennet.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

If you bring up the Java Console you should be able to see any messages logged there by the Applet.

The black image thing though sounds a bit like you don't have a JRE installed.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
If you bring up the Java Console you should be able to see any messages logged there by the Applet.


what is this mean, how to make bring the java console, when i am trying to see the applet in html.

I didn't understand this.

let me tell you what i did, i tried the applet program in netbean and tried running. i can see the execution in applet viewer properly.

netbeans automatically creates a html file for the applet program, if i open that, i am not able to see the applet in that html file.

if i am wrong, please correct me and thank you very much for your reply.

Thanks,
Bennet
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Look at the settings for Java on your machine (in Windows - Control Panel>Java). Set the "Show console" option and it should appear whenever an Applet is run. You can configure logging levels there.
Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi Paul Sturrock,

Thank you for guiding, it worked.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Console Ouput in Applet.