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

Simple Modifications #14

Closed EasyG0ing1 closed 3 years ago

EasyG0ing1 commented 3 years ago

Overloaded FXTrayIcon class constructor to include option of setting the size of the icon. Added method to retrieve the number of MenuItems currently in the FXTrayIcon.

Library still behaves as it always did so that if instantiating FXTrayIcon with just the parentStage and the iconImagePath, the icon defaults to 16 x 16.

EasyG0ing1 commented 3 years ago

Javadoc for overloaded class was missing a parameter. Fixing it and starting a new pull request.