Question

Locked

JavaApp's SysTrayIcon not showng xfr windowLogin

By togreatmind ·
Hello
I have java application it creates the system try icon in window OS.when I start manually it run fine. But now I put my application to window startup mean my application should run when window boot without login. But problem is my application started and perform there taskes but it not adding the system tray icon when some one login. And even I notice that on window boot up my application is successfully creating the TrayIcon object ,creating MenuItem ,adding in popup and even adding the tray icon tray.add(trayIcon); even no any exception on window bootup,but when I login It

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

Clarifications

Collapse -
by robo_dev

What version of Windows? There can be timing issues where the systray program is busy and cannot process requests....for example some anti-virus apps peg the processor on Windows launch, so systray will miss an icon inclusion request. If you are launching your app via the registry, try loading it BEFORE other apps, or alternately, add it to the startup group and this may make your app load much later.

All Answers

Collapse -

Re:JavaApp's SysTrayIcon not showng xfr windowLogin

by togreatmind In reply to JavaApp's SysTrayIcon not ...

its window xp
i m launching my applcation using a service wrapper JSmooth. my app start on window boot but when i lgoingmy app's Trayicon not added.

Collapse -

Re:

by togreatmind In reply to JavaApp's SysTrayIcon not ...

its window xp
i m launching my applcation using a service wrapper JSmooth. my app start on window boot but when i lgoingmy app's Trayicon not added.

Collapse -

I would start by adding some delay, in case systray process is too busy

by robo_dev In reply to JavaApp's SysTrayIcon not ...

Again, it may be a timing issue, since invoking java runtime takes a LOT of time.

Again, you can invoke via the registry or the startup group, which have very different timing characteristics. If starting from the registry, you can experiment with changing the load order, which may fix it.

A sledgehammer fix would be to restart the explorer process in your app.

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums