[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Swing gradients
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: Swing gradients |
Date: |
Wed, 16 Nov 2005 14:38:33 +0000 |
Hi,
inspired by the email from theUserBL, I digged a little for myself and
finally 'decoded' the gradient parameters in the UI defaults of JDK1.5
and implemented the gradient algorithm using only plain Graphics. (Of
course, as soon as we have a working Graphics2D this can easily be
enhanced with using Graphics2D).
This patch contains the actual painting methods. I'll build this into
the Swing components now.
2005-11-15 Roman Kennke <address@hidden>
* javax/swing/plaf/metal/MetalUtils.java
(paintGradient): New utility method(s).
(paintHorizontalGradient): New utility method.
(paintVerticalGradient): New utility method.
/Roman
patch.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: Swing gradients,
Roman Kennke <=