| Author |
pop up menu
|
Sandy Schneider
Greenhorn
Joined: Mar 14, 2002
Posts: 22
|
|
My objective is to have a JFrame that has some Patient information that must be filled in by a user. I have a combo box with a list of physicians. I have finished this part. Once the user picks a physician from the combo box, I want a pop-up menu showing the physicians info. I have created a JDialog frame. What I need help on is how to write the event(Physician picked in the combo box) listener so the pop-menu is displayed. Sandy
|
 |
Dave Vick
Ranch Hand
Joined: May 10, 2001
Posts: 3244
|
|
|
Moving this to swing
|
Dave
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4121
|
|
|
You would attach an ActionListener to the JComboBox that will launch the JDialog you have created.
|
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
|
 |
 |
|
|
subject: pop up menu
|
|
|