2、很多啊,eclipse,myeclipse,jbuilder。。。
3、getconnection()
String DBDriver = SysConfig.getProperty("database.defaultProvider.driver")
String DBUser = SysConfig.getProperty("database.defaultProvider.username")
String DBPassword = SysConfig.getProperty("database.defaultProvider.password")
String DBUrl = SysConfig.getProperty("database.defaultProvider.serverURL")
//
Class.forName(DBDriver)
Properties myprop = System.getProperties()
myprop.setProperty("user",DBUser)
myprop.setProperty("password",DBPassword)
conn = DriverManager.getConnection(DBUrl,myprop)
..........
PreparedStatement pstmt = conn.prepareStatement(query)
ResultSet rs = pstmt.executeQuery()
.......
4.下载jfreechart的jar包,调用里面的方法,参考它的api,就是一步一步的多试验下
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)