找回密码
 注册
搜索
热搜: 回贴
  • 前程无忧官网首页 有什么好的平台可以
  • 最新的销售平台 互联网营销的平台有哪
  • 制作网页的基本流程 网页制作和网页设
  • 【帝国CMS】输出带序号的列表(数字排
  • 网站建设公司 三一,中联,极东泵车的
  • 织梦 建站 织梦网站模版后台怎么更改
  • 云服务官网 哪些网站有免费的简历模板
  • 如何建网站要什么条件 建网站要用什么
  • 吉林市移动公司电话 吉林省退休人员网
  • 设计类毕业论文 网站设计与实现毕业论
查看: 495|回复: 1

题目做一半无从下手了

[复制链接]
发表于 2009-12-2 23:50:44 | 显示全部楼层 |阅读模式 IP:江苏扬州
一个学校电脑管理记录小程序做到一半无从下手了 而且有些错误不会改了  用的程序是NETBEAN6.5   希望懂的大大们帮我改一下 顺便提下该加的东西和建议  下面是整个程序  最后面是个关系图(可能有点错误)

题目要求很简单,就是管理一些电脑,记录那些用过电脑的人 以及使用时间,并保存起来,让后能查询这些record(增加删除的功能可有可无)

main.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

package cms;

/**
*
* @author Administrator
*/
public class Main {
private static Object JOptionPane;

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args,int i) {
        // TODO code application logic here
        String usernameString = JOptionPane.showInputDialog("Enter name");
        String timeString = JOptionPane.showInputDialog("Enter time");
        String computerString = JOptionPane.showInputDialog("Enter ID");
        
        String[] list = new String[i];
        System.out.println(list[i]);
        }
String output="";
}

multimedia_computer.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

package cms;

/**
*
* @author Administrator
*/
public class multimedia_computer {
private  String  built_inspeaker;
private  String  displaycard;
private  String  micphone;
private  String  webcam;

    public String getBuilt_inspeaker() {
        return built_inspeaker;
    }

    public void setBuilt_inspeaker(String built_inspeaker) {
        this.built_inspeaker = built_inspeaker;
    }

    public String getDisplaycard() {
        return displaycard;
    }

    public void setDisplaycard(String displaycard) {
        this.displaycard = displaycard;
    }

    public String getMicphone() {
        return micphone;
    }

    public void setMicphone(String micphone) {
        this.micphone = micphone;
    }

    public String getWebcam() {
        return webcam;
    }

    public void setWebcam(String webcam) {
        this.webcam = webcam;
    }
}



record.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

package cms;

/**
*
* @author Administrator
*/
public class record {
private  int begintime;
private  int time;
private  int endtime;

    public int getBegintime() {
        return begintime;
    }

    public void setBegintime(int begintime) {
        this.begintime = begintime;
    }

    public i
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-29 11:26 , Processed in 0.232760 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表