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

package com.java.choose;
import java.awt.*;
public class ChoiceList extends Frame {
Choice choice;
Label select;
ChoiceList() {
setLayout(new FlowLayout());
choice=new Choice();
select=new Label("地区:");
choice.add("广州");
choice.add("上海");
choice.add("北京");
add(select);
add(choice);
setSize(300,150);
setVisible(true);
}

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

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

https://zhidao.baidu.com/question/1761576615933923508.html