Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

customizing an iconised JInternalFrame on taskbar

 
NIKHIL EROS
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ovidiu Drumia
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 50258
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why have you reopened a 7-year old post? please read this.
 
Campbell Ritchie
Sheriff
Pie
Posts: 50258
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But welcome to JavaRanch

We are pleased to have you here.
 
Ovidiu Drumia
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic