Showing posts with label repaint. Show all posts
Showing posts with label repaint. Show all posts

Friday, January 13, 2012

repaint() in Java


I write a Java code, but I have a trouble with GUI problem. When I add a component into JFrame object, then I call repaint() method in order to update the GUI but it doesn't work. But when I minimize or resize this frame, the GUI is updated.