简体   繁体   中英

SWT for tray icon in Swing application

The tray icon implementation in Java 1.6 has its limitations, eg no support for the alpha channel in the graphic icons. Did anybody tried to use SWT to support a native looking tray icon? Is that possible at all?

OK, I gave it a try: it works fine on Windows but on Linux it crashes as soon as I close a JFrame or JDialog . It looks like SWT gets confused by the AWT windows on its Linux implementation.

我认为您只会使用本机调用-我怀疑SWT到那时会为您做很多事情。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM