Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

the display of my applet in html got problem~

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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~



 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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~ https://coderanch.com/t/530182/Applets/java/display-applet-html-got
 
    Bookmark Topic Watch Topic
  • New Topic