Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

beginner, swing "problem"

Thread view: 
fake.personality@gmail.com - 03 Feb 2006 11:30 GMT
Hi,

I am writing simple application. It's some kind of XML editor. Anyway,
I would like to make a menu with "add document" option, which in turn
would open a new window with some kind of form (first name, last name,
address, etc.).

Now the question: what should I use to build the second window?
JDialog? Is it possible to build JDialog with multiple input fields?
Second question: how to get the answers (the input) to the parent
window?

All I need are some clues..
Thanks
Roedy Green - 03 Feb 2006 12:08 GMT
>Now the question: what should I use to build the second window?
>JDialog? Is it possible to build JDialog with multiple input fields?
>Second question: how to get the answers (the input) to the parent
>window?

It depends what you want it to do.  You have quite a few choices.  See
http://mindprod.com/jgloss/swing.html
where I give an outline of the differences between the various types
of Window.

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

fake.personality@gmail.com - 03 Feb 2006 13:01 GMT
> It depends what you want it to do.  You have quite a few choices.  See
> http://mindprod.com/jgloss/swing.html
> where I give an outline of the differences between the various types
> of Window.

Thanks, I am going to read it in a few minutes.
Greets
Paulus de Boska - 03 Feb 2006 12:23 GMT
Here's an example of a custom dialog :

http://javalessons.com/cgi-bin/ui/java-swing.cgi?1cd=odl&sid=ao789


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.