Commit f14f3c9c authored by Marian Dovgialo's avatar Marian Dovgialo

#46032 changed Weblaf version to animate indeterminate progressbars

parent d77f3875
......@@ -54,6 +54,7 @@
<url>http://repo.maven.apache.org/maven2</url>
</repository>
<repository>
<id>gettext-commons</id>
<name>gettext-commons</name>
......
......@@ -566,12 +566,11 @@
<artifactId>raven-log4j</artifactId>
<version>7.8.0</version>
</dependency>
<dependency>
<groupId>de.sciss</groupId>
<artifactId>weblaf</artifactId>
<version>2.1.4</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.weblookandfeel</groupId>
<artifactId>weblaf-ui</artifactId>
<version>1.2.8</version>
</dependency>
<!-- dependencies below are specified in util/maven/pom.xml -->
<dependency>
......
......@@ -4,7 +4,9 @@
package org.signalml.app.view.signal;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Color;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
......@@ -24,6 +26,7 @@
public SignalPlotCorner(SignalPlot plot) {
super();
setBorder(new EmptyBorder(3,3,3,3));
setBackground(new Color(237,237,237));
this.plot = plot;
}
......
......@@ -237,7 +237,7 @@ protected void paintComponent(Graphics gOrig) {
Dimension size = getSize();
Rectangle clip = g.getClipBounds();
g.setColor(getBackground());
g.setColor(new Color(237,237,237));
g.fillRect(clip.x,clip.y,clip.width,clip.height);
size.width -= SignalPlot.SCALE_TO_SIGNAL_GAP;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment