sigfrid's Profile
Reputation: 0
Apprentice
- Group:
- Members
- Active Posts:
- 19 (0.02 per day)
- Joined:
- 04-October 10
- Profile Views:
- 626
- Last Active:
Jul 10 2011 09:16 PM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: calling another file
Posted 10 Jul 2011
macosxnerd101, on 10 July 2011 - 08:36 PM, said:It's not a separate program- it's a separate window. If they are in the same package, you can simply instantiate the new JFrame and make sure its visibility is set to true. Otherwise, you will first have to import the other class. To get rid of the current JFrame as well, you can set its visibility to false and invoke the dispose() method on it to free up resources.
if(e.getSource() == loginButton && userNameAndPasswordAreValid){ NewJframeClass frame = new NewJframeClass(); frame.setVisible(true); }
i'm sorry, i don't understand.. -
In Topic: how to use the timer?
Posted 9 Jul 2011
maj3091, on 09 July 2011 - 03:20 AM, said:Have a look at this simple tutorial which will help you.
You're missing the Timer event (timer1_Timer()).
Look at the link above and it should tell you all you need to know.
thank you, I did it! -
In Topic: Create a simple Stopwatch
Posted 9 Jul 2011
Thank you, this was very helpful..!
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Private
Friends
sigfrid hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
sigfrid has no profile comments yet. Why not say hello?