This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 4531
    
    5

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: 10270
    
    8

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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Overpainting an applet