public void actionPerformed(ActionEvent ae){
			ArrayList<ChatChannel> channels = new ArrayList<>();
			for (int i = 0; i < jlstChannels.getModel().getSize(); i++) {
				channels.add(jlstChannels.getModel().getElementAt(i));
			}
			boolean channelExists = false;
			ChatChannel channel = new ChatChannel(-1, "public", jtxtChannelName.getText());
			for (ChatChannel chatChannel : channels) {
				if(!channelExists && chatChannel.getChannelName().equals(channel.getChannelName())){
					channelExists = true;
					channel = chatChannel;
				}
			}
			new ChatFrame(channel, user, channelExists);
		}