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.
-
DoubleBufferedPanel()
-
-
paintBackground(Graphics)
- Paints a constant background for the component.
-
update(Graphics)
- Updates the display of the component.
-
updateBackground()
- Updates the background of the component.
DoubleBufferedPanel
public DoubleBufferedPanel()
update
public void update(Graphics g)
- Updates the display of the component.
- Overrides:
- update in class Container
updateBackground
protected void updateBackground()
- Updates the background of the component.
This method should be called each time the
background painting has changed.
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