• Post Reply Bookmark Topic Watch Topic
  • New Topic

Swing App Full Screen Mode

 
Khp Virajith
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • 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
 
kiran raja
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Run the screen update in synchronized thread.

Cheers
Kiran
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!