Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Console Ouput in Applet.

 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul Sturrock,

Thank you for guiding, it worked.

 
I've got no option but to sell you all for scientific experiments. Or a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic