View Single Post
  #1 (permalink)  
Old 11-04-2007, 06:16 PM
archanajathan archanajathan is offline
Member
 
Join Date: Nov 2007
Posts: 5
archanajathan is on a distinguished road
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).
Reply With Quote
Sponsored Links