diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a622c728..97b776ea2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ FlatLaf Change Log ================== -## 3.5-SNAPSHOT +## 3.5 #### New features and improvements @@ -41,8 +41,8 @@ FlatLaf Change Log #### Incompatibilities - ProgressBar: Log warning (including stack trace) when uninstalling - indeterminate progress bar UI or using JProgressBar.setIndeterminate(false) - not on AWT thread, because this may throw NPE in FlatProgressBarUI.paint(). + indeterminate progress bar UI or using `JProgressBar.setIndeterminate(false)` + not on AWT thread, because this may throw NPE in `FlatProgressBarUI.paint()`. (issues #841 and #830) - Panel: Rounded background of panel with rounded corners is now painted even if panel is not opaque. (issue #840) diff --git a/flatlaf-core/flatlaf-core-sigtest.txt b/flatlaf-core/flatlaf-core-sigtest.txt index be3cd8178..9568c0c84 100644 --- a/flatlaf-core/flatlaf-core-sigtest.txt +++ b/flatlaf-core/flatlaf-core-sigtest.txt @@ -1,5 +1,5 @@ #Signature file v4.1 -#Version 3.4 +#Version 3.5 CLSS public abstract interface com.formdev.flatlaf.FlatClientProperties fld public final static java.lang.String BUTTON_TYPE = "JButton.buttonType" @@ -629,16 +629,33 @@ hfds alpha,hsl,rgb CLSS public com.formdev.flatlaf.util.HiDPIUtils cons public init() +innr public abstract interface static DirtyRegionCallback innr public abstract interface static Painter +innr public static HiDPIRepaintManager meth public static float computeTextYCorrection(java.awt.Graphics2D) meth public static java.awt.Graphics2D createGraphicsTextYCorrection(java.awt.Graphics2D) +meth public static void addDirtyRegion(javax.swing.JComponent,int,int,int,int,com.formdev.flatlaf.util.HiDPIUtils$DirtyRegionCallback) meth public static void drawStringUnderlineCharAtWithYCorrection(javax.swing.JComponent,java.awt.Graphics2D,java.lang.String,int,int,int) meth public static void drawStringWithYCorrection(javax.swing.JComponent,java.awt.Graphics2D,java.lang.String,int,int) +meth public static void installHiDPIRepaintManager() meth public static void paintAtScale1x(java.awt.Graphics2D,int,int,int,int,com.formdev.flatlaf.util.HiDPIUtils$Painter) meth public static void paintAtScale1x(java.awt.Graphics2D,javax.swing.JComponent,com.formdev.flatlaf.util.HiDPIUtils$Painter) +meth public static void repaint(java.awt.Component) +meth public static void repaint(java.awt.Component,int,int,int,int) +meth public static void repaint(java.awt.Component,java.awt.Rectangle) supr java.lang.Object hfds CORRECTION_INTER,CORRECTION_OPEN_SANS,CORRECTION_SEGOE_UI,CORRECTION_TAHOMA,SCALE_FACTORS,useDebugScaleFactor,useTextYCorrection +CLSS public abstract interface static com.formdev.flatlaf.util.HiDPIUtils$DirtyRegionCallback + outer com.formdev.flatlaf.util.HiDPIUtils +meth public abstract void addDirtyRegion(javax.swing.JComponent,int,int,int,int) + +CLSS public static com.formdev.flatlaf.util.HiDPIUtils$HiDPIRepaintManager + outer com.formdev.flatlaf.util.HiDPIUtils +cons public init() +meth public void addDirtyRegion(javax.swing.JComponent,int,int,int,int) +supr javax.swing.RepaintManager + CLSS public abstract interface static com.formdev.flatlaf.util.HiDPIUtils$Painter outer com.formdev.flatlaf.util.HiDPIUtils meth public abstract void paint(java.awt.Graphics2D,int,int,int,int,double) @@ -1137,6 +1154,31 @@ meth public void provideErrorFeedback(java.awt.Component) meth public void uninitialize() supr java.lang.Object +CLSS public javax.swing.RepaintManager +cons public init() +meth public boolean isCompletelyDirty(javax.swing.JComponent) +meth public boolean isDoubleBufferingEnabled() +meth public java.awt.Dimension getDoubleBufferMaximumSize() +meth public java.awt.Image getOffscreenBuffer(java.awt.Component,int,int) +meth public java.awt.Image getVolatileOffscreenBuffer(java.awt.Component,int,int) +meth public java.awt.Rectangle getDirtyRegion(javax.swing.JComponent) +meth public java.lang.String toString() +meth public static javax.swing.RepaintManager currentManager(java.awt.Component) +meth public static javax.swing.RepaintManager currentManager(javax.swing.JComponent) +meth public static void setCurrentManager(javax.swing.RepaintManager) +meth public void addDirtyRegion(java.applet.Applet,int,int,int,int) +meth public void addDirtyRegion(java.awt.Window,int,int,int,int) +meth public void addDirtyRegion(javax.swing.JComponent,int,int,int,int) +meth public void addInvalidComponent(javax.swing.JComponent) +meth public void markCompletelyClean(javax.swing.JComponent) +meth public void markCompletelyDirty(javax.swing.JComponent) +meth public void paintDirtyRegions() +meth public void removeInvalidComponent(javax.swing.JComponent) +meth public void setDoubleBufferMaximumSize(java.awt.Dimension) +meth public void setDoubleBufferingEnabled(boolean) +meth public void validateInvalidComponents() +supr java.lang.Object + CLSS public abstract javax.swing.border.AbstractBorder cons public init() intf java.io.Serializable diff --git a/gradle.properties b/gradle.properties index e70645309..873a8dffc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,8 +14,8 @@ # limitations under the License. # -flatlaf.releaseVersion = 3.4.1 -flatlaf.developmentVersion = 3.5-SNAPSHOT +flatlaf.releaseVersion = 3.5 +flatlaf.developmentVersion = 3.6-SNAPSHOT org.gradle.parallel = true # org.gradle.warning.mode = all