This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • 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
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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: 62871
203
  • 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: 62871
203
  • 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.
 
And inside of my fortune cookie was this tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!