Commit Graph

40 Commits

Author SHA1 Message Date
nathan e8cf81637a Custom Swing UI now defaults to the built-in checkmark 2017-07-01 20:39:31 +02:00
nathan 2c362c63d1 Code polish 2017-07-01 16:07:31 +02:00
nathan 6b1d0c4a12 Updated comments WRT component sizing information 2017-03-05 00:19:20 +01:00
nathan 0455507f51 Added comments 2017-03-03 15:56:39 +01:00
nathan d263df78a6 Cleaned up test examples 2017-02-26 00:09:52 +01:00
nathan 238e5d8afa Moved DeafultUI implementations to Utils 2017-02-17 16:23:08 +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 e24e42e4d9 Fixed javaFX example to be CORRECT (just because it works, doesn't
mean it's correct). MacOSX is particularly sensitive to "correctness"
2016-12-10 22:15:28 +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 512d5b794c Fixed missing file 2016-10-12 15:23:33 +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 a4bad80479 Code cleanup 2016-09-22 21:45:53 +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 85ba4c9380 Added support (and configuration info) for using the SystemTray with SWT 2016-02-15 00:55:03 +01:00
nathan 444562f3c6 Added SWT compatible tray type (it is just a wrapper for SWT SystemTray) 2016-02-14 21:54:21 +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