[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2010-08-23
3
Medium Priority
?
955 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 750 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 750 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
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…
This video teaches viewers about errors in exception handling.
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.
Suggested Courses
Course of the Month17 days, 15 hours left to enroll

829 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