
根据全微毕设的经验单独的web前端做毕设想通过相对来说会比较难,如果想通过web做毕设通过可以采纳一下以下几点建议。
----1设计一个完整的项目
例如完成一个学生信息管理系统、网上商城购物系统等。从前后端完成一个健全的系统,前端用html、css等做页面展示,后端制作服务端响应页面请求,完成系统的整个功能。利用数据库保存系统的数据。
----2结合web前端与服务器端完成一个完整的毕设
前端通常指的就是我们能看到的部分,利用标签或者超链接提交地址到对应的服务器让服务器响应该指令做出对应的页面展示或页面变化。
----3技术如何选择
前端必定有的技术包含CSS/HTML/JS。如果为了能更快速更美观的完成系统的前端页面可以使用前端框架、包括了bootstrap、foundnation等
服务器端技术选择:JAVA/PHP/PYTHON/ASP等
每个技术都有其优势与缺点 新手上手的话可以选择PHP或者JAVA
JAVA拥有大量的文档资源可以供我们查询、PHP上手简单可以快速开发一个完整的系统
----4设计并完成一个项目的流程?
1整理系统功能,绘制流程图
2根据功能设计数据库
3编写前端页面
4将前端页面与数据库结合
5测试系统功能,完善系统功能不健全部分。
更多毕设相关知识 度娘搜索 全微毕设
他们的程序超多注释,极速完成。轻松答辩
是记事本的样式吗?就要这些要求吗?
下面这些代码的功能挺全的,可以参考一下,不用的可以删掉。
import javaio;
import javautilCalendar;
import javaawt;
import javaawtevent;
import javaxswing;
import javaxswingevent;
public class NoteBook extends JFrame implements ActionListener,ItemListener,WindowListener,MouseListener
{ Container c = thisgetContentPane();
JMenuBar jmb = new JMenuBar();
JColorChooser jcl = new JColorChooser();
JToolBar jToolBar = new JToolBar();
JButton jButton1 = new JButton();
JButton jButton2 = new JButton();
JButton jButton3 = new JButton();
JButton jButton4 = new JButton();
JMenu jm1 = new JMenu("文件(F)");
JMenu jm2 = new JMenu("编辑(E)");
JMenu jm4 = new JMenu("格式(O)");
JMenu jm5 = new JMenu("查看(V)");
JMenu jm3 = new JMenu("帮助(H)");
JMenuItem jmi1 = new JMenuItem("新建(N)");
JMenuItem jmi2 = new JMenuItem("打开(O)");
JMenuItem jmi3 = new JMenuItem("保存(S)");
JMenuItem jmi4 = new JMenuItem("退出(X)");
JMenu jmd4=new JMenu("颜色");
JMenu jmd0=new JMenu("字体");
JMenuItem aa=new JMenuItem("复制(C)");
JMenuItem bb=new JMenuItem("剪切(X)");
JMenuItem cc=new JMenuItem("粘贴(V)");
JCheckBoxMenuItem jcuti1 = new JCheckBoxMenuItem("粗体");
JCheckBoxMenuItem jxieti1 = new JCheckBoxMenuItem("斜体");
JMenuItem jmp1 = new JMenuItem("日期和时间");
JMenuItem jmp2 = new JMenuItem("背景颜色(H)");
JMenuItem jmi5 = new JMenuItem("删除内容(S)");
JMenuItem jmi7=new JMenuItem("关于自己");
JTextArea jta = new JTextArea(23,15);
JScrollPane jsp = new JScrollPane(jta);
JMenuItem jmdb1=new JMenuItem("**");//定义各种颜色
JMenuItem jmdb2=new JMenuItem("红色");
JMenuItem jmdb3=new JMenuItem("绿色");
JMenuItem jmdb4=new JMenuItem("蓝色");
JMenuItem jmdb5=new JMenuItem("黑色");
NoteBook()
{ thisaddWindowListener(this);
setBounds(200,200,200,200);
cadd(jmb,BorderLayoutNORTH);
validate();
setDefaultCloseOperation(JFrameEXIT_ON_CLOSE);
thissetResizable(false);
thissetTitle("记事本");
jmbadd(jm1);//文件
jm1setMnemonic('f');
jm1addActionListener(this);
jmbadd(jm2);//编辑
jm2setMnemonic('e');
jmbadd(jm4);//格式
jm4setMnemonic('o');
jm4addActionListener(this);
jmbadd(jm5);
jm5setMnemonic('v'); //查看
jmbadd(jm3);//帮助
jm3setMnemonic('h');
jmbsetLocation(0,0);
jm1add(jmi1);
jmi1addActionListener(this);//新建
jmi1setAccelerator(KeyStrokegetKeyStroke('N',EventCTRL_MASK,false));
jm1addSeparator();
jm1add(jmi2);
jmi2setAccelerator(KeyStrokegetKeyStroke('O',EventCTRL_MASK,false));
jmi2addActionListener(this);//打开
jm1addSeparator();
jm1add(jmi3);
jmi3setAccelerator(KeyStrokegetKeyStroke('S',EventCTRL_MASK,false));
jmi3addActionListener(this);//保存
jm1addSeparator();
jm1add(jmi4);
jmi1setMnemonic('n');
jmi2setMnemonic('o');
jmi3setMnemonic('s');
jmi4setMnemonic('x');
jmi4addActionListener(this);//退出
jm5add(jmi5); //删除
jm5addSeparator();
jmi5addActionListener(this);
jm4addSeparator();
jm4add(jmd4);
jm4add(jmd0);
jmd4add(jmdb1);
jmd4add(jmdb2);
jmd4add(jmdb3);
jmd4add(jmdb4);
jmd4add(jmdb5);
jmd4addActionListener(this); //添加监视器
jmdb1addActionListener(this);
jmdb2addActionListener(this);
jmdb3addActionListener(this);
jmdb4addActionListener(this);
jmdb5addActionListener(this);
jm5add(jmp1);
jm5addSeparator();
jm5add(jmp2);
jmp1addActionListener(this);//日期时间
jmp2addActionListener(this);//背景颜色
jm2add(aa);
jm2addSeparator();
jm2add(bb);
jm2addSeparator();
jm2add(cc);
jm2addSeparator();
jmd0add(jcuti1);
jmd0addSeparator();
jmd0add(jxieti1);
aasetMnemonic('C');
aasetAccelerator(KeyStrokegetKeyStroke(KeyEventVK_C,InputEventCTRL_MASK));
bbsetMnemonic('x');
bbsetAccelerator(KeyStrokegetKeyStroke(KeyEventVK_X,InputEventCTRL_MASK));
ccsetMnemonic('V');
ccsetAccelerator(KeyStrokegetKeyStroke(KeyEventVK_V,InputEventCTRL_MASK));
aaaddActionListener(this);//复制
bbaddActionListener(this);//剪切
ccaddActionListener(this);//粘贴
jmd4addActionListener(this);
jcuti1addItemListener(this);//粗体
jxieti1addItemListener(this);//斜体
jm3add(jmi7);
jmi7addActionListener(this);//关于自己
cadd(jToolBar,BorderLayoutCENTER); //工具条
jButton2setIcon(new ImageIcon("image\\newJPG"));//新建
jToolBaradd(jButton2);
jButton2setToolTipText("新建");
jButton2addActionListener(this);
jButton1setIcon(new ImageIcon("image\\openJPG"));//打开
jButton1setToolTipText("打开");
jToolBaradd(jButton1);
jButton1addActionListener(this);
jButton3setIcon(new ImageIcon("image\\saveJPG"));//保存
jToolBaradd(jButton3);
jButton3setToolTipText("保存");
jButton3addActionListener(this);
jButton4setIcon(new ImageIcon("image\\qqJPG"));
jButton4addActionListener(this); //退出
jToolBaradd(jButton4);
jButton4setToolTipText("退出");
cadd(jsp,BorderLayoutSOUTH);
thissetDefaultCloseOperation(JFrameDISPOSE_ON_CLOSE);
thissetSize(500,500);
thissetVisible(true);
jmdb1addActionListener(new ActionListener() //**
{ public void actionPerformed(ActionEvent e)
{ jtasetForeground(Coloryellow);
} } );
jmdb2addActionListener(new ActionListener() //红色
{ public void actionPerformed(ActionEvent e)
{ jtasetForeground(Colorred);
} } );
jmdb3addActionListener(new ActionListener() //绿色
{ public void actionPerformed(ActionEvent e)
{ jtasetForeground(Colorgreen);
} } );
jmdb4addActionListener(new ActionListener() //蓝色
{
public void actionPerformed(ActionEvent e)
{
jtasetForeground(Colorblue);
} } );
jmdb5addActionListener(new ActionListener() //黑色
{
public void actionPerformed(ActionEvent e)
{
jtasetForeground(Colorblack);
} } );
}
public void actionPerformed(ActionEvent e)
{ if(egetSource()==jmi1)//新建
{jtasetText("");
thissetTitle("无标题 - 记事本");
}
if(egetSource()==jmi2)//打开
{File f1;
JFileChooser jfc1 = new JFileChooser();
int num1 = jfc1showOpenDialog(this);
if(num1==JFileChooserAPPROVE_OPTION)
{ try {
f1 = jfc1getSelectedFile();
thissetTitle(f1getName());
FileReader fr = new FileReader(f1);
BufferedReader br = new BufferedReader(fr);
String str;
while((str = brreadLine())!=null)
{jtasetText(str);}
frclose();
brclose(); }
catch(FileNotFoundException e1)
{e1printStackTrace();}
catch(IOException e2){e2printStackTrace();}
}}
if(egetSource()==jmi3)//保存
{File f2 = null;
JFileChooser jfc2 = new JFileChooser();
int num2 = jfc2showSaveDialog(this);
if(num2==JFileChooserAPPROVE_OPTION){
f2=jfc2getSelectedFile();
thissetTitle(f2getName());
try{
FileWriter fw = new FileWriter(f2);
BufferedWriter bw = new BufferedWriter(fw);
bwwrite(jtagetText());
bwclose();
fwclose();
}catch(IOException e2){
e2printStackTrace();
}}}
if(egetSource()==jmi4)//退出
{
int a = JOptionPaneshowConfirmDialog(this,"文件已被改变,是否要保存?","提示",JOptionPaneYES_NO_CANCEL_OPTION);
if(a==1){
thisdispose();
}else if(a==0){
File f2 = null;
JFileChooser jfc2 = new JFileChooser();
int num2 = jfc2showSaveDialog(this);
if(num2==JFileChooserAPPROVE_OPTION){
f2=jfc2getSelectedFile();
thissetTitle(f2getName());
try{
FileWriter fw = new FileWriter(f2);
BufferedWriter bw = new BufferedWriter(fw);
bwwrite(jtagetText());
bwclose();
fwclose();
}catch(IOException e2){
e2printStackTrace();
}
thisdispose();
}}}
if(egetSource()==jmp1)//日期时间
{
Calendar c1 =CalendargetInstance();
int y = c1get(CalendarYEAR);
int m = c1get(CalendarMONTH);
int d = c1get(CalendarDATE);
int h = c1get(CalendarHOUR);
int m1 = c1get(CalendarMINUTE);
int m2 = m+1;
jtasetText(y+"年"+m2+"月"+d+"日"+h+":"+m1);
}
if(egetSource()==jmp2)//背景色
{ Color ccc = JColorChoosershowDialog(this,"color",ColorBLACK);
jtasetSelectedTextColor(ccc);
jtasetBackground(ccc);
}
if(egetSource()==jButton1)//打开
{File f1;
JFileChooser jfc1 = new JFileChooser();
int num1 = jfc1showOpenDialog(this);
if(num1==JFileChooserAPPROVE_OPTION)
{
try
{
f1 = jfc1getSelectedFile();
thissetTitle(f1getName());
FileReader fr = new FileReader(f1);
BufferedReader br = new BufferedReader(fr);
String str;
while((str = brreadLine())!=null)
{jtasetText(str);}
frclose();
brclose(); }
catch(FileNotFoundException e1)
{e1printStackTrace();}
catch(IOException e2){e2printStackTrace();}
} }
if(egetSource()==jButton2)
{jtasetText("");
thissetTitle("文本编辑器");
}
if(egetSource()==jmi5){
jtareplaceRange("",jtagetSelectionStart(),jtagetSelectionEnd()); //删除
}
if(egetSource()==jButton3)
{File f2 = null;
JFileChooser jfc2 = new JFileChooser();
int num2 = jfc2showSaveDialog(this);
if(num2==JFileChooserAPPROVE_OPTION){
f2=jfc2getSelectedFile();
thissetTitle(f2getName());
try{
FileWriter fw = new FileWriter(f2);
BufferedWriter bw = new BufferedWriter(fw);
bwwrite(jtagetText());
bwclose();
fwclose();
}catch(IOException e2){
e2printStackTrace();
}}}
if(egetSource()==aa) //复制
{jtacopy();}
else if(egetSource()==bb)//剪切
{ jtacut(); }
else if(egetSource()==cc)//粘贴
{jtapaste();}
if(egetSource()==jButton4)
{int a = JOptionPaneshowConfirmDialog(this,"文件已被改变,是否要保存?","提示",JOptionPaneYES_NO_CANCEL_OPTION);
if(a==1){
thisdispose();
}else if(a==0){
File f2 = null;
JFileChooser jfc2 = new JFileChooser();
int num2 = jfc2showSaveDialog(this);
if(num2==JFileChooserAPPROVE_OPTION){
f2=jfc2getSelectedFile();
thissetTitle(f2getName());
try{
FileWriter fw = new FileWriter(f2);
BufferedWriter bw = new BufferedWriter(fw);
bwwrite(jtagetText());
bwclose();
fwclose();
}catch(IOException e2){
e2printStackTrace();
}
thisdispose();
}}}
//if(egetSource()==jmi7)//关于我
//{About1 a=new About1();//实现跳转
// asetVisible(true);
//}
}
public void itemStateChanged(ItemEvent e) //字体
{Font c=new Font("Serif",FontPLAIN,14);
if(egetItemSelectable()==jcuti1)
{if(jcuti1getState()==true)
{ Font f=new Font("Serif",FontBOLD,20); //粗体
jtasetFont(f);}
else{jtasetFont(c);}
}
else if(egetItemSelectable()==jxieti1)
{if(jxieti1getState()==true)
{ Font b=new Font("Serif",FontITALIC,20);//斜体
jtasetFont(b);}
else{jtasetFont(c);
} } }
public static void main(String[] args)//入口
{ new NoteBook(); }
public void windowOpened(WindowEvent arg0) {}
public void windowClosing(WindowEvent arg0) {
int a = JOptionPaneshowConfirmDialog(this,"文件已被改变,是否要保存?","提示",JOptionPaneYES_NO_CANCEL_OPTION);
if(a==1){
thisdispose();
}else if(a==0){
File f2 = null;
JFileChooser jfc2 = new JFileChooser();
int num2 = jfc2showSaveDialog(this);
if(num2==JFileChooserAPPROVE_OPTION){
f2=jfc2getSelectedFile();
thissetTitle(f2getName());
try{
FileWriter fw = new FileWriter(f2);
BufferedWriter bw = new BufferedWriter(fw);
bwwrite(jtagetText());
bwclose();
fwclose();
}catch(IOException e2){
e2printStackTrace();
}
}
if(a==2){}
}
}
public void windowClosed(WindowEvent arg0) {}
public void windowIconified(WindowEvent arg0) {}
public void windowDeiconified(WindowEvent arg0) {}
public void windowActivated(WindowEvent arg0) {}
public void windowDeactivated(WindowEvent arg0) {}
public void mouseClicked(MouseEvent arg0) {}
public void mousePressed(MouseEvent arg0) {}
public void mouseReleased(MouseEvent arg0) {}
public void mouseEntered(MouseEvent arg0) {}
public void mouseExited(MouseEvent arg0) {}
}
软件开发步骤应该都是一样的,不分什么JAVA或是C的吧。
需求确认——概要设计——详细设计——编码——单元测试——集成测试——系统测试——维护
需求确认:需求规格说明书
概要设计:系统用例图,用例场景
详细设计:系统设计报告,数据库设计报告
测试:测试用例报告
主要的流程就是这些
package comtest;
import javautilScanner;
public class Jizita {
public static void main(String[] args) {
Scanner scan = new Scanner(Systemin);
int n = scannextInt();
for(int i=0;i<n;i++)
{
for(int j=i;j<(n-1);j++)
{
Systemoutprint(" ");
}
for(int j=1;j<=i+1;j++)
{
Systemoutprint(j);
Systemoutprint(" ");
}
for(int j=i;j>0;j--)
{
Systemoutprint(j);
Systemoutprint(" ");
}
Systemoutprintln();
}
}
}
以上就是关于java毕业设计项目,怎么做流程是怎么样的全部的内容,包括:java毕业设计项目,怎么做流程是怎么样的、java的一个简单记事本程序设计、java软件开发全过程之步骤详情(开发java应用程序有哪些步骤)等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)