The Source for Java Technology Collaboration

Home » java.net Forums » JDK » 6uN Early Access

Thread: are any system tray icon RFEs planed for 6uN?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 4 - Last Post: Jan 26, 2008 2:32 PM by: mbien Threads: [ Previous | Next ]
mbien

Posts: 157
are any system tray icon RFEs planed for 6uN?
Posted: Jan 6, 2008 5:35 AM
  Click to reply to this thread Reply

the current system tray icon implementation is not as good as it could/should be.

- it uses the heavyweight java.awt.PopupMenu which looks good on windows but very bad on linux (I haven't tested it on mac)
- no icon support in the menu (->java.awt.MenuItem)
- SVG is also not supported (at least it didn't worked as I tried it the last time)

there are some hacks which try to use Swing popup capabilities, but all of them have also problems in the cross platform area.

linuxhippy

Posts: 646
Re: are any system tray icon RFEs planed for 6uN?
Posted: Jan 6, 2008 8:06 AM   in response to: mbien
  Click to reply to this thread Reply

As far as I know no API additions/modifications are planned for update releases, so these will probably have to wait until JDK7.

I also don't understand why they used AWT components, making things so ugly, complex and hard again :-/

lg Clemens

alexfromsun

Posts: 404
Re: are any system tray icon RFEs planed for 6uN?
Posted: Jan 11, 2008 5:55 AM   in response to: linuxhippy
  Click to reply to this thread Reply

Hello mbien

The fact TrayIcon wasn't designed to work with JPopupMenu's is very pity
and I am really sorry about that

it is clearly our fault

I fixed several bugs for 6uN to enable JPopupMenu for TrayIcon
and since 6uN early access is available and trayIcon is a known problem
I'll write a blog with all details next week to get the early feedback

I'll post the link here

Thanks
alexp

mbien

Posts: 157
Re: are any system tray icon RFEs planed for 6uN?
Posted: Jan 12, 2008 4:09 PM   in response to: alexfromsun
  Click to reply to this thread Reply

great to hear that!

since 6uN is the consumer release, things like a good system tray support are essential features.
I am looking forward to read your blog entry :)

Thanks,
michael

mbien

Posts: 157
Re: are any system tray icon RFEs planed for 6uN?
Posted: Jan 26, 2008 2:32 PM   in response to: alexfromsun
  Click to reply to this thread Reply

> I'll write a blog with all details next week to get
> the early feedback

week is over and still no blog entry
just in case you forgot about it ;)




 XML java.net RSS