Swing dispose - need help please

I am currently learning about Swing and all that goes with it, but I have run into a problem. One I cannot find a solution to. I need to transport the user from one JFrame to another, with the first one disappearing to be replaced by the second.
I have tried dispose() on the first but it remains. System.exit(0) returns control back to the terminal, which I don`t want.
This is an application in a Common Desktop Environment. Is there any way I can create a nice smooth transition between GUI's? any help is greatly appreciated. thanks!

Before you use dispose(), try to use
component.setVisible(false);
where component is the name of the JFrame.
V.V.

Similar Messages

Maybe you are looking for

  • GL Account User Exit for all FI transactions

    Hi Experts, We  have to create a Ztable and it stores GL bank account principal amount. Ex: 130121 (SCB Bank) - Rs.10,00,000.00 In SAP , for the same GL account closing balances will available in FS10N of each month. Ex: 130121 (SCB Bank) for Sep'09

  • TAS not defaulted in sales order

    This is a third-party order. In spro, i haved configured as following: Order type "TA" + item cat Group "BANS" + Usage (blank) + High level (blank) = DfItC "TAS", MItCa "TAN", MItCa "TANN", MtCa "TAW" Questions: 1. TAN iso TAS was defaulted when sale

  • Problem with customized info type creation

    hi When i am creating customized info type using T-code PM01, i get error message like "package in non original system only modifiable with organizer tools". The above message is coming whenever save the infotype in either customized package or local

  • Configure Multiple Tax Codes to appear in MIRO

    Hi, We have a scenario where a PO was created with a line item which had an incorrect tax code (A1 instead of A0).  It has been posted and GR.  When posting the invoice I would like to correct the tax code for that line item, however I only have the

  • Search help Field positions

    Hi, Is it possible to change the field positions in the Hit List of a standard search help without using the access key? Please let me know. Thanks, Binu