This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Java » Applets
Reply 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: 35429
    
    9
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.


Android appsImageJ pluginsJava web charts
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?
hashCode and equals implementation
Racing game does not work(HELP!!!!)
applet to change an image when keypressed
How to add in button and paint in applet?