()
| 128 | } |
| 129 | |
| 130 | public void init() throws IOException { |
| 131 | this.friendList = new ArrayList<>(); |
| 132 | this.applyFriendList = new ArrayList<>(); |
| 133 | this.client = new ClientBusinesses(this); |
| 134 | this.friendGUI = new FriendGUI(this.friendList, this.applyFriendList, this); |
| 135 | this.chattingPanel = new HashMap<>(); |
| 136 | } |
| 137 | |
| 138 | public void errorOccupy(final String msg) { |
| 139 | new Thread(() -> Utils.showErrorMsg(msg, "错误", friendGUI.frame)).start(); |