Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-14-2007, 12:19 PM   PM User | #1
Ced88
New to the CF scene

 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Ced88 is an unknown quantity at this point
Close a frame from another frame

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.

Code:
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?
Ced88 is offline   Reply With Quote
Old 12-28-2007, 09:16 PM   PM User | #2
nickyfraggle
Regular Coder

 
Join Date: Mar 2006
Posts: 196
Thanks: 27
Thanked 2 Times in 2 Posts
nickyfraggle is an unknown quantity at this point
Hey...

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

Thanks,

Nicky
nickyfraggle is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:54 AM.


Advertisement
Log in to turn off these ads.