Link to home
Start Free TrialLog in
Avatar of danushka_l
danushka_l

asked on

TextArea Repaint Problem

Hi,
       I have this text area where when you type the text is not shown on the screen. If u minimize the screen and maximize it again then it shows. I have tried repaint method also but it does not solve the problem. This only happens in jdk1.5.

Please help

Thanks
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

You may have something blocking the event thread. What else are you doing?
Avatar of danushka_l
danushka_l

ASKER

i have this date time component which gives a pop up calander. This happens only if the date is shown from the calander. If u click any other component in the screen it becomes ok. I think its a repaint problem but repainting does not seem to work. I added a key listener to the textarea and the action gets called when keys are pressed but does not show in the screen
>>i have this date time component which gives a pop up calander

It's probably modal. Try turning its modal property off if you can
how is that possible? what do i have to do? i have never used ModelProperties.
Can you get at the window in which it appears or control it?
The class extends a JPanel. So i can get that panel.  
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial