Package com.formdev.flatlaf.util
Class HiDPIUtils.HiDPIRepaintManager
- java.lang.Object
-
- javax.swing.RepaintManager
-
- com.formdev.flatlaf.util.HiDPIUtils.HiDPIRepaintManager
-
- Enclosing class:
- HiDPIUtils
public static class HiDPIUtils.HiDPIRepaintManager extends javax.swing.RepaintManager
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 Constructor Description HiDPIRepaintManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDirtyRegion(javax.swing.JComponent c, int x, int y, int w, int h)
-
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
-
-