Package com.formdev.flatlaf.util
Class HiDPIUtils.HiDPIRepaintManager
java.lang.Object
javax.swing.RepaintManager
com.formdev.flatlaf.util.HiDPIUtils.HiDPIRepaintManager
- Enclosing class:
HiDPIUtils
A repaint manager that fixes a problem in Swing when repainting components
at some scale factors (e.g. 125%, 175%, etc) on Windows.
Use HiDPIUtils.installHiDPIRepaintManager()
to install it.
See HiDPIUtils.repaint(Component, int, int, int, int)
for details.
- Since:
- 3.5
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.swing.RepaintManager
addDirtyRegion, addDirtyRegion, addInvalidComponent, currentManager, currentManager, getDirtyRegion, getDoubleBufferMaximumSize, getOffscreenBuffer, getVolatileOffscreenBuffer, isCompletelyDirty, isDoubleBufferingEnabled, markCompletelyClean, markCompletelyDirty, paintDirtyRegions, removeInvalidComponent, setCurrentManager, setDoubleBufferingEnabled, setDoubleBufferMaximumSize, toString, validateInvalidComponents
-
Constructor Details
-
HiDPIRepaintManager
public HiDPIRepaintManager()
-
-
Method Details
-
addDirtyRegion
- Overrides:
addDirtyRegion
in classRepaintManager
-