aspose file tools*
The moose likes Beginning Java and the fly likes Function about the class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Function about the class" Watch "Function about the class" New topic
Author

Function about the class

sheng zhong
Greenhorn

Joined: Nov 23, 2006
Posts: 20
Hi all

What is this base class use for? It seems use for some graph buffer for the applet. I am not sure......


Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41885
    
  63
It helps with implementing double buffering, which is a technique used to avoid the screen flicker you get if you repeatedly update graphics on the screen: Wikipedia: Double Buffering.

This is needed only for AWT graphics - Swing does double buffering internally.


Ping & DNS - my free Android networking tools app
sheng zhong
Greenhorn

Joined: Nov 23, 2006
Posts: 20
Thanks for the reply. Then use the code below, we can draw line on a applet.
I wonder what's the difference between class Draw and class Item?



Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41885
    
  63
The two classes do completely different things, so I'm not sure what you mean by "their difference".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Function about the class