I have an applet problem. It happens with nearly all of them that I write (Code snippets can be given on request).

Whenever I have a button click event, literally nothing happens until I click on the outer edge of the applet to resize the window. Then whatever event I have selected happens (either remove(something) or con.add(something)). Every time. I don't really understand why it's happening. Has anyone had this happen to them or maybe give me some advice on how to get the actual button click to take care of it (you know, without adding the extra clicks)?

Thanks!