Solved

How to Flash/Blink the Taskbar button of an java Application

Posted on 2010-08-23
3
923 Views
Last Modified: 2013-11-23
I need to blink taskbar button of java application 3 times to alert the user.

I do not want to use native solution.
0
Comment
Question by:sultanpc
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 33507781
you can try calling toFront() on your frame, you can't control how any times it flashes though
other than that think you're stuck with native solutions
0
 
LVL 11

Assisted Solution

by:Bruce Smith
Bruce Smith earned 250 total points
ID: 33507800
Okay, so I'm not sure you can do this using a non-native solution but the following seems to accomplish what you're looking for. It flashes the task-bar (not necessarily 3 times) but definitely alerts the user.

[code]
this.toFront();
this.toBack();
[/code]

Or instead of 'this', the name of the frame or panel you want to bring to attention.
0
 

Author Closing Comment

by:sultanpc
ID: 33555411
Thanks for the support. It works with Vista
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTTPSessionBindingListernter not configured in deployment descriptor 2 65
tomcat administrtor 12 58
null output 3 35
Java class and jar 3 19
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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:
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

791 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