| Author |
Refreshing the JFrame!!
|
Aravind Prasad
Ranch Hand
Joined: Dec 28, 2005
Posts: 258
|
|
Dear Ranchers, I'm doing a simple application in Java Swings and Oracle. there are 3 textfields in the frame and 2 buttons. After entering the details in the text fields when we press the ok button, the records are entering into the database. and it will displays a Option Pane, Add more records, Yes and NO. If we press, YES, the whole frame must reload. can i call the init() for that? or is there any particular way to do this. Please help me ranchers.. Thanks in advance regards Aravind Prasad
|
 |
Christopher Elkins
Ranch Hand
Joined: Oct 26, 2004
Posts: 45
|
|
|
Calling validate() should cause the frame to lay out all of it's components again.
|
Christopher Elkins, SCJP Java 2 Platform
|
 |
Aravind Prasad
Ranch Hand
Joined: Dec 28, 2005
Posts: 258
|
|
Thank you sir.. I got it!! regards Aravind Prasad
|
 |
 |
|
|
subject: Refreshing the JFrame!!
|
|
|