update flatlaf to 2.0-rc1

This commit is contained in:
rememberber 2021-12-19 16:20:01 +08:00
parent d8a5c77b87
commit ec6a2501bd
2 changed files with 4 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 636 KiB

After

Width:  |  Height:  |  Size: 639 KiB

View File

@ -164,9 +164,13 @@ public class CpuForm {
true, false);
systemCpu.setBackgroundPaint(cpuForm.getChartPanel().getBackground());
systemCpu.setAntiAlias(true);
systemCpu.getXYPlot().setDomainGridlinesVisible(false);
systemCpu.getXYPlot().setRangeGridlinesVisible(false);
systemCpu.getXYPlot().setBackgroundPaint(cpuForm.getScuProgressBar().getBackground());
systemCpu.getXYPlot().setOutlinePaint(cpuForm.getScuProgressBar().getBackground());
systemCpu.getXYPlot().getRenderer().setSeriesPaint(0, cpuForm.getScuProgressBar().getForeground());
systemCpu.getXYPlot().getRenderer().setSeriesStroke(0, new BasicStroke(2f));
systemCpu.getXYPlot().getDomainAxis().setVisible(false);
systemCpu.getXYPlot().getRangeAxis().setVisible(false);