Modern window decorator for javafx applications
This lib is a compnent for JavaFx: Get in the offical website JavaFx, Tutorial Getting Started
I have a great workstation here, then I've using a gradle 7.2 and Java and JavaFx +16 on Windows. (I really want to test in other systems in future).
Now you have many ways to get that! !ποΈNote ** The release has the first changes I made and releases in nexus are more stable π₯Έ***
πIn code blocks find the copy button... is cooler, it automatically knows if your target is a pom.xml or gradle.build
For installing decorator, you have this options:
If you use maven add in pom.xml:
<dependency>
<groupId>io.github.gleidsonmt</groupId>
<artifactId>gndecorator</artifactId>
<version>2.2.25</version>
</dependency>
.. or in gradle.build:
implementation 'io.github.gleidsonmt:replaceVersionInREADME:2.2.25'
Begin to use... Java Code!
GNDecorator decorator = new GNDecorator();
decorator.setTitle("JavaFx Application");
decorator.setContent(content);
decorator.fullBody() // the content occupies all of size
// Adding menus
Menu menu = new Menu("File");
menu.getItems().add(new MenuItem("Open"));
menu.getItems().add(new MenuItem("Close"));
decorator.addMenu(menu);
decorator.addMenu(1, menu);// add with a index
// Adding custom controls
ButtonTest a1 = new ButtonTest("Button 1");
decorator.addControl(a1);
decorator.addControl(index, a1); // add with a index
root -> SstackPane
body -> AnchorPane
top_left -> Path
top_right -> Path -- rotation 90Β°
bottom_left -> Path -- rotation 270Β°
bottom_right -> Path -- rotation 180Β°
Short Presentation here
Next steps:
To contributing to project, follow these steps:
git checkout -b <branch_name>
.git commit -m '<commit_message>'
git push origin GNDecorator / <local>
However, if you don't know How to create a pull Request.
π€I really need more friends.. Send me a email .
This project is under license. See the file LICENSE to more details.