Commit Graph

61 Commits

Author SHA1 Message Date
Robinson b38cecff17
Fixed imports, updated license. 2023-01-15 00:49:31 +01:00
Robinson 9c257c4c93
file modes update 2023-01-05 23:58:19 +01:00
Robinson 724019615a
Added support for macOS-AWT try type. The OSX native tray type was broken by the big sur (macos11) update.
Updated gradle
2022-12-30 11:59:03 +01:00
Robinson fe60c7b7c7
Updated OS dependency 2022-03-07 22:26:11 +01:00
Robinson b91c7d6ff0
Spacing 2021-12-13 15:52:24 -07:00
Robinson e2d32a7bd1 SWT/JavaFX "shutdown hooks" have changed. Since it's no longer available with JPMS, so it is no longer supported. Developers must add the shutdown hooks themselves. 2021-05-02 12:26:01 +02:00
Robinson 97f0a82af2 Added support for closing JavaFX/SWT/etc windows, and *not* closing the SystemTray. Automatically closing the SystemTray when the JavaFX/SWT window, requires an explicit call to `installShutdownHook()` 2021-03-29 00:24:06 +02:00
Robinson 7fa3e30e7e Added resource + test for issue #123 2021-03-12 01:27:22 +01:00
Robinson dc2b4aa8e0 back to auto-detect type 2021-02-10 00:47:52 +01:00
Robinson 8e1219d88e Updated copyright 2021-01-31 22:29:08 +01:00
Robinson 527839d9cb Code polish/cleanup warnings 2021-01-31 21:29:12 +01:00
Robinson cc7305e1af Better support for running multiple system tray menus from the same JVM 2021-01-31 19:31:30 +01:00
Robinson 53bd1a0bbe CacheUtil can now be specified with a name (so more than 1 can exist) 2021-01-31 00:36:07 +01:00
Robinson a7d6997dcd Updated OS package 2021-01-27 00:28:14 +01:00
nathan 44a6409a25 Updated libraries, reverted some previous library updates. **CONSTRAINED TO Java 1.6** 2020-11-01 12:20:30 +01:00
nathan 61508c7e0f Updated libraries 2020-08-19 13:06:49 +02:00
nathan baec7098ea #102 Menu add/remove is now on the dispatch thread, so they will always run in the correct order. 2019-05-13 00:25:24 +02:00
nathan 56832b44ca Added ability to query the system tray type 2018-11-10 23:44:09 +01:00
nathan f0e7ff5cf8 Updated URL for test examples 2018-11-10 23:43:24 +01:00
nathan e0e103be08 Added `App Name` (issue #68 on github) for linux desktop that *sometimes* use a ID string for the tray icon. Previously this was "SystemTray", now it is configurable. 2018-11-04 01:01:29 +01:00
nathan 0962408edb Added dynamic adding of menu entries to examples 2018-10-24 01:05:15 +02:00
nathan 79a7ccbe5c Changed test examples to add menu as an 'out of order' entry 2017-09-17 21:01:29 +02:00
nathan 9479f34a29 Added temp directory to test case 2017-09-03 14:52:04 +02:00
nathan 65e7c669b5 Added Menu Entry tooltip support. Emits warning on first load of
tooltips (as they are not supported by all OS configurations). This
warning can be suppressed. Misc fix for loading swing with GTK.
2017-07-24 14:32:58 +02:00
nathan 1e21d305be Commented out test code from the examples 2017-07-18 16:43:13 +02:00
nathan 08b86cf16f Removed test code 2017-07-16 02:19:37 +02:00
nathan e9d10b0bf9 Added 'about' -> https://github.com/dorkbox/SystemTray to the test
examples.
2017-07-16 02:07:07 +02:00
nathan 68c9795674 (reverted) Changed Util class names 2017-07-15 18:26:17 +02:00
nathan 3d652e2d14 Changed Util class names 2017-07-14 18:34:55 +02:00
nathan 9fcbfd0e3c Code polish for tests 2017-07-14 00:46:12 +02:00
nathan b49688aac7 Example code cleanup 2017-07-12 02:28:02 +02:00
nathan d263df78a6 Cleaned up test examples 2017-02-26 00:09:52 +01:00
nathan 0e5d52352b Updated Swing menu item behavior to permit customization. 2017-02-17 15:50:42 +01:00
nathan 3d510e7092 Removed commented out/dead code 2017-01-30 01:56:12 +01:00
nathan 3c24139544 Removing logic to choose between swing/native menus (Swing w/
appindicators is broken)
2017-01-30 01:34:36 +01:00
nathan ec9499c1bb Added support for tooltips. note: AppIndicators DO NOT support tooltips 2017-01-30 00:25:01 +01:00
nathan c524585dec API Changed SystemTray.get() -> SystemTray.getSwing() to be
consistent with getNative() and to indicate that neither are preferred.
2017-01-21 15:49:58 +01:00
nathan 146afbf949 Cleaned up examples 2016-10-24 01:53:01 +02:00
nathan 599dabf4ef Code polish, documentation, cleanup for API changes 2016-10-24 01:43:32 +02:00
nathan 86d031ed7c Added better detection for click-jack detection on MacOS. 2016-10-17 12:07:56 +02:00
nathan a07c5e8ab8 Changed action callback to ActionListener. Added checkbox. 2016-10-17 11:47:25 +02:00
nathan 09143f7630 API cleanup, WIP adding widgets to the menu (on pause because of
problems with the enter key not responding after this). Updated test
examples.
2016-10-10 22:40:39 +02:00
nathan 919120701d Added SystemTray.setEnabled(). Updated test examples. 2016-10-10 01:15:32 +02:00
nathan 53a9110605 Clean API 2016-10-10 00:30:40 +02:00
nathan 1a35cb8726 API CHANGE (setIcon -> setImage) for API consistency with how
menus/entries get their image set. Class heirarchy is now consistent
with all menu types (system tray + sub-menus)
2016-10-08 23:54:45 +02:00
nathan 4bbe713519 Updated examples to include new functionality 2016-10-03 23:58:25 +02:00
nathan bf3cb8de11 Refactored out Menu object (from the SystemTray object). Converted
SystemTray into a crossPlatform proxy. WIP submenus
2016-09-29 01:44:11 +02:00
nathan c9b0cce1e3 Refactored status entries, added spacers to menu 2016-09-28 02:51:06 +02:00
nathan a985827f5b Changed out icons for ones that fill the entire space (less padding) 2016-09-25 15:52:15 +02:00
nathan 3048e0e088 Claened imports 2016-09-22 16:18:50 +02:00