Tag Archives: JButton

Custom JButton with Gradient Color

This is another task done by Mashuk. This is an implementation of a “push” button which support gradient background with two color. It extends JButton. So we can use all the feature of JButton. It has a method named setGradient(Color color1, Color color2) by which we can set the colors of the gradient background.
Read more