problem - no components after switching apps
Hi!
I've got some problem with my swing app. Bsicly it all works good by the time I switch another application so that it covers my swing app. then when I try to switch it back it shows only a blank window without anything on it. Moreover I get 100% cpu usage by java platform.
My app looks moreless like this:
I've got main() in whisz i create a JFrame, on which I later put some button, text fields and two objects extending JComponent on which I paint some stuff using paintComponent() method.
This is first time I'm using JComponent for painting and I guess this might be a problem.
Anybody has any idea?

