首页 > 英语 > 知识 > JAVA课程设计报告,求一个最最简单的java课程设计报告

JAVA课程设计报告,求一个最最简单的java课程设计报告

来源:整理 时间:2023-11-02 13:36:08 编辑:挖葱教案 手机版

本文目录一览

1,求一个最最简单的java课程设计报告

JAVA课程设计黑白棋源代码www.lwfree.cn/Article/sheji/200709/58.html

求一个最最简单的java课程设计报告

2,急求 日历记事本课程设计报告 java编写

日历记事本课程设计报告 java编写/*说明:主程序*/import java.util.Calendar;import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.io.*;import java.util.Hashtable;public class CalendarPad extends JFrame implements MouseListener int year,month,day; Hashtable hashtable; File file; JTextField showDay[]; JLabel title[]; Calendar 日历; int 星期几; NotePad notepad=null; Month 负责改变月; Year 负责改变年; String 星期[]= JPanel leftPanel,rightPanel; public CalendarPad(int year,int month,int day) leftPanel=new JPanel(); //左边日历...........JPanel leftCenter=new JPanel(); JPanel leftNorth=new JPanel(); leftCenter.setLayout(new GridLayout(7,7)); rightPanel=new JPanel(); this.year=year; this.month=month; this.day=day; 负责改变年=new Year(this); 负责改变年.setYear(year); 负责改变月=new Month(this); 负责改变月.setMonth(month); title=new JLabel[7]; showDay=new JTextField[42]; for(int j=0;j<7;j++) title[j]=new JLabel(); title[j].setText(星期[j]); title[j].setBorder(BorderFactory.createRaisedBevelBorder()); leftCenter.add(title[j]); } ........看下是不是收到了啊额外人提问

急求 日历记事本课程设计报告 java编写

3,JAVA程序设计

abstract class Shape double perimeter; double area;}class Triangle extends Shape double rightAngleSide; double AdjacentAngleEdge; double hypotenuse; public void setRightAngleSide(double rightAngleSide) this.rightAngleSide = rightAngleSide; } public void setAdjacentAngleEdge(double adjacentAngleEdge) AdjacentAngleEdge = adjacentAngleEdge; } public void setHypotenuse(double hypotenuse) this.hypotenuse = hypotenuse; } public boolean checkTriangle() double r = this.rightAngleSide; double a = this.AdjacentAngleEdge; double h = this.hypotenuse; return (r * r + a * a) == (h * h); }}class Rectangle extends Shape double length; double width; public Rectangle(double length, double width) this.length = length; this.width = width; } public double getPerimeter() return (this.length + this.width) * 2; } public double getArea() return this.length * this.width; }}class Circle extends Shape double radius; public Circle() } public Circle(double radius, double perimeter, double area) this.radius = radius; } public double getPerimeter() return Math.PI * this.radius * 2; } public double getArea() return Math.PI * this.radius * this.radius; }}public class Test public static void main(String[] args) }}

JAVA程序设计

4,java课程设计报告

自己写吧,网络上求助的发方法不大可能让你满意的。
Java课程设计报告完整论文(Part2) 程序源代码及其解析 package staff;//包 public static void main(final String[] args) throws IOException //throws do{ System.out.println("☆★☆★☆★☆★☆计算机科学与工程系0633061班★黄伟才★小组设计★☆★☆★☆\n\n"); System.out.println("┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓"); System.out.println("┃★ ★ ★ 职工管理系统主菜单界面 ★ ★ ★┃"); System.out.println("┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫"); System.out.println("┃  ★ ★ ★ ★   ①.输入职工信息 ★ ★ ★ ┃"); System.out.println("┃ ★ ★ ★ ②.预览职工信息 ★ ★ ★ ┃"); System.out.println("┃ ★ ★ ★ ③.查找职工信息 ★ ★ ★   ┃"); System.out.println("┃ ★ ★ ★ ④.删除职工信息 ★ ★ ★    ┃"); System.out.println("┃  ★ ★ ★  ⑤.安全退出系统 ★ ★ ★   ┃"); System.out.println("┃ ★ ★ ★ ★ ★ ★ ⑥.读取数据 ★ ★ ★ ★ ★ ★ ┃"); System.out.println("┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛"); System.out.print(" 请输入您 void creat({ System.out.print("\n请输入职工信息(以0结束)\n"); System.out.print("姓名:\n\n"); while(staffOne[i].name.compareTo("0")!=0) //用数组staffOne[i]来暂存职工的序号,并用compareTo方法确定判定是否应该写入新信息 { System.out.print("工号:\n\n"); staffOne[i].wanges=buf.readLine(); i++; } } voidIOException //这里是实现“输出(预览)职工信息”output的模块 { System.out.println("-------------------------------------------------------------------------------"); System.out.println(" *员工信息表* ); System.out.println("-------------------------------------------------------------------------------"); System.out.println("姓名 工号 性别 年龄 学历 职位 工 资 电话号码 住址 "); System.out.println("-------------------------------------------------------------------------------"); if(i!=0) { ");

5,java课程设计报告只是某种算法怎么写

1. calculator功能需求分析   作为计算器,至少应该具备以下几点功能:   (1) 计算器要有GUI界面。   (2) 能运算小数,并且不会产生精度损失。   (3) 用户可以输入所需计算的数值,可以进行加、减、乘、除四种最基本的运算和   混合运算。   (4) 允许正负数间的运算。   (5) 可以求一个数值的平方及倒数,可以进行阶乘运算。   (6) 有菜单栏选项。   具体的功能需求和界面我们可以模仿微软公司出品的windowsXP中自带的计算器。如图一:   图一 windows XP 中的计算器界面图   2. calculator基本设计思路和类划分   基于第1节中提出对于calculator功能需求的分析,对这个应用程序设计划分类如下:   (1) calculator:这个类的功能是实现一个框架   (2) calculatorFrame:这个类作为主类,实现主要功能:运算,按钮排布,菜单,颜   色设置,文本显示   3. calculator的具体实现   3.1 calculator类的设计   calculator用来定义一个计算器的框架   1.主要方法   下面以表格的形式列出calculator类至少应该具有的方法和功能描述(如表一所示)。   3.2 calculatorFrame类的设计   calculatorFrame类实现整体功能,包括窗体的初始化、各种用户事件监听和响应(菜单、运算、结果显示等等)。   1. 父类和主要接口   设计calculator整体 窗口特性继承自JFrame类。   为了对用户命令做出响应(如帮助菜单栏弹出窗口),calculatorFrame类必须能够监听到用户的命令,因此设计calculatorFrame类实现ActionListener接口。   2. 主要方法   下面以表格的形式列出calculatorFrame类至少应该具有的方法和功能描述(如表二所示)。   3. 基本效果   图二为calculator的基本效果图。   4. 代码分析   calculator.java代码如下:   //calculator.java   /*   *文件名:calculator.java   *说明:calculatorFrame主类,实现主要功能   */   //导入AWT包   import java.awt.*;   import java.awt.event.*;   //导入SWING包   import javax.swing.*;   import javax.swing.event.*;   class calculator   {   public static void main(String[] args)   {   calculatorFrame frame = new calculatorFrame();   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.show();   }   }   //主类calculatorFrame   class calculatorFrame extends JFrame   implements ActionListener   {   public calculatorFrame()   {   //设置框架主题及大小   setTitle("计算器");   setSize(300,235);   //将面板置于框架中   Container contentPane = getContentPane();   setResizable(false);   //创建按钮面板   JPanel buttonPanel = new JPanel();   //创建数字键“1”   b11=new JButton ("1");   //设置颜色   b11.setForeground(Color. BLUE);   //创建事件监听器   b11.addActionListener(this);   b12=new JButton ("2");   b12.setForeground(Color. BLUE);   b12.addActionListener(this);   b13=new JButton ("3");   b13.setForeground(Color. BLUE);   b13.addActionListener(this);   b6=new JButton ("4"); b6.setForeground(Color. BLUE); b6.addActionListener(this); b7=new JButton ("5"); b7.setForeground(Color. BLUE); b7.addActionListener(this); b8=new JButton ("6"); b8.setForeground(Color. BLUE); b8.addActionListener(this); b1=new JButton ("7"); b1.setForeground(Color. BLUE); b1.addActionListener(this); b2=new JButton ("8"); b2.setForeground(Color. BLUE); b2.addActionListener(this); b3=new JButton ("9"); b3.setForeground(Color. BLUE); b3.addActionListener(this); b16=new JButton ("0"); b16.setForeground(Color. BLUE); b16.addActionListener(this); b17=new JButton ("+/-"); b17.setForeground(Color. BLUE); b17.addActionListener(this); b4=new JButton ("+"); b4.addActionListener(this); b9=new JButton ("-"); b9.addActionListener(this); b14=new JButton ("*"); b14.addActionListener(this); b19=new JButton ("/"); b19.addActionListener(this); b5=new JButton ("1/x"); b5.setForeground(Color. YELLOW); b5.addActionListener(this); b20=new JButton ("="); b20.setForeground(Color. YELLOW); b20.addActionListener(this); //”.”显示不清晰,故采用“。”代替   b18=new JButton ("。");   b18.setForeground(Color. BLUE);   b18.addActionListener(this);   b10=new JButton ("x^2");
1. 该算法是做什么的,背景意义什么的网上搜一搜,copy 2. 流程图画出来,能占一两页篇幅 3. 针对该流程图再写一下文字版流程,一步一回车,写好后剪切到流程图前面 4. 核心代码copy进来 5. 该算法由何种思想演变而来,写一写 6. 讨论该算法的时间复杂度 7. 和其他有可比性的算法进行比较,同一组输入,同样的环境,对输出进行统计,绘制表格,写出结论 8. 该算法的改进可能性探讨 9. 感想(多凑点字数) 暂时就想到这么多,如果你有其他课设的报告模版,可以再加点
文章TAG:java课程课程设计设计JAVA课程设计报告

最近更新

相关文章