Solved

jFrame in Messenger style

Posted on 2006-10-20
9
714 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
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
 
LVL 24

Expert Comment

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

;JOOP!
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

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 250 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now