The Artima Developer Community
Sponsored Link

Java Answers Forum
java applet and html

1 reply on 1 page. Most recent reply: Mar 2, 2002 12:50 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
des

Posts: 4
Nickname: des
Registered: Mar, 2002

java applet and html Posted: Mar 2, 2002 6:46 AM
Reply to this message Reply
Advertisement
i called my java applet with an html file, if the java applet outputs something, how am i going to pass it to the html file?


Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: java applet and html Posted: Mar 2, 2002 12:50 PM
Reply to this message Reply
Applets use AWT or Swing to display graphical results in their frame. If you are talking about output to stdout (such as System.out.println()), I don't think you can see that in an Applet. Maybe if you run the applet with the appletviewer, that output will display in your console, but if the applet is running from a browser, there is no place for stdout to go (that I know of). For sure, if you set it up to run as an application, you can see both the graphics and the output to the console.

Flat View: This topic has 1 reply on 1 page
Topic: Please help with spokes Previous Topic   Next Topic Topic: How To Post Java Code in the Forum

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use