I tried repaint in action event but its not working unless that action event is over...is there any way i can use repaint in action event.??