• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Swing App Full Screen Mode

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Ranchers,

I have developed a full screen frame for a login interface. In order to avoid user minimizing that window by pressing "windows key" or alt+tab or alt+ctrl+del I have added a window activation/deactivation listener. so whenever the frame is deactivated, event-listening code will activate it by calling extendedState() method. But sometimes when frame is restored (after it's minimized) components in that frame won't be drawn on screen properly. sometimes some sort of a color mess (color dots/lines,etc) is displayed rather than the intended components.
Is there any way to avoid that?

Regards,
VIRAJ
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Run the screen update in synchronized thread.

Cheers
Kiran
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic