Lenny, Since JOptionPane takes an Object for a message, try passing a JPanel that contains your combo box and textfield. I think that will work. But be careful with your layout method. Not all layouts behave the same (in reality). Julia "Reynshteyn, Leonid" wrote: > I need to create a simple pop-up dialog that has a text field for user input > and a drop-down list in it with pre-defined values. Can I create it using > JOptionPane? There are lots of examples when either TextField or drop-down > list are placed on the JOptionPane dialogs, but not both. > > Thanks. > > -Lenny. _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing
