Skip to content
This repository has been archived by the owner on Jun 11, 2023. It is now read-only.
/ app-yin-yang Public archive

The app Yin-Yang is a little JavaFX application which demonstrate some nice JavaFX features like borderless application, multilingualism, animations aso..

License

Notifications You must be signed in to change notification settings

Naoghuman/app-yin-yang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yin-Yang

Build Status license: GPL v3 GitHub release

Intention

The app Yin-Yang is a little JavaFX & Maven desktop application which demonstrate some nice JavaFX features like borderless application, multilingualism, animations aso..

Image: Some snapshots
Intention_Screenshoot_v0.8.0_2018-11-25_07-59.png

Content

Features

TODO

Borderless transparent application

In JavaFX it's really simple to create a borderless application with transparent background color.

In the first step the background color from the Scene needs to set to transparent.

@Override
public void start(Stage primaryStage) throws Exception {
    ...
    final Scene scene = new Scene(view.getView(), 330.0d, 330.0d);
    scene.setFill(Color.TRANSPARENT);
    ...
}

In the second step the style from the Stage need to be adjusted.

@Override
public void start(Stage primaryStage) throws Exception {
    ...
    // Defines a normal Stage style with a solid white background and platform decorations.
    stage.initStyle(StageStyle.DECORATED);

    // Defines a Stage style with a solid white background and no decorations.
    stage.initStyle(StageStyle.UNDECORATED);

    // Defines a Stage style with a transparent background and no decorations.
    stage.initStyle(StageStyle.TRANSPARENT);
    ...
}

Image: Demonstration from different StageStyles From left to right: decorated, undecorated, transparent
StageStyles_v0.9.0_2018-11-28_22-13.png

Multilingualism application

TODO

Always on top

TODO

Animations

TODO

Action event handling

TODO

Simple data storage

TODO

Installation

  • If not installed download minimal JRE 8 or the JDK 8.
  • Download the file yin-yang-0.1.0.zip.
  • Extract the file to a place your choice.
  • To start the application double click the jar file 'yin-yang-0.1.0.jar' in the extracted folder.

Contribution

  • If you find a Bug I will be glad if you could report an Issue.
  • If you want to contribute to the project plz fork the project and do a Pull Request.

License

The project Yin-Yang is licensed under General Public License 3.0.

Autor

The project Yin-Yang is maintained by me, Peter Rogge. See Contact.

Contact

You can reach me under peter.rogge@yahoo.de.

About

The app Yin-Yang is a little JavaFX application which demonstrate some nice JavaFX features like borderless application, multilingualism, animations aso..

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages