• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

customizing an iconised JInternalFrame on taskbar  RSS feed

 
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
 
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
 
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!
 
Marshal
Posts: 60785
190
  • 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
Marshal
Posts: 60785
190
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!