dustinkredmond / FXTrayIcon

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

Overloaded Constructors #15

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.

dustinkredmond commented 3 years ago

@EasyG0ing1 this looks good, I'll merge now. Thank you for the contribution!