Git Product home page Git Product logo

app-yin-yang's Introduction

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 [email protected].

app-yin-yang's People

Contributors

naoghuman avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.