麻烦一下,能不能说得清楚一点。我是越看越糊涂了,jdbcombobox()里面的数据库连接的属性都已经没有问题,没有任何问题,但是就是运行以后下拉列表并没有调用sql server 2000里面的已经连接的表(即下拉以后表为空)。
你们所说的是在那里添加??而且ResultSet又是在哪里呢??
谢谢!
可是在里面添加以上代码时,出现一下错误:
(1)Variable rs not found in class yh.Frame1 at line 146
(2)Variable rs not found in class yh.Frame1 at line 147
(3)Non-static method addItem(java.lang.Object) cannot be referenced from a static context at line 147Non-static method addItem(java.lang.Object) cannot be referenced from a static context at line 147