드래그 앤 드롭 옵션 LWUIT을 제공하기 위해 표 셀에 콤보 상자를 추가하려고합니다.LWUIT - J2ME를 사용하여 표 셀에서 콤보 상자를 추가하는 방법은 무엇입니까?
나는 그것을 위해이 옵션 ..
private String strCmbBox[] = { "1", "2", "3", "4" };
ComboBox comboRdoBox = new ComboBox(strCmbBox);
comboRdoBox.setListCellRenderer(new comboBoxRenderer());
TableModel model = new DefaultTableModel(new String[] { "Col 1",
"Col 2", "Col 3" }, new Object[][] {
{"Row 1",new DefaultTableModel(new String[] { "1" },
new Object[][] { { comboRdoBox }, { "lbl" } }),
"Row X" }, { "Row 2", "Row B", "Row Y" },
{ "Row 3", "Row C", "Row Z" },
{ "Row 4", "Row D", "Row K" }, });
Table table = new Table(model);
table.initComponent();
f.addComponent(table);
f.show();
을 사용했지만 그것은 주소로 반환 N 모든 셀에 값을 속성; 오히려 콤보 상자 셀에 을 ...
Ans By의 표시 : 이 [email protected]이
어느 한 날이 문제를 해결하는 데 도움이 수를 ... ???