Maybe it helps if I send you all the parameters for gradients in the OceanTheme. I think that there should only be one method for drawing the gradient, which should be customized using the parameters. Here they come:
Key: Button.gradient Value: [0.3, 0.0, javax.swing.plaf.ColorUIResource[r=221,g=232,b=243], javax.swing.plaf.ColorUIResource[r=255,g=255,b=255], javax.swing.plaf.ColorUIResource[r=184,g=207,b=229]], Type: java.util.Arrays$ArrayList Key: CheckBox.gradient Value: [0.3, 0.0, javax.swing.plaf.ColorUIResource[r=221,g=232,b=243], javax.swing.plaf.ColorUIResource[r=255,g=255,b=255], javax.swing.plaf.ColorUIResource[r=184,g=207,b=229]], Type: java.util.Arrays$ArrayList Key: CheckBoxMenuItem.gradient Value: [0.3, 0.0, javax.swing.plaf.ColorUIResource[r=221,g=232,b=243], javax.swing.plaf.ColorUIResource[r=255,g=255,b=255], javax.swing.plaf.ColorUIResource[r=184,g=207,b=229]], Type: java.util.Arrays$ArrayList Key: MenuBar.gradient Value: [1.0, 0.0, javax.swing.plaf.ColorUIResource[r=255,g=255,b=255], javax.swing.plaf.ColorUIResource[r=218,g=218,b=218], javax.swing.plaf.ColorUIResource[r=218,g=218,b=218]], Type: java.util.Arrays$ArrayList Key: RadioButton.gradient Value: [0.3, 0.0, javax.swing.plaf.ColorUIResource[r=221,g=232,b=243], javax.swing.plaf.ColorUIResource[r=255,g=255,b=255], javax.swing.plaf.ColorUIResource[r=184,g=207,b=229]], Type: java.util.Arrays$ArrayList Key: RadioButtonMenuItem.gradient Value: [0.3, 0.0, javax.swing.plaf.ColorUIResource[r=221,g=232,b=243], javax.swing.plaf.ColorUIResource[r=255,g=255,b=255], javax.swing.plaf.ColorUIResource[r=184,g=207,b=229]], Type: java.util.Arrays$ArrayList Key: ScrollBar.gradient Value: [0.3, 0.0, javax.swing.plaf.ColorUIResource[r=221,g=232,b=243], javax.swing.plaf.ColorUIResource[r=255,g=255,b=255], javax.swing.plaf.ColorUIResource[r=184,g=207,b=229]], Type: java.util.Arrays$ArrayList Key: Slider.gradient Value: [0.3, 0.2, javax.swing.plaf.ColorUIResource[r=200,g=221,b=242], javax.swing.plaf.ColorUIResource[r=255,g=255,b=255], javax.swing.plaf.ColorUIResource[r=184,g=207,b=229]], Type: java.util.Arrays$ArrayList Key: ToggleButton.gradient Value: [0.3, 0.0, javax.swing.plaf.ColorUIResource[r=221,g=232,b=243], javax.swing.plaf.ColorUIResource[r=255,g=255,b=255], javax.swing.plaf.ColorUIResource[r=184,g=207,b=229]], Type: java.util.Arrays$ArrayList Cheers, Roman
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ Classpath mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath

