beginner, swing "problem"

  • Thread starter fake.personality
  • Start date
F

fake.personality

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
 
R

Roedy Green

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top