<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>日历控件</title>
<script src="js/new_file.js" defer></script>
</head>
<body>
<input id="calendar" type="text" />
</body>
</html>
var days = new Array("日","一","二","三","四","五","六");//星期
var today = new Date();//当天日期,备用
...
Shiro开发框架视频课程(采用Eclipse + Maven进行开发)
网盘地址:https://pan.baidu.com/s/1jJUbMaM 密码: gkke
网盘地址:https://pan.baidu.com/s/1qZi1II4 密码:0t59
package read;
public class Test {
public static void main(String[] args){
System.out.println("begin:"+(System.currentTimeMillis()/1000));
/*模拟处理16行日志,下面的代码产生了16个日志对象,当前代码需要运行16秒才能打印完这些日志。
修改程序代码,开四个线程让这16个对象在4秒钟打完。
*/
for(int i=0;i<16;i++){ //这行代码不能改动
final String log = ""+(...
import java.sql.*;
public class Test {
public static void main(String[] srg) {
String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
//加载JDBC驱动
String dbURL = "jdbc:sqlserver://localhost:1433; DatabaseName=master";
//连接服务器和数据库master
String userName = ...
创建
create database student
go
学生表
create table student
(
stu_name varchar(30) not null,
stu_id char primary key (stu_id),
stu_specialty varchar(30) not null,
stu_sex char(2) check( stu_sex in (‘男’,’女’)),
stu_age int check (stu_age>16)
)
课程表
create table studentclass
...
import java.awt.Color;
import java.awt.Container;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax....