Topic: 谁能讲解以一下:在这里怎么通过界面来操作数据库?

  Print this page

1.谁能讲解以一下:在这里怎么通过界面来操作数据库? Copy to clipboard
Posted by: mgy_029
Posted on: 2009-05-27 13:18

有如下代码:

String selectednames[];
String dishnames={"^^","@@","@@","##"};
Jlist dishlist=new JList(dishnames);
JButton jButton1=new JButton("确定");

假设现在已经在dishlist中选择了一些选项,单击“确定”后,
如何将选择好的选项赋值给selectednames[]中呢?

2.Re:谁能讲解以一下:在这里怎么通过界面来操作数据库? [Re: mgy_029] Copy to clipboard
Posted by: mgy_029
Posted on: 2009-05-27 13:33



   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923