登录
首页 » java » 登录界面

登录界面

于 2023-06-18 发布 文件大小:2.65 kB
0 110
下载积分: 2 下载次数: 1

代码说明:

swing 用户登录界面boolean selected = this.student1.isSelected(); String userName = username.getText(); String password = passwordFild.getText(); if (selected) { if (userName.length() == 0 || userName == null) { JOptionPane.showMessageDialog(null, "请输入学号!"); username.grabFocus(); return; } else if (password.length() == 0 || password == null) { JOptionPane.showMessageDialog(null, "请输入密码!"); passwordFild.grabFocus(); return; } else { try {

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • qrcode
    二维码的规范,详细说明了二维码的编码方式和过程(qrcode specification)
    2015-02-03 15:30:53下载
    积分:1
  • 远程视频监控
    【核心代码】 public interface CameraSource {  static final String LOG_TAG = "camera";  /**  * Open the camera source for subsequent use via calls to capture().  *   * @return true if the camera source was successfully opened.  */  boolean open();  /**  * Close the camera source. Calling close on a closed CameraSource is  * permitted but has no effect. The camera source may be reopened after  * being closed.  */  void close();  /**  * The width of the captured image.  *   * @return the width of the capture in pixels  */  int getWidth();  /**  * The height of the captured image.  *   * @return the height of the capture in pixels  */  int getHeight();  /**  * Attempts to render the current camera view onto the supplied canvas.  * The capture will be rendered into the rectangle (0,0,width,height).  * Outstanding transformations on the canvas may alter this.  *   * @param canvas the canvas to which the captured pixel data will be written  * @return true iff a frame was successfully written to the canvas  */  boolean capture(Canvas canvas);  boolean saveImage(String savePath, String fileName); }
    2013-12-04下载
    积分:1
  • interface
    interface定义了一组行为的协议。两个对象之间通过这个协议进行通信。 interface 不属于类层次结构。不相关的类可以实现相同的接口(interface defines a set of conduct agreement. Through this agreement between the two objects to communicate. interface does not belong to class hierarchy. Unrelated classes can implement the same interface)
    2010-08-09 16:18:01下载
    积分:1
  • IniAsliInventoriBarang
    Application for inventory developed with java
    2017-05-30 09:25:59下载
    积分:1
  • office
    北大青鸟第三单元项目 北大青鸟办公系统 ssh(Beida Jade Bird third unit Beida Jade Bird project office systems)
    2014-03-03 20:20:57下载
    积分:1
  • Calendar万年历
    java实现日历控件,包括年月日等,供开发者自己选择,java开发的,
    2022-01-22 05:57:05下载
    积分:1
  • JavaStudent-Management-System
    本系统主要包括学生学籍管理、班级管理、课程管理、成绩管理等模块(The system includes Student Management, classroom management, curriculum management, performance management module)
    2012-12-09 18:09:06下载
    积分:1
  • 摄像头
    电脑摄像头的开发案例,给予控件的开,.........................................................................................................
    2022-05-31 14:13:00下载
    积分:1
  • Data_Structures_a_Algorithms_in_Java_(Sams)
    text book on java ...generally it is too hard to find a good book but this makes things easier
    2012-09-13 19:42:48下载
    积分:1
  • 分布式文件系统HDFS的简单实现
    简述 用Java实现HDFS的最基本的功能:上传文件、下载文件、删除文件以及列出所有文件。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-07-21 12:55:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载