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 Overpainting an applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Applets
Bookmark "Overpainting an applet" Watch "Overpainting an applet" New topic
Author

Overpainting an applet

Jochem Gruter
Greenhorn

Joined: Aug 16, 2011
Posts: 9
I've an applet object which updates 50 times in a second. I've added this applet object in a JFrame. But how can I paint my own stuff in this applet?
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4991
    
    8

Tutorial: Performing Custom Painting


luck, db
There are no new questions, but there may be new answers.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10745
    
    9

Jochem Gruter wrote:.. I've added this applet object in a JFrame...

Applets are supposed to be embedded inside web pages. JFrame is a top level container for a stand alone application (think desktop). I wonder why you would want your applet embedded inside a jframe!


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Jochem Gruter
Greenhorn

Joined: Aug 16, 2011
Posts: 9
Maneesh Godbole wrote:
Jochem Gruter wrote:.. I've added this applet object in a JFrame...

Applets are supposed to be embedded inside web pages. JFrame is a top level container for a stand alone application (think desktop). I wonder why you would want your applet embedded inside a jframe!


The applets is from an external game. From this game I want to read some data like the models and paint the "model id" above the model.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Overpainting an applet
 
It's not a secret anymore!