Solved

jFrame in Messenger style

Posted on 2006-10-20
9
736 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
ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupNoAdj 7 95
advertisement module in core php 4 161
Error trying to install RTMT Win7 5 60
Custom Java Application connects to database: Which one of the 20? 4 27
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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

770 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