Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding KControls to Eclipse IDE #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,25 @@ Using Maven

Add your components to your code as described here

Using Eclipse IDE:
- Downoad jar [file](https://github.com/k33ptoo/KControls/blob/master/dist/KControls-2.0.jar)
- Open Eclipse and create your Swing Application.
- Right click on the folder name and select Build Path.
- In Module Path, click on Add External Jars, and give the path to the downloaded Jar File.
- Click Apply and Close.
- Open the design view of your application. (Alternatively, you can do Window -> Show View -> Other -> Window Builder -> Palette )
- In the palette, right click on System and select Import Jar.
- Browse to the location of the downloaded Jar File. Select and proceed, select KControls [KButton, KGradientPanel.. ]
components proceed to select the category and click OK.
- In your module-info.java file, write `requires KControls`.
- In your source code write this:
```
import com.k33ptoo.components.*;
```
- Open your JFrame drag KGradientPanel/KButton to it and set the
properties in the properties window.


Note: Custom properties starts with K eg KStartColor


Expand Down