...

View Full Version : Close a frame from another frame



Ced88
12-14-2007, 01:19 PM
Like the title says, I want to close a frame while i'm inside another frame.

I've got 2 frames. Frame 1 is called Create and Frame 2 is called Manual.
Inside Frame 1 is a button that should close Frame 2.

This is the piece of code for the button that should close Frame 2.



class btnHandleidingUitHandler implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
Handleiding.setVisible(false);
}
}


For some odd reason this doesn't work. Anyone out there that can help me with this? :)

nickyfraggle
12-28-2007, 10:16 PM
Hey...

Can you give me a little more code to have a look at?

Thanks,

Nicky



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum