import java.sql.*;
import java.util.Vector;
import javax.swing.*;
import java.awt.*;
 class NewClass1  extends JFrame {
 Vector title=new Vector();
 Vector content=new Vector();
    public  NewClass1(String sql) {
String url = "jdbc:sqlserver://许辉泽-pc:1433;databaseName=sm";
Connection con =null;
try {
String driver = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
Class.forName(driver).newInstance( );
}
catch( Exception e ) {
System.out.println("Failed to load mSQL driver.");
return;
}
try {
con = DriverManager.getConnection(url, "sa", "0");
Statement select = con.createStatement( );
ResultSet result = select.executeQuery(sql);
ResultSetMetaData  k=result.getMetaData();
int  b=k.getColumnCount();
for(int a=1;a<=b;a++){title.add(k.getColumnName(a));}
Vector []q=new Vector[100];
int o=0;
while(result.next())
{
q[o]=new Vector();
for(int j=1;j<=b;j++)
{
q[o].add(result.getString(j));
}
o++;
}
for(int y=0;y<q.length;y++){content.add(q[y]);}
JTable mytable=new JTable(content,title);
JScrollPane jsp=new  JScrollPane(mytable);
this.add(jsp,BorderLayout.CENTER);
this.setTitle("表格");
this.setBounds(100,100,450,160);
this.setVisible(true);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
catch( Exception e ) {
e.printStackTrace( );
}
finally {
if( con != null ) {
try { con.close( ); }
catch( Exception e ) { e.printStackTrace( ); }
}
}
}
public static void main(String args[])
 {  
NewClass1  kk=new NewClass1("select sno,cno from sc");}
}编译时提示使用了未经检查或不安全的操作,可我不知道哪些是不安全的操作啊,请各位大侠帮帮忙啊!!!先给各位谢了