Ok I am trying to write a small applet, using a combobox..i cant get the darn thing to display!! Somebody please help me..here's what I have in the paint function (the welcome to java part works):
public void paint (Graphics g)
{
super.paint (g);
g.drawString("Welcome to Java Programming!", 25, 25);
String[] sex = {"Male","Female"};
JComboBox sexList = new JComboBox(sex);
sexList.setPopupVisible(true);
}
public void paint (Graphics g)
{
super.paint (g);
g.drawString("Welcome to Java Programming!", 25, 25);
String[] sex = {"Male","Female"};
JComboBox sexList = new JComboBox(sex);
sexList.setPopupVisible(true);
}