mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix bad sizing and painting (after LAF switching)
This commit is contained in:
@@ -118,8 +118,10 @@ public class MemoryUsagePanel extends JButton implements CustomStatusBarWidget {
|
||||
|
||||
@Override
|
||||
public void updateUI() {
|
||||
myBufferedImage = null;
|
||||
super.updateUI();
|
||||
setFont(getWidgetFont());
|
||||
setBorder(BorderFactory.createEmptyBorder());
|
||||
}
|
||||
|
||||
private static Font getWidgetFont() {
|
||||
|
||||
Reference in New Issue
Block a user