Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flashing JFrame

 
Ted Brown
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to create a JFrame with two specifal features:

JFrame should not grab focus while maximized from minimized state.
When a JFrame created or became maximized from minimized state, it should flash in the Windows bar until a user will grant a focus to it. (like as in ICQ clients ).
Does anybody know how the second requirement can be implemented?

Little self-explained example:


Thanks!
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
 
Ted Brown
Greenhorn
Posts: 4
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for telling us that, but don't you think you should inform the good folk at java.net about the multiple cross posts?
 
Ted Brown
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure, my fault.

Maybe you can advise me something regarding the cause of topic?
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
travishein suggested an approach involving JNI. Did you try it?
 
Ted Brown
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, but this is not very convenient way, and, unfortunately, not applicable in my particular case. I'm still hoping that the native Java solution exists.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic