File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Author

How to add a new window on existing one

Prosenjeet Banerjee
Greenhorn

Joined: Aug 19, 2003
Posts: 2
Hi,
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.
thanx
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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"
Sheriff

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:
Hi,
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!!
Thanx

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: http://aspose.com/file-tools
 
subject: How to add a new window on existing one
 
Similar Threads
How can i add a child window on an existing window
Issue in session manegement
h:commandlink right click not working
opening excel application in browser
New session new Browser