This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
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.


Ping & DNS - my free Android networking tools app
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: the display of my applet in html got problem~
 
Similar Threads
Why does a char value also have an integer value?
How to add in button and paint in applet?
applet to change an image when keypressed
Racing game does not work(HELP!!!!)
hashCode and equals implementation