?
Solved

jFrame in Messenger style

Posted on 2006-10-20
9
Medium Priority
?
759 Views
Last Modified: 2008-01-09
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
0
Comment
Question by:woigl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 17772001
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 17772007
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!
0
 

Author Comment

by:woigl
ID: 17772014
are you sure?

what functionality is in java 6 that i can use for it?
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 24

Expert Comment

by:sciuriware
ID: 17772019
I'm afraid that 6 only ADDs the system tray option.

;JOOP!
0
 

Author Comment

by:woigl
ID: 17772031
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?
0
 
LVL 14

Accepted Solution

by:
hoomanv earned 1000 total points
ID: 17772132
Flash taskbar and many other nice features thru JNI
See the demo here: http://www.jniwrapper.com/pages/winpack/demo
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 17772316
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!
0
 

Author Comment

by:woigl
ID: 17772360
i currently try the demo of the jniwrapper
0
 

Author Comment

by:woigl
ID: 17801777
jniwraper works great... it solve all my issues - thanks a lot
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question