All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class electronics.ui.DoubleBufferedPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----electronics.ui.DoubleBufferedPanel

public class DoubleBufferedPanel
extends Panel
A Panel that uses dubble-buffering to avoid flashing.


Constructor Index

 o DoubleBufferedPanel()

Method Index

 o paintBackground(Graphics)
Paints a constant background for the component.
 o update(Graphics)
Updates the display of the component.
 o updateBackground()
Updates the background of the component.

Constructors

 o DoubleBufferedPanel
 public DoubleBufferedPanel()

Methods

 o update
 public void update(Graphics g)
Updates the display of the component.

Overrides:
update in class Container
 o updateBackground
 protected void updateBackground()
Updates the background of the component. This method should be called each time the background painting has changed.

 o paintBackground
 public void paintBackground(Graphics g)
Paints a constant background for the component. Use updateBackground() when the background has changed.


All Packages  Class Hierarchy  This Package  Previous  Next  Index