Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Java 2
This is the forum to discuss the Wrox book Beginning Java 2, SDK 1.4 Edition by Ivor Horton; ISBN: 9780764543654
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Java 2 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 1st, 2003, 03:32 PM
Registered User
Join Date: Jul 2003
Location: Dale City, VA, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jwilliams2000
Default Applets

I have Java 2 Plug-In installed. It is showing in my "Control Panel".
In "Internet Options", on the "Advanced" tab there is a line just below "HTTP 1.1 Settings" that reads "Java(Sun)" with Sun's logo on the left and a checkbox that is checked with a line to the right of the checkbox that reads "Use Java 2 v1.4.1_01 for <applet> (requires restart)". But yet when I run the following html code all I get is an empty gray square in the browser (Internet Explorer 6)

<TITLE> A Simple Program </TITLE>
<APPLET CODE="MyFirstApplet.class" WIDTH=200 HEIGHT=200>
  #2 (permalink)  
Old August 2nd, 2003, 07:41 PM
Authorized User
Join Date: Aug 2003
Location: Lima, Ohio, USA.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to endamist Send a message via Yahoo to endamist

perhaps you did not save the html or htm file in the same location as your applet class file. They have to be in the same folder. The same thing will happen if you upload the htm/html file to the internet but fail to also upload the class file and have them in the same folder, or include the path in the html markup (simpler to have them in the same file folder though)

hope this helps.



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
No more Java Applets for me... larry Javascript 0 January 10th, 2006 10:42 AM
How to decompress Java applets bekim JSP Basics 0 January 23rd, 2005 05:56 AM
java coding for 3dbargraph applets,,help!!!! s.vidya Java GUI 0 October 15th, 2003 05:35 AM
3d java applets,,,help!! s.vidya Java GUI 0 October 15th, 2003 04:40 AM
Beginner needs help with Applets chrscote J2EE 5 August 27th, 2003 12:32 PM

All times are GMT -4. The time now is 10:02 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.