"It is almost complete, but there is one problem: when the applet is drawing the graph, I can not use buttons or other components." . . . .