gui gone with JFileChooser
Hi,
I encountered an interesting problem this morning. I intialized the JFileChooser component globally ( not in any method of the class). Previously It was in the actionPefromed() method.
when I run the program I see no alphabets or script in my GUI. Everything is lost. even the text data in textfieild components is not visible. Interesting I am able to select the text. This means the text is there but not visible.
I rolled back the initialization to actionPerfromed method, and everything worked fine.
I failed to find logic for this behaviour. How could JFileChooser be responsible? that too intialization inside a method or globally should'nt affect the GUI.
Am I missing something?
Thank u for ur time,
regards,
Rajesh Rapaka.

