Java Components are not displayed(sometimes)
My java applications consists of a 2 JTextArea, JButton, and 2 images.
When i execute my program, i have noticed that sometimes all these components dont get displayed.
For example, the 1st JTextArea gets displayed but the rest of the components are hidden. The JButton gets displayed when i move the mouse over it and the 2nd textarea gets displayed when i select its text.
I have included setVisible(True); at every possible and needed step.
This problem sounds strange. And it happens atleast once in 3 executions. Rest of the 2 executions seems just normal (as expected).