Skip to main content

JXGradientChooser

1 reply [Last post]
Spinnifex
Offline
Joined: 2011-03-29
Points: 0

Hi,
If you press the "Add" button twice you get an Exception :

<br />
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Keyframe fractions must be increasing: 0.2<br />
        at java.awt.MultipleGradientPaint.<init>(MultipleGradientPaint.java:166)<br />
        at java.awt.LinearGradientPaint.<init>(LinearGradientPaint.java:262)<br />
        at java.awt.LinearGradientPaint.<init>(LinearGradientPaint.java:221)<br />
        at java.awt.LinearGradientPaint.<init>(LinearGradientPaint.java:116)<br />
        at org.jdesktop.swingx.color.GradientTrackRenderer.paintComponent(GradientTrackRenderer.java:90)<br />
        at org.jdesktop.swingx.color.GradientTrackRenderer.paint(GradientTrackRenderer.java:56)<br />
        at org.jdesktop.swingx.JXMultiThumbSlider.paintComponent(JXMultiThumbSlider.java:132)...<br />

SwingX 1.6.2
Greetings,
Spinnifex

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kschaefe
Offline
Joined: 2006-06-08
Points: 0

Please file an bug for that.

Karl