Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Paint() method interfering with Swing
I have an applet I have been working on. The First part of it is a login screen made with swing. The second part uses images from the paint () method.
But when the pain method is there, even thought it is currently empty, it makes the swing components show funny. Like some times they will now be there until I put the mouse over them or some times only a few of them will show. If I remove the paint method it works fine. But I need the paint method in the future so what should I do?