This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Applets and the fly likes the display of my applet in html got problem~ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Applets
Bookmark "the display of my applet in html got problem~" Watch "the display of my applet in html got problem~" New topic
Author

the display of my applet in html got problem~

Edward Sie
Greenhorn

Joined: Mar 08, 2011
Posts: 5
i having problem of the running the animation, when i move my public void run(); to my class file~ i hope anyone cn help me solve this problem~ or tell me wat should i do~



Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
What, exactly, is the problem? In other words, what does the code do now, and what do you think it should be doing instead?

For starters, why does the Player class extend Applet?

In the future, please UseCodeTags when posting code of any length (I have added those now for you). It's unnecessarily hard to read the code otherwise, making it less likely that people will bother to do so.
Edward Sie
Greenhorn

Joined: Mar 08, 2011
Posts: 5
sorry for the inconvenient. i first time using the forum. i have a new coding that working, the only problem is i cant add in button, maybe it need use paintComponent? i hope you can teach me~ i'm new to java applet~ this is the link to my new post~ http://www.coderanch.com/t/530182/Applets/java/display-applet-html-got
 
Have you checked out Aspose?
 
subject: the display of my applet in html got problem~
 
It's not a secret anymore!