I've written an applet (not a j applet). Inside the init() method I create a button, set it to invisible i.e. Button.setVisible(false), add it to a panel and then add the panel to the applet. In the actionPerformed method I then set the Button to visible again. It appears that setting the button to visible inside the init() method will work, but setting it to visible in any other method wont. Is there any other way that I can make a Button appear outside of the init() method?
Thanks a lot.