Java连接数据库增删改查(4)

2021-04-06 00:35

一些基础的关于java jdbc的程序代码

tfName = new JTextField();

tfName.setBounds(new Rectangle(89, 17, 173, 27));

}

return tfName;

}

private JComboBox getCbRegion() {

if (cbRegion == null) {

String[] str = { "请选择", "亚洲", "欧洲", "非洲", "北美洲", "南美洲", "大洋洲",

"南极洲" };

cbRegion = new JComboBox(str);

cbRegion.setBounds(new Rectangle(360, 17, 229, 28));

}

return cbRegion;

}

private JTextField getTfArea() {

if (tfArea == null) {

tfArea = new JTextField();

tfArea.setBounds(new Rectangle(89, 61, 173, 27));

}

return tfArea;

}

private JTextField getTfPopu() {

if (tfPopu == null) {

tfPopu = new JTextField();

tfPopu.setBounds(new Rectangle(360, 61, 229, 28));

}

return tfPopu;

}

private JTextField getTfGDP() {

if (tfGDP == null) {

tfGDP = new JTextField();

tfGDP.setBounds(new Rectangle(89, 105, 173, 27));

}

return tfGDP;

}

private JButton getBtnAdd() {

if (btnAdd == null) {

btnAdd = new JButton();


Java连接数据库增删改查(4).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:2021会计顶岗实习计划(新编版)

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: