dustinkredmond / FXTrayIcon

Tray Icon implementation for JavaFX applications. Say goodbye to using AWT's SystemTray icon, instead use a JavaFX Tray Icon.
MIT License
324 stars 25 forks source link

Added relevant methods for CheckMenuItems, updated Builder ... #56

Closed EasyG0ing1 closed 2 years ago

EasyG0ing1 commented 2 years ago

Added two methods to the main class so that the CheckMenuItems can be accessed after being added to the menu, which makes sense since someone might need to know whether or not the menuItem is actually checked or not.

Added methods to the Builder class to accommodate CheckMenuItems

Added TWO example apps showing how to use CheckMenuItems - one is Builder style only the other not so much.

Updated README and inserted an animated GIF showing the use of CheckMenuItem

Updated the Builder tutorial for same...

Javadoc comments all nice and tidy

Tested to make sure that CheckMenuItems get rejected if they have the same label as an existing MenuItem.

dustinkredmond commented 2 years ago

Merging and pushing release later tonight. Thanks @EasyG0ing1