Mot
Mot

Reputation: 29550

SWT for tray icon in Swing application

The tray icon implementation in Java 1.6 has its limitations, e.g. 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?

Upvotes: 1

Views: 695

Answers (2)

Mot
Mot

Reputation: 29550

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.

Upvotes: 1

Kevin Day
Kevin Day

Reputation: 16383

I would think that you'd just use native calls - I doubt that SWT would be doing much for you at that point.

Upvotes: 0

Related Questions