Commit Graph

40 Commits

Author SHA1 Message Date
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
nathan
4c3c167a06 Cleaned up comments w.r.t. JNA 2016-04-05 14:05:53 +02:00
nathan
a68c79182d Cleaned up memory leaks. Added SystemTray.getStatus(). Cleaned up support for SWT. 2016-02-15 13:27:33 +01:00
nathan
3507869c35 Removed checked expections (now they are unchecked). Added better detection of JavaFX. 2016-02-14 17:51:35 +01:00
nathan
010a91ca68 Added support for detecting if javaFX already started the GTK event loop (and hooking into the right places for shutdown if it does). 2016-02-14 12:58:45 +01:00
nathan
2aaf41204e Updated test app. No longer have System.exit(0), with coments 2016-02-13 19:11:58 +01:00
nathan
42f2c8ea71 test application now calls shutdown() 2016-02-13 19:01:31 +01:00
nathan
8b109f6d1c Converted SystemTray to use a singleton pattern for ease of use. Icon *must* be set to see it (obviously). Updated Readme.md example. 2016-02-12 02:30:33 +01:00
nathan
801baad635 Added SystemTray.getVersion(), added URL and InputStream (to all methods that previous accepted String) for setting images in the menu/tray. Moved package out of util. 2016-02-12 01:51:15 +01:00
nathan
dfeb377ab1 updated comments 2016-02-11 15:32:00 +01:00
nathan
3c82945771 updated example 2015-11-15 14:53:54 +01:00
nathan
a2e1549ed6 Added test source 2015-11-09 16:21:15 +01:00