https://github.com/k33ptoo/kgradientpanel
A Swing Gradient Panel
https://github.com/k33ptoo/kgradientpanel
java java-library javaswing keeptoo
Last synced: 4 months ago
JSON representation
A Swing Gradient Panel
- Host: GitHub
- URL: https://github.com/k33ptoo/kgradientpanel
- Owner: k33ptoo
- Created: 2018-04-17T16:26:16.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-07T10:04:40.000Z (over 7 years ago)
- Last Synced: 2025-04-04T03:04:20.334Z (10 months ago)
- Topics: java, java-library, javaswing, keeptoo
- Language: Java
- Size: 562 KB
- Stars: 53
- Watchers: 5
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KGradientPanel
As simple as is - it is just a **Swing** panel with **Gradient**
See below example the result of using KGradientPanel

# How to use KGradientPanel
- Open **Netbeans** Create your Swing application, head to **Palette** right click and select **Palette Manager** select **Add From Jar** and browse to the location of the downloaded jar file.
Select and proceed, select **KGradientPanel** component proceed to
select the category and hit **Finish**.
- Open your **JFrame** drag KGradientPanel to it and set the following properties in the properties window.
# Properties
**kEndColor(Color)**
Gets or sets the button’s gradient end color to the right.
**kGradientFocus(int)**
Gets or sets the location to which the gradient should focus (accepts negative value)
**kStartcolor(Color)**
Gets or sets the button’s gradient end color to the left.
*You can play around **gradientFocus** value to achieve a much better effect.*
## Download
[KGradienPanel Jar](https://github.com/k33ptoo/KGradientPanel/raw/master/dist/KGradientPanel.jar)
## Sample Project
[KGradientPanel Example](https://github.com/k33ptoo/SignUp_KGradienPaneltExample.git)