This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes customizing an iconised JInternalFrame on taskbar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "customizing an iconised JInternalFrame on taskbar" Watch "customizing an iconised JInternalFrame on taskbar" New topic
Author

customizing an iconised JInternalFrame on taskbar

NIKHIL EROS
Greenhorn

Joined: Sep 21, 2001
Posts: 17
i want that when i iconize or minimize a JInternalFrame window on taskbar, bases on certain condition its minimized icon should change its colour or looks (like in yahoo messenger, when a message comes, the minimized or iconized instant message window blinks!!)
is there any class available for such customizations?? how should i achieve this?
thanks in advance
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Look at this post. It shows how to do this with a regular frame... shouldn't be too hard to change it for JInternalFrames...

-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Ovidiu Drumia
Greenhorn

Joined: Apr 08, 2009
Posts: 2
Have you tryed:
if(messageArrived){
if(!frameToBeHighlighted.isActive()){
frameToBeHighlighted.setVisible(true);
}
}

I've used a similar snippet on a JFrame I've wanted to be highlighted when minimized. It worked perfectly on Vista 32. I suppose it has to be multi-platform, but I haven't tested it. GL!
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44038
    
  33
Why have you reopened a 7-year old post? please read this.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44038
    
  33
But welcome to JavaRanch

We are pleased to have you here.
Ovidiu Drumia
Greenhorn

Joined: Apr 08, 2009
Posts: 2
Well, 1st of all thank you for welcoming me . I've reopened this thread because I've spent a lot of time on research on this topic, and I've finally come up with that simple answer yesterday. I thought that other developers that would have the same problem might benefit from my post. Anyway I hadn't had the time to read the forum rules just yet, so I'd like to apologize for reopening this post.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: customizing an iconised JInternalFrame on taskbar
 
It's not a secret anymore!