This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 41591
    
  55
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~