File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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: 39408
    
  28
Why have you reopened a 7-year old post? please read this.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39408
    
  28
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: customizing an iconised JInternalFrame on taskbar