Sign in to follow this  
DutchValiance

Frame Button Problems

Recommended Posts

Hi, for instance: i have a button that takes me from frame 1 to frame 2 (this works correctly) however, now i have a button on frame 2 to take me to frame 3. (it doesn't recognize i hit the button) Does any1 have any helpful tips on how to create the listener for the buttons on frame 2? thanks in advance

Share this post


Link to post
Share on other sites
i am using a simple

public boolean action (Event e, Object o)
{
if (e.target instanceof Button)
{
if (e.target == cont)
{
hide ();
menu.setVisible (true);
}
}
return true;
}

when i run it i get no errors and the buttons show up so init'ing it is not the problem

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this