宿迁建设公司网站,济南网站开发哪家好,建设企业网站服务,在淘宝做网站和网络公司做网站区别1.团队课程设计博客链接2.个人负责模板设计程序运行界面#xff0c;数据的输入#xff0c;判断数据输入类型的错误#xff0c;判断密码类型是否选择。3.自己的代码提交记录截图4自己负责模块或任务详细说明(一)总体设计1.系统主要功能(1)输入生成密码长度#xff1b;(2)判断…1.团队课程设计博客链接2.个人负责模板设计程序运行界面数据的输入判断数据输入类型的错误判断密码类型是否选择。3.自己的代码提交记录截图4自己负责模块或任务详细说明(一)总体设计1.系统主要功能(1)输入生成密码长度(2)判断输入是否正确包括输入的是否是数字以及输入的长度是否超出有效长度(3)判断是否选择生成密码类型(4)生成随机密码。流程图(二)本人负责的主要功能展示与代码分析运行程序主要代码private void GeneratePasswordButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_GeneratePasswordButtonActionPerformedPassword getpassword new Password();String passwordlength InputField.getText();//获取密码长度int b 0;try {b Integer.parseInt(passwordlength);jLabel5.setText(null);} catch (NumberFormatException e) {jLabel5.setText(输入错误请重新输入);}if (b 0 b 20) {r getpassword.passwordType(X, Y, Z, b);if(r.equals( )){jLabel5.setText(请选择密码类型);}}else{jLabel5.setText(输入错误请重新输入);}OutputField.setText(r);}//GEN-LAST:event_GeneratePasswordButtonActionPerformedprivate void ChooseNumberButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ChooseNumberButtonActionPerformedif (x 0) {X 1;x 0;} else {x 1;X 0;}}//GEN-LAST:event_ChooseNumberButtonActionPerformedprivate void ChooseLowerCaseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ChooseLowerCaseButtonActionPerformedif (y 0) {Y 1;y 0;} else {y 1;Y 0;}}//GEN-LAST:event_ChooseLowerCaseButtonActionPerformedprivate void ChooseUpperCaseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ChooseUpperCaseButtonActionPerformedif (z 0) {Z 1;z 0;} else {z 1;Z 0;}}//GEN-LAST:event_ChooseUpperCaseButtonActionPerformedprivate void InputFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_InputFieldActionPerformed}//GEN-LAST:event_InputFieldActionPerformedprivate void OutputFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_OutputFieldActionPerformed}//GEN-LAST:event_OutputFieldActionPerformedprivate void formComponentResized(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_formComponentResized}//GEN-LAST:event_formComponentResizedpublic static void main(String args[]) {java.awt.EventQueue.invokeLater(new Runnable() {Overridepublic void run() {new PasswordFrame().setVisible(true);}});}private static int X;//选择数字的密码private static int Y;//选择小写字母的密码private static int Z;//选择大写字母的密码private static int x 1;//选择或关闭数字密码private static int y 1;//选择或关闭小写字母密码private static int z 1;//选择或关闭大写字母密码private static String r ;// Variables declaration - do not modify//GEN-BEGIN:variablesprivate javax.swing.JRadioButton ChooseLowerCaseButton;private javax.swing.JRadioButton ChooseNumberButton;private javax.swing.JRadioButton ChooseUpperCaseButton;private javax.swing.JButton GeneratePasswordButton;private javax.swing.JLabel HeadLine;private javax.swing.JTextField InputField;private javax.swing.JTextField OutputField;private javax.swing.JDesktopPane jDesktopPane1;private javax.swing.JLabel jLabel1;private javax.swing.JLabel jLabel2;private javax.swing.JLabel jLabel3;private javax.swing.JLabel jLabel4;private javax.swing.JLabel jLabel5;// End of variables declaration//GEN-END:variables}5.课程设计感想总的来说这次课程设计对我来说很难经过两天换了两次题目结果发现都做不出来前后浪费了两天时间最后不得已选了个最简单的D类题目。。。。