Java基础进阶案例教程(课件)程序代码.docxVIP

  • 12
  • 0
  • 约1.49千字
  • 约 3页
  • 2018-12-28 发布于江西
  • 举报

Java基础进阶案例教程(课件)程序代码.docx

程序代码如下。 import java.sql.*; import java.util.Vector; import javax.swing.table.*; class Xsgl_information extends AbstractTableModel { Vector field,record; PreparedStatement pstmt=null; Connection conn=null; ResultSet rs=null; public int getRowCount() { return this.record.size();} public int getColumnCount() { return this.field.size();} public Object getValueAt(int row, int col) { return ((Vector)this.record.get(row)).get(col); } public String getColumnName(int e) { return (String)this.field.get(e); } public Xsgl_information() { this.sqlyj(select * from S); } public Xsgl_

文档评论(0)

1亿VIP精品文档

相关文档