?
Solved

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

Posted on 2010-08-23
3
Medium Priority
?
940 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
[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
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month11 days, 1 hour left to enroll

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