userloginevent.java

来自「用java语言编写的日历源码」· Java 代码 · 共 28 行

JAVA
28
字号
package at.ac.uni_linz.tk.vchat;

import java.io.*;


/**
 * Represents a login of a User.
 *
 * @author      Arno Huetter
 * (C)opyright by the Institute for Computer Science, Telecooperation Department, University of Linz
 */

public class UserLoginEvent implements Serializable {

  public User user;


/**
 * Constructs the UserLoginEvent.
 *
 * @param userParam      the User who logged in
 */

  public UserLoginEvent (User userParam) {
    user = userParam;
    user.setPassword("");
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?