當前位置:首頁 » 課程大全 » javajava課程設計

javajava課程設計

發布時間: 2020-11-29 00:10:52

⑴ java課程設計報告

朋友:
給您幾個好的網址,是有關論文的,很全!
真心希望能夠對你有所幫助!!

自己找找吧!

祝你好運!

中文免費論文地址集錦
一、 綜合類
1、藍之韻論文
http://www.21blue.com 門類較全。

2、學生大論文中心

http://www.studa.com/newpaper/

3、蜂朝無憂論文網
http://www.51lunwen.com/main/index.asp
門類很全。
4、論文下載中心
http://www.studa.net/paper/
門類很全。
5、論文帝國
http://www.papersempire.com/

二、 教育類
1、教研論文交流中心
http://www.k12.com.cn/teacher/resource/lunwen/
以中小學教育為主,基礎教育、英語教學文章居多。
2、教育教學論文網

http://www.minaol.com/gb/art/ttd/index.asp

以教育論文為主,包含:語文論文 美術論文 物理論文
化學論文 英語論文 歷史論文 德育論文 教學論文
數學論文 音樂論文 生物論文 自然論文 體育論文
地理論文 攝影論文 勞動技術 農村教育 畢業論文
素質論文 醫學論文 電子電器學 思維科學 計算機論文
活動課教學 書法篆刻論文 創新教育研究 心理健康教育
西部教育論文 信息技術論文
3、教育論文

http://dhzyzz.porcelain-china.com/teach.asp
4、中國園丁網論文大觀
http://www.teacher.net.cn/papers
5、北大附小學校教師的文章:
http://www.bdfx.net.cn/5jslw.htm
三、 專業類
1、優秀論文雜志
http://www.interpapers.com/kj/
以科技類為主。
2、論文資料網
http://www.51paper.net/
以財經經濟管理類為主。
3、法律圖書館
http://www.law-lib.com/
文如其名。
4、法學論文資料庫
http://www.law-lib.com/lw/
文如其名。
5、中國總經理網論文集
http://www.cnceo.com/school/lwj.asp
6、mba職業經理人論壇
http://mba.001.com.cn/mbamba.htm
7、中國農業在線-農業論文
http://www.agrionline.net.cn/keji/lunwenzy/
8、體育論文
http://www.zxty.net/proct4.htm
9、財經學位論文下載中心
http://www.forumcn.com/sblw/
10、公開發表論文_深圳證券交易所
http://www.sse.org.cn/sse/yjkw/gkfblw.asp
11、中國路橋資訊網論文資料中心
http://www.lqzx.com/lunwen.htm
12、論文商務中心
http://doc.cei.gov.cn/
13、法律帝國:
http://www.fl365.com/gb/lawthinker/bbs/default.asp
四、 論文寫作教學類
1、學術論文
http://www.hrexam.com/advanced1.htm
其實是學術論文的寫作網站。
五、 博碩士論文
1、論文統計
http://www.sci.com.cn/
實際上就是萬方的論文統計。
2、台灣博碩士論文咨訊網
http://datas.ncl.e.tw/theabs/00/
3、北京大學學位論文樣本收藏
http://www.lib.pku.e.cn/xwlw.html
4、學位論文 (清華大學)
http://www.lib.tsinghua.e.cn/new/thesis.html

]
中國科技論文在線http://www.paper.e.cn/
論文中國 :http://www.chinawrite.com/
新浪論文網分類:http://dir.sina.com.cn/search_dir/jy/lw/
中國論文聯盟:http://www.lwlm.com/
大學生論文庫http://www.syiae.com/lunwen
論文資料網:http://www.51paper.net/
論文下載中心:http://www.studa.net/paper/
畢業論文網:http://www.bylw.com/
學位論文:http://www.lib.tsinghua.e.cn/NEW/thesis.html
無憂論文網:http://www.51lunwen.com/
北京語言文化大學論文庫:http://lib.blcu.e.cn/dt1000/bys/bys.htm

⑵ Java課程設計題目

這個控制台模擬的話很簡單啊,使用switch語句,1-7對應選下,case之後再進行if語句判斷就好了啊,程序模擬的話,自己做一個輸入認證,當做登陸界面,後面的功能選項其實建模之後的模塊而已,分別寫7個pannel,對應控制選項= =。

⑶ Java課程設計報告百度

你好,幫你就是的,一份完整的

⑷ java課程設計

去網站上下載一個,這里沒人能給你寫這么多

⑸ javaweb課程設計有哪些

本書以15個課程設計題目為框架,從各個方面介紹了Java在應用系統開發和網路開發中的實用技巧。各個課程設計題目相互獨立,可以從任何一個課程設計題目開始閱讀本書。每個課程設計題目都給出了詳細的設計步驟,包括設計內容、總體設計、具體設計、軟體發布、課程設計作業等。本書全部程序代碼可由前言中指定網站下載。

⑹ java課程設計源代碼(急!!!!)

import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.SwingConstants;
import javax.swing.border.LineBorder;

public class game21 extends JFrame {
private JLabel label_2;
private int number;
private int sum;
final JLabel label = new JLabel();
final JLabel label_1 = new JLabel();

public static void main(String[] args) {
new game21();
}

public game21() {
super("21點?!");
getContentPane().setLayout(null);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
final JButton button = new JButton();
button.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent arg0) {
onClick();
}
});
button.setText("出牌");
button.setBounds(170, 350, 106, 28);
getContentPane().add(button);
label.setBorder(new LineBorder(Color.black, 1, false));
label.setHorizontalAlignment(SwingConstants.CENTER);
label.setFont(new Font("", Font.BOLD, 26));
label.setText("背面");
label.setBounds(158, 81, 137, 153);
getContentPane().add(label);

label_1.setText("你已經擁有的牌:");
label_1.setBounds(109, 22, 270, 45);
getContentPane().add(label_1);
this.setBounds(200, 300, 501, 528);
this.setVisible(true);
getContentPane().add(getLabel_2());
}

public int randNumber() {
try {
Thread.sleep(10);
} catch (InterruptedException e) {
e.printStackTrace();
}
return (int) (Math.random() * 10 + 1);
}

public void onClick() {
number = this.randNumber();
this.sum += number;
label.setText("" + number);
String strTemp = this.label_1.getText();
strTemp += "" + number + " ";
label_1.setText(strTemp);
String temp = "合計:" + sum;
label_2.setText(temp);
isWin();
}

public void isWin() {
if (sum > 21) {
JOptionPane.showMessageDialog(this, "你輸了");
clear();
return;
} else if (sum == 21) {
JOptionPane.showMessageDialog(this, "你贏了");
clear();
return;
} else {
int i = JOptionPane.showOptionDialog(this, "是否繼續?", "提示",
JOptionPane.OK_CANCEL_OPTION,
JOptionPane.INFORMATION_MESSAGE, null, null, null);
if (i == JOptionPane.OK_OPTION) {
onClick();
} else
return;
}
}

private void clear() {
label_2.setText("合計:");
sum = 0;
number = 0;
label_1.setText("你已經擁有的牌:");
}

/**
* @return
*/
protected JLabel getLabel_2() {
if (label_2 == null) {
label_2 = new JLabel();
label_2.setText("合計:");
label_2.setBounds(313, 35, 66, 18);
}
return label_2;
}

}
真好無聊中。。

⑺ JAVA 課程設計連接資料庫 用java編寫圖書管理系統

import java.sql.Connection;
import java.sql.Driver;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Properties;
public clss DBTest{
public DBTest(){
//載入驅動

try{
class.forName("com.mysql.jdbc.Driver");

//設置資料庫的訪問路徑

String url = "jdbc:mysql://localhost:3306//derby";

//設置用戶名和密碼

Properties info = new Properties();

info.setProperty("user","zhanghao");

info.setProperty("password","mima");

//獲取連接

Connection conn = DriverManager.getConnection(url,info);

Statement stmt = conn.createStatement();

//組織查詢語句

String sql = "select * form table_name";

//獲取查詢結果集合

ResultSet result = stmt.excuteQuery(sql);

//遍歷結果,假設table_name中第一列為id,類型int

while(result.next()){
System.out.println(result.getInt(1));

}

}catch(SQLException){
}
catch(Exception e){
// e.printStackTrace();

}finally{
//最後關閉資源

result.close();

stmt.close();

conn.close();

}
}

}
//現場手打 可能會有點下錯誤 你自己測試下 大致流程就是這樣的

⑻ java課程設計 學生成績管理

/**
* 學員管理系統
* 版本號1.0
*/
/**
* 這是一個類,
* 用於演示學員的基本信息操作
* 創建人: csx
* 創建時間:2008年3月25日21:51:27
*/
package com.student.csx;

/**
* 導入相關的包
*/
// 導入載入驅動程序包
import java.sql.DriverManager; // 導入連接包
import java.sql.Connection; // 導入獲得語句包
import java.sql.Statement; // 導入執行語句包
import java.sql.ResultSet; // 導入SQL異常包
import java.sql.SQLException; // 導入SQL異常包
import java.util.Scanner;// 導入接收輸入包

public class Student {
/**
* 構造方法
*/
public Student() {
}

/**
* 這是一個方法 用於顯示用戶需要的菜單
*/
public void meau() {
System.out.println("請選擇功能");
System.out.println("1.查詢學員的基本信息");
System.out.println("2.添加學員的基本信息");
System.out.println("3.刪除學員的基本信息");
System.out.println("4.排序學員的基本信息");
System.out.println("5.修改學員的基本信息");
System.out.println("6.退出使用");
}

/**
* 這是一個方法 用於顯示學員的信息
*/
public void showStudentInfo() {
// 捕獲異常
try {
/**
* 第一步: 載入驅動程序---橋連接
*/
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();// 列印出異常的詳細信息
}
// 捕獲異常
try {
/**
* 第二步: 創建連接
*/
Connection conn = DriverManager.getConnection("jdbc:odbc:student",
"sa", "sa");
/**
* 第三步: 獲取語句對象
*/
Statement stmt = conn.createStatement();
/**
* 第四步: 執行語句
*/
ResultSet rs = stmt.executeQuery("select * from student");
/**
* 第五步: 列印出結果
*/
while (rs.next()) {
System.out.print(rs.getString(1));
System.out.print(rs.getString(2));
System.out.print(rs.getString(3));
System.out.println(rs.getInt(4));
System.out.println(rs.getFloat(5));
}
/**
* 第六步: 釋放資源
*/
rs.close();
stmt.close();
conn.close();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

}

/**
* 這是一個方法 用於添加學員的信息
*/
public void appendStudentInfo() {
// 准備接收輸入
Scanner input = new Scanner(System.in);
/**
* 提示用戶輸入
*/
System.out.println("請輸入姓名:");
/**
* 用於接收用戶輸入的信息
*/
String name = input.nextLine();
/**
* 提示用戶輸入
*/
System.out.println("請輸入學號:");
/**
* 用於接收用戶輸入的信息
*/
String id = input.nextLine();
/**
* 提示用戶輸入
*/
System.out.println("請輸入性別:");
/**
* 用於接收用戶輸入的信息
*/
String sex = input.nextLine();
/**
* 提示用戶輸入
*/
System.out.println("請輸入年齡:");
/**
* 用於接收用戶輸入的信息
*/
int age = input.nextInt();
/**
* 提示用戶輸入
*/
System.out.println("請輸入平均成績:'");
/**
* 用於接收用戶輸入的信息
*/
Float score = input.nextFloat();
/**
* 捕獲異常
*/
try {
/**
* 第一步: 載入驅動程序---橋連接
*/
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
try {
/**
* 第二步:
* 創建連接
*/
Connection conn = DriverManager.getConnection("jdbc:odbc:student",
"sa", "sa");
/**
* 第三步:
* 獲得語句
*/
Statement stmt = conn.createStatement();
/**
* 第四步:
* 執行語句塊
*/
String sql = "insert into student(name,id,sex,age)" + "values('"
+ name + "','" + id + "','" + sex + "'," + age + ",'"
+ score + "')";
/** 執行語句,並返回一個數字(數字是指影響了幾行) */
int updateRow = stmt.executeUpdate(sql);
/** 判斷是否插入成功 */
if (updateRow > 0) {
System.out.println("插入成功");
} else {
System.out.println("插入失敗");
}
/**
* 最後一步:
* 釋放資源
*/
stmt.close();
conn.close();
} catch (Exception e) {
/**
* 列印異常的詳細信息
*/
e.getStackTrace();
}
}

/**
* 這是一個方法 用於刪除學員的信息
*/
public void deleteStudentInfo() {
try {
/**
* 第一步:
* 載入驅動程序
*/
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
try {
//准備接收
Scanner input = new Scanner(System.in);
//創建連接
Connection conn = DriverManager.getConnection("jdbc:odbc:student",
"sa", "sa");
//獲取語句
Statement stmt = conn.createStatement();
//提示用戶輸入
System.out.println("請輸入你要刪除學員的姓名:");
//接收用戶輸入的信息
String name = input.nextLine();
//執行語句
String sql = "delete from student where name = '" + name + "'";
int updateRow = stmt.executeUpdate(sql);
/** 判斷是否刪除成功 */
if (updateRow > 0) {
System.out.println("刪除成功");
} else {
System.out.println("刪除失敗");
}
//釋放資源
stmt.close();
conn.close();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}

/**
* 這是一個方法 用於將學員的信息進行排序
*/
public void compositorStudentInfo() {
// 捕獲異常
try {
/**
* 第一步: 載入驅動程序---橋連接
*/
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();// 列印出異常的詳細信息
}
// 捕獲異常
try {
/**
* 第二步: 創建連接
*/
Connection conn = DriverManager.getConnection("jdbc:odbc:student",
"sa", "sa");
/**
* 第三步: 獲取語句對象
*/
Statement stmt = conn.createStatement();
/**
* 第四步: 執行語句
*/
ResultSet rs = stmt
.executeQuery("select * from student order by age");
/**
* 第五步: 列印出結果
*/
System.out.print("按年齡排序為:\n");
while (rs.next()) {
System.out.print(rs.getString(1));
System.out.print(rs.getString(2));
System.out.print(rs.getString(3));
System.out.println(rs.getInt(4));
System.out.println(rs.getFloat(5));
}
/**
* 第六步: 釋放資源
*/
rs.close();
stmt.close();
conn.close();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

}

/**
* 這是一個方法 用於修改學員的信息
*/

public void amendStudentInfo() {
// 捕獲異常
try {
/**
* 第一步: 載入驅動程序---橋連接
*/
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();// 列印出異常的詳細信息
}
// 捕獲異常
try {
/**
* 第二步: 創建連接
*/
Connection conn = DriverManager.getConnection("jdbc:odbc:student",
"sa", "sa");
/**
* 第三步: 獲取語句對象
*/
Statement stmt = conn.createStatement();
//准備接收輸入
Scanner input = new Scanner(System.in);
//提示用戶輸入
System.out.println("請輸入你要修改的學員的姓名:");
//接收用戶輸入的信息
String name = input.nextLine();
//提示輸入
System.out.println("請輸入你修改後學員的成績");
//接收用戶輸入的信息
Float score = input.nextFloat();
/**
* 第四步: 執行語句
*/
String sql = "update student set score = '" + score
+ "' where name = '" + name + "'";
int updateRow = stmt.executeUpdate(sql);
/** 判斷是否刪除成功 */
if (updateRow > 0) {
System.out.println("修改成功");
} else {
System.out.println("修改失敗");
}
//stmt.close();
//conn.close();

/**
* 第六步: 釋放資源
*/
stmt.close();
conn.close();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

}

}

下面這是一個場景類:

/**
* 這是一個測試類
* 用於測試
* 創建人:CSX * 創建時間:2008年3月25日22:03:10
* 版本號:1.0
*/
//這是一個包
package com.student.csx;
//導入接收包
import java.util.Scanner;

public class Action {
/**
* 這是程序的入口點
* @param args
*/
public static void main(String[] args) {
Student stu = new Student();//聲明一個對象
stu.meau();//調用菜單
int elect;//聲明一個變數,用於接收用戶的選擇
while (true) {
/**准備接收輸入*/
Scanner input = new Scanner(System.in);

//System.out.println("");
/**接收*/
elect = input.nextInt();
//switch分支結構來判斷
switch (elect) {
case 1:
//調用顯示方法
stu.showStudentInfo();
break;
case 2:
//調用添加方法
stu.appendStudentInfo();
break;
case 3:
//調用刪除方法
stu.deleteStudentInfo();
break;
case 4://調用排序方法
stu.compositorStudentInfo();
break;
case 5:
//調用修改方法
stu.amendStudentInfo();
break;
case 6:
//退出使用
System.exit(0);

}
}
}

}

⑼ 老師讓做一個java 課程設計 題目如下:

這估計不是一時半刻的課程,你們老師也真夠狠的,不過我可以提供思路給你,你也可以找你們那些會做的同學一起討論!

1、自動偵測區域網內部的用戶可以這樣子做,根據本機在區域網內的IP段,試圖去socket每個IP的固定埠,每個軟體都設置一個Seversocket用循環一直等待著access。

2、私聊和群聊是統一的,只需通過在發送時判斷發一還是發多的問題。

3、文件的傳送也是簡單,只需在兩端用相同的讀寫方式既可,我認為不妨就用二進制輸入輸出流。

4、界面的話是個苦力活,你可以模仿QQ的界面,把QQ秀的地方變成用戶列表,其他可以保持不變!

⑽ Java課程設計問題

郵件已發送,請查收。
1.:

public class Matrix {
int i[][];
Matrix(){//構造一個10X10個元素的矩陣,沒有數據
i=new int[10][10];
}
Matrix(int n,int m){//構造一個n*m個元素的矩陣,數據由隨機數產生
i=new int[n][m];
for(int j=0;j<=n-1;j++){
for(int k=0;k<=m-1;k++)
i[j][k]=(int) (Math.random()*10);
}
}
Matrix(int table[][]){//以一個整型的二維數組構造一個矩陣
i=table;
}

public void output(){//輸出Matrix類中數組的元素值
for(int j=0;j<=i.length-1;j++){
for(int k=0;k<=i[0].length-1;k++)
System.out.print(i[j][k]+" ");
System.out.println();
}
}
public void transpose(){//輸出一個矩陣的轉置矩陣
for(int j=0;j<=i[0].length-1;j++){
for(int k=0;k<=i.length-1;k++)
System.out.print(i[k][j]+" ");
System.out.println();
}
}
public static void main(String args[]){
Matrix m=new Matrix(4,5);
m.output();
System.out.println();
m.transpose();
Square s=new Square(5);
s.output();
System.out.println();
s.transpose();
}

}

public class Square extends Matrix{
Square(){
i=new int[10][10];
}
Square(int b){
super(b,b);
}
Square(int table[][]){
if(table.length==table[0].length)
i=table;
}

}

2:

public class Complex {
int x,y;
Complex(){}
Complex(int i,int j){
x=i;
y=j;
}
public void showComp(){
if(y>=0)
System.out.println(x+"+"+y+"i");
else
System.out.println(x+""+y+"i");
}
public Complex addComp(Complex C1,Complex C2){
return new Complex(C1.x+C2.x,C1.y+C2.y);
}
public Complex subComp(Complex C1,Complex C2){
return new Complex(C1.x-C2.x,C1.y-C2.y);
}
public Complex multiComp(Complex C1,Complex C2){
return new Complex(C1.x*C2.x-C1.y*C2.y,C1.x*C2.y+C2.x*C1.y);
}
public boolean equalComp(Complex C1,Complex C2){
return C1.x==C2.x&&C1.y==C2.y;
}
public static void main(String args[]){
Complex c=new Complex(1,2);
c.showComp();
c.addComp(new Complex(-1,3), new Complex(3,-3)).showComp();
c.subComp(new Complex(-1,3), new Complex(3,-3)).showComp();
c.multiComp(new Complex(-1,3), new Complex(3,-3)).showComp();
System.out.println(c.equalComp(new Complex(-1,3), new Complex(3,-3)));
System.out.println(c.equalComp(new Complex(3,-3), new Complex(3,-3)));
}

}

3.:

import java.awt.BorderLayout;
import java.awt.GridLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;

public class LayoutManager {
public static void main(String args[]){
JFrame jf=new JFrame();
JButton jbA=new JButton("Hello,");
JButton jbB=new JButton("取消");
JButton jbC=new JButton("確定");
JButton jbD=new JButton("Java!......");
JButton jb0=new JButton("0");
JButton jb1=new JButton("1");
JButton jb2=new JButton("2");
JButton jb3=new JButton("3");
JButton jb4=new JButton("4");
JButton jb5=new JButton("5");
JButton jb6=new JButton("6");
JButton jb7=new JButton("7");
JButton jb8=new JButton("8");

JPanel jp=new JPanel();
jp.setLayout(new GridLayout(0,3));
jp.add(jb0);
jp.add(jb1);
jp.add(jb2);
jp.add(jb3);
jp.add(jb4);
jp.add(jb5);
jp.add(jb6);
jp.add(jb7);
jp.add(jb8);

jf.add(jbA,BorderLayout.NORTH);
jf.add(jbB,BorderLayout.WEST);
jf.add(jbC,BorderLayout.EAST);
jf.add(jbD,BorderLayout.SOUTH);
jf.add(jp,BorderLayout.CENTER);

jf.setTitle("布局管理器");
jf.setSize(300, 300);
jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
jf.setVisible(true);
}

}

熱點內容
武漢大學學生會輔導員寄語 發布:2021-03-16 21:44:16 瀏覽:612
七年級學生作文輔導學案 發布:2021-03-16 21:42:09 瀏覽:1
不屑弟高考成績 發布:2021-03-16 21:40:59 瀏覽:754
大學畢業證會有成績單 發布:2021-03-16 21:40:07 瀏覽:756
2017信陽學院輔導員招聘名單 發布:2021-03-16 21:40:02 瀏覽:800
查詢重慶2018中考成績查詢 發布:2021-03-16 21:39:58 瀏覽:21
結業考試成績怎麼查詢 發布:2021-03-16 21:28:40 瀏覽:679
14中醫醫師資格筆試考試成績查分 發布:2021-03-16 21:28:39 瀏覽:655
名著賞析課程標准 發布:2021-03-16 21:27:57 瀏覽:881
北京大學商業領袖高端培訓課程 發布:2021-03-16 21:27:41 瀏覽:919