public class DebugRepaintManager
extends javax.swing.RepaintManager
Print out information about adding and/or painting dirty regions
How to use it :
- Set DEBUG_PAINTING to TRUE in JPicEdt.java
- launch jpicedt with "-redir=standard"
Constructor and Description |
---|
DebugRepaintManager()
creates a new DebugRepaintManager with double-buffering turned off
|
Modifier and Type | Method and Description |
---|---|
void |
addDirtyRegion(javax.swing.JComponent c,
int x,
int y,
int w,
int h)
Add a component in the list of components that should be refreshed.
|
void |
paintDirtyRegions()
Paint all of the components that have been marked dirty.
|
addDirtyRegion, addDirtyRegion, addInvalidComponent, currentManager, currentManager, getDirtyRegion, getDoubleBufferMaximumSize, getOffscreenBuffer, getVolatileOffscreenBuffer, isCompletelyDirty, isDoubleBufferingEnabled, markCompletelyClean, markCompletelyDirty, removeInvalidComponent, setCurrentManager, setDoubleBufferingEnabled, setDoubleBufferMaximumSize, toString, validateInvalidComponents
public DebugRepaintManager()
public void addDirtyRegion(javax.swing.JComponent c, int x, int y, int w, int h)
addDirtyRegion
in class javax.swing.RepaintManager
public void paintDirtyRegions()
paintDirtyRegions
in class javax.swing.RepaintManager
Submit a bug : syd@jpicedt.org