-
连数据库,输入用户名和密码后如何跳转到主窗口
import javax.swing.*;
import java.awt.event.*;
import java.sql.*;
public class Login extends JFrame implements ActionListener {
private JLabel lbId, lbPass;
private JTextField txtId, txtPass;
private JButton btLogin, btExit;
private Connection datacon = null;//连接对象
private PreparedStatement pstat = null;//命令对象
private ResultSet rs = null;//结果
- 2022-02-05 20:26:14下载
- 积分:1
-
Recteneald on a numerical calculation of all source and courseware
Recteneald数值计算一书的所有源码和课件-Recteneald on a numerical calculation of all source and courseware
- 2022-02-26 20:19:33下载
- 积分:1
-
这是一个代码,可以实现任意阶的幻方的计算(6除外)
这是一个代码,可以实现任意阶的幻方的计算(6除外)-This is a code that can be achieved any order of the magic square of terms (except 6)
- 2022-04-19 07:13:32下载
- 积分:1
-
冒泡排序代码 c + +
bble 排序,有时被误称为下沉排序是一个简单的排序算法,通过反复逐句通过列表进行排序的工作,比较每一对相邻的项目和交换他们,如果他们是以错误的顺序。列表中的通过重复,直到没有全部门办法需要的这表明对列表进行排序。该算法到列表的顶端,从方式较小的元素"的泡沫"获取其名称。因为它只使用比较对元素进行操作,它是一种比较排序。虽然该算法很简单,大部分的其他排序算法的效率是更有效的大型列表。冒泡排序具有最坏情况以及平均复杂度两个 О(n2),其中 n 是要排序的项的数目。极大地更好最坏的情况或平均复杂度是 O (n,log n) 存在很多的排序算法。即使其他 О(n2) 排序算法,如插入排序,倾向于有更好的性能,比冒泡排序。因此,冒泡排序不是一种实用的排序算法在 n 很大时。冒泡排序的唯一重大的优势超过大多数其他实现,甚至快速排序,但不是插入排序,是到算法有效地建立了检测对列表进行排序的能力。此列表已排序 (最好),冒泡排序的复杂性时只有 o (n)。与此相反的是,大多数其他算法,即使是那些具有更好的平均情况复杂性、 执行他们整个的排序过程对集和因而是更复杂。然而,不单止没有插入排序这一机制也有,但是它还更好地执行极大地进行排序 (具有反演一个小的数目) 的名单上。在大型集合的情况下,应避免冒泡排序。它不会有效时相反的顺序
- 2022-08-14 14:32:17下载
- 积分:1
-
步进电机加减速算法
舞台灯用步进电机加减速算法:用A3992控制芯片控制步进电机加减速,A3992用的是串行数据控制方式,一个单片机可控制多个电机。用的是16细分算法。。。。
- 2022-07-22 06:59:21下载
- 积分:1
-
ffmpg库的源码
FFmpeg README
-------------
1) Documentation
----------------
* Read the documentation in the doc/ directory.
2) Licensing
------------
* Read the file COPYING. ffmpeg and the associated libraries EXCEPT
liba52 and libpostproc are licensed under the Lesser GNU General
Public License.
* liba52 and libpostproc are distributed under the GNU General Public
License and their compilation and use is optional in ffmpeg.
Fabrice Bellard.
- 2022-07-03 09:19:29下载
- 积分:1
-
功能程序支持的功能是:罪,因为,谭,阿辛,ACOS,阿坦,口罗…
函数程序中支持的函数有:sin,cos,tan,asin,acos,atan,exp,log,sign,pow-Function program support functions are: sin, cos, tan, asin, acos, atan, exp, log, sign, pow
- 2022-01-23 10:48:43下载
- 积分:1
-
仿VB的InputBox
仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox仿VB的InputBox
- 2022-05-13 03:43:50下载
- 积分:1
-
这是复数的加减法运算源代码.使用C++在VC环境中实现.
这是复数的加减法运算源代码.使用C++在VC环境中实现.-This is the plural of addition and subtraction operations source. The use of C in the VC environment to achieve.
- 2022-01-26 01:24:52下载
- 积分:1
-
sound_check_by_MCU
通过MCU检查声音
- 2022-07-07 00:57:08下载
- 积分:1