This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java in SysTray

 
ryan headley
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to to put an Icon in the systray for a Java application that is run at startup?
Ryan
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well now, that would depend on the operating system wouldn't it.
Not a very Java oriented thing to worry about.
I expect you can do it for which ever system that YOU are chaining yourself to, but it might take a JNI interface.
 
ryan headley
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DOH!! Don't kill me heh...Yer right, I was just thinking in MS windows terms. And believe me, I am NOT an MS Biggot. I just wrote a little app for a helpdesk that sends alerts for downed systems and such and someone asked if I could put something in the system tray.
I thought I'd check into it for them, but now that you mention it, I don't want to chain myself (or the app) to any OS...my brain was on vacation!!
1,000 pardons...
Thanx though...
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem. Didn't mean to sound like I was jumping on you.
But glad to see that you are maintaining your neutrality .
 
ryan headley
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem,
I seem to ask the type of questions that get that sort of response though.
I just posted another question in the Swing forum about a Window and how to give it an "always on top" type function.
The reply I got basically made me feel like an ID10T with a sort of "Why the hell would ya wanna do that" attitude. So I explained why, and I thinks its a good reason.
Any, I hope i get an answer...but if this keeps up, we're gonna need a "Rants" forum on JavaRanch
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic