This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

notification icon question  RSS feed

 
Jiafan Zhou
Ranch Hand
Posts: 193
Fedora Linux Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I nearly searched every thread of this forum and every Swing material in order to solve my question. But I can't.
Does anybody know is there any feasible way to minimize your JFrame and put it into an notification icon place ,say on Windows XP notification region. And double click it to maximum the JFrame. I do know it can be easily done under the Visual Studio2003, but it seems impossible in Java.
 
todd runstein
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Forgive my ignorance, but I don't use XP, so I have no idea what the "notification region" is. Suppose you got this to work - what would you want it to do on my Linux system or my friends Mac? In fact, what would you want it to do on a windows 95/98/nt/2000 machine (do those have a "notification region)?

I'm not trying to be a smart ass here - really. I'm suggesting that if you're trying to write an application that only works on XP, why not continue using visualstudio?
 
Jiafan Zhou
Ranch Hand
Posts: 193
Fedora Linux Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I might use the term "System Tray" instead of "Notification icons" since WindowsXp uses the name in its start menu. Does anybody have any idea or hint on this?
 
Jiafan Zhou
Ranch Hand
Posts: 193
Fedora Linux Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And forgive my confusing on you also, you know the place right-below your desktop on the taskbar. Personally speaking, I prefer to Visual Studio (any language especially C# ,upon VS)a lot more than Java, however ,it's bit frustrating when you finish your s/w and you suddenly realize some technology you assumed is not feasible at this stage.
 
todd runstein
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now I get what you're trying to do. I think what you're looking for is this:
http://launch4j.sourceforge.net/
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!