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

2021-04-06 00:35

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

package edu;

import java.awt.Rectangle;

import java.awt.event.ActionEvent;

import java.awt.event.ActionListener;

import java.util.List;

import javax.swing.JButton;

import javax.swing.JComboBox;

import javax.swing.JFrame;

import javax.swing.JLabel;

import javax.swing.JOptionPane;

import javax.swing.JPanel;

import javax.swing.JScrollPane;

import javax.swing.JTable;

import javax.swing.JTextField;

import javax.swing.SwingUtilities;

public class CountryInfoGui implements ActionListener {

private JFrame jFrame;

private JPanel jContentPane;

private JLabel lblName = null;

private JTextField tfName = null;

private JLabel lblRegion = null;

private JComboBox cbRegion = null;

private JLabel lblArea = null;

private JTextField tfArea = null;

private JLabel lblPopu = null;

private JTextField tfPopu = null;

private JLabel lblGdp = null;

private JTextField tfGDP = null;

private JButton btnAdd = null;

private JButton btnDel = null;

private JButton btnModify = null;

private JButton btnQuery = null;

private JButton btnUpPage = null;

private JButton btnDownPage = null;

private JTable table = null;

TableModel tm = null;

JScrollPane jsp = null;

private JTextField getTfName() {

if (tfName == null) {


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

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

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

马上注册会员

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