Creating drop down menues

Hi, I am trying to combine a few of my small programms into one big program. Now, I got it down really easy as to where i use the comand line "JOptionPane.showInputDialog" and made it so that if a user wants to, say, use the quadratic formula, they type in quad and my program launches that part of itself. My question is, is there an easy way to make drop down boxes, so instead of users having to type in what they want, they could just select Quad Prog from a drop down list. Is there a way to do that?

[512 byte] By [illbreda] at [2007-10-2 10:43:25]
# 1
[url http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html]How to Use Combo Boxes[/url]
camickra at 2007-7-13 2:53:13 > top of Java-index,Desktop,Core GUI APIs...