Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-15-2007, 01:16 AM
Member
 
Join Date: Jul 2007
Posts: 36
boy22 is on a distinguished road
problems when I try to run an applet
I am new in applet and I did a program which compiled but it didn't run
Code:
import java.awt.*; import java.applet.*; public calss SimpleApplet extends Applet { public void paint(Graphics g) { g.drawString("applet",10,20); } }
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-05-2007, 05:06 AM
Member
 
Join Date: Jul 2007
Posts: 51
mary is on a distinguished road
I have tested your code as is and it does work fine. However, if you are running it in IE you will have to make sure it is not being blocked. check to make sure you don't have a yellow warning box at the top of the screen when you run it. Also make sure you are using a good test HTML page to activate the applet.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 08-11-2007, 04:47 PM
Member
 
Join Date: Jul 2007
Posts: 23
marco is on a distinguished road
u spelled class wrong lol that might be why and it also might be ur editor too
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
applet.policy and i/0 problems willemjav NetBeans 0 03-08-2008 11:32 PM
problems with applet session between to two applets elizabeth Java Applets 1 08-07-2007 04:23 PM
Problems with compile applet coco Java Applets 1 08-07-2007 08:43 AM
problems with applet tags oregon Java Applets 2 08-06-2007 04:19 AM
problems with applet paty Java Applets 1 08-05-2007 05:16 AM


All times are GMT +3. The time now is 03:22 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org