教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 互联网资料 >

个人简历录入系统设计报告(2)

来源:网络收集 时间:2026-09-15
导读: 图2:JComboBox getJComboBox()流程图 该模块的主要代码如下: private JComboBox getJComboBox() { if (jComboBox == null) { String[] strcb={\计算机\电子\工商\jComboBox = new JComboBox(strcb); jComboBox.se

图2:JComboBox getJComboBox()流程图

该模块的主要代码如下:

private JComboBox getJComboBox() {

if (jComboBox == null) {

String[] strcb={\计算机\电子\工商\jComboBox = new JComboBox(strcb);

jComboBox.setBounds(new Rectangle(62, 108, 93, 18)); }

return jComboBox; }

(三)学历浏览

主要包含大专、本科、硕士、博士等,在下拉框里能选出自己所修学

位。

流程图如下:

学历

大专 本科 硕士 博士 5

图3:JComboBox getJComboBox1() 流程图

(四)性别

性别需要是设置选择按钮:男、女,并且只能选一个。 流程图如下:

性别

图4:JTextField getJTextField() 流程图

该模块的主要代码如下:

private JRadioButton getJRadioButton() {

if (jRadioButton == null) { jRadioButton = new JRadioButton();

jRadioButton.setBounds(new Rectangle(61, 62, 38, 26)); jRadioButton.setText(\男\}

return jRadioButton;

男 女 6

}

private JRadioButton getJRadioButton1() { if (jRadioButton1 == null) { jRadioButton1 = new JRadioButton();

jRadioButton1.setBounds(new Rectangle(117, 62, 38, 26)); jRadioButton1.setText(\女\}

return jRadioButton1;

}

(五)姓名

主要是实现输入姓名的文本框。 该模块的主要代码如下: private JTextField getJTextField() {

if (jTextField == null) { jTextField = new JTextField();

jTextField.setBounds(new Rectangle(61, 24, 180, 18)); }

return jTextField; }

7

(六)命令按钮

命令按钮主要是实现提交和取消功能,并且只能选一个: 该模块的流程图如下:

图5:JButton getJButton() 流程图 该模块的主要代码: private JButton getJButton1() {

if (jButton1 == null) { jButton1 = new JButton();

jButton1.setBounds(new Rectangle(158, 181, 60, 28)); jButton1.setText(\取消\

jButton1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { System.exit(0);

8

命令按钮 取消

} }); }

return jButton1; }

(七)存储文本框

该模块主要实现对所输入和选择信息的存储。

该模块的代码如下:

private JTextArea getJTextArea() {

if (jTextArea == null) { jTextArea = new JTextArea();

jTextArea.setBounds(new Rectangle(16, 225, 229, 130)); }

return jTextArea; }

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

9

个人简历录入系统设计报告(2).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/445893.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)