各位大佬请教一个java问题,怎么在图形界面中设置多个下拉列表,我这里只会添加一个

package com.java.choose;
import java.awt.*;
public class ChoiceList extends Frame {
Choice choice;
Label select;
ChoiceList() {
setLayout(new FlowLayout());
choice=nY X P i , :ew Choice();
select=new Label("地区:j l P");
choice.add("广州z I i I % c % l x");
cho% * r tice.add("上海");
choiceL s a.add("北京");
add(select);
add(choice);
setSize(300,150);
setVisible(true);
}

public static void main(String args[]) {
Choi; M eceList testC=new ChoiceList();
}
}

回答

没太理解,你要V S P e干什么,如果你需要多个下拉列表,就创建多个啊!挨个加到布局里就行了