File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 4523
    
    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: 10170
    
    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
 
Similar Threads
How to make Trusted applet?
Javascript to Java communication!
Applet question - .class vs .java
applet to jsp communication
SecurityException w/OBJECT tag?