File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes How to add a new window on existing one Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to add a new window on existing one" Watch "How to add a new window on existing one" New topic

How to add a new window on existing one

Prosenjeet Banerjee

Joined: Aug 19, 2003
Posts: 2
I'm trying to create an applcation which may contan a login option. want to invoke a logn window thru a button click and when the user name and password is verfied by the server the login window should close and a new post message window should appear on the previous window.
now the problem s that whenever i m trying to start the login window the previous window get closed and when login's over the applcation ceases. plz help me out wth proper code snippets.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

I have a better idea. If you could provide us with the code you are trying to use to accomplish your task, we can help you debug it. Sounds like you are on the right track. Maybe just have a few minor issues. And helping you with your code will help you learn better than someone just providing the code for you.

GenRocket - Experts at Building Test Data
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Just to note that a friend of yours at the same location, seems to have the same question:
Originally posted by Ishrat Hasan:
i m facing problem while adding a new window on a currently existing one. this happens when i m trying to create a new login window by a button click from another window. now when the new window appears the previous one gets closed and i want to close the login window and come back to the previous one after the user name is authenticated.
plz help!!

So let's try to keep this conversation together.

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: How to add a new window on existing one
jQuery in Action, 3rd edition