jFrame in Messenger style

woigl
woigl used Ask the Experts™
on
i want to open a jFrame iconified but i want the same effect then Windows use it with Messenger..

thats mean the new jFrame instance is opened iconified but it starts to blinking in the TaskBar...

has anyone an idea how to do this?

Kind Regards Stefan
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
In JAVA 5 an iconified application starts blinking when you add a new component to the main frame.
I don't know why, but it serves your needs in this case.

CEHJ's solution brings up an icon in the system tray, that stays there.
That's new, but not what you asked for.

;JOOP!

Author

Commented:
are you sure?

what functionality is in java 6 that i can use for it?
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

I'm afraid that 6 only ADDs the system tray option.

;JOOP!

Author

Commented:
Okay Joop, that sounds good,

but can you explain what you mean with iconified and component?

you mean i should put the frame iconified and then i place a new component?
Top Expert 2006
Commented:
Flash taskbar and many other nice features thru JNI
See the demo here: http://www.jniwrapper.com/pages/winpack/demo
I noticed accidently that when I added a button to my iconified (thus invisible)
JFrame (in effect to some JPanel on it) the taskbar icon started to flash.

;JOOP!

Author

Commented:
i currently try the demo of the jniwrapper

Author

Commented:
jniwraper works great... it solve all my issues - thanks a lot

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial