Hi,
I want to put something I wrote online as an Applet, but when I want to revalidate the Applet, it won't work...
The last part seems a little bad, but it's the only way I was able to make it work on eclipse. But it still doesn't work online.... Any ideas?
I'd like to give you the url of the applet, but since I can't post it, PM me if you want it (if I can even post it on a PM)
Thanks in advance!
I want to put something I wrote online as an Applet, but when I want to revalidate the Applet, it won't work...
Code:
public class Vergaderingen extends JApplet implements ActionListener{
....
public void init(){
hoofdPaneel = new JPanel();
add(hoofdPaneel);
fillPaswoordPaneel();
}
public void fillPaswoordPaneel(){
paswoordPaneel = new JPanel();
paswoordPaneel.setLayout(new GridBagLayout());
....
hoofdPaneel.add(paswoordPaneel);
setSize(new Dimension(600,600));
}
//After the password and username are correctly put in, fillInhoudPaneel is called:
public void fillInhoudPaneel(){
JPanel inhoudPaneel = new JPanel();
inhoudPaneel.setLayout(new GridBagLayout());
....
....
hoofdPaneel.remove(0);
hoofdPaneel.add(inhoudPaneel);
hoofdPaneel.repaint();
hoofdPaneel.revalidate();
}
I'd like to give you the url of the applet, but since I can't post it, PM me if you want it (if I can even post it on a PM)
Thanks in advance!