private void expandRecentConnectionsMenu(String newRecentConnection) {
		connectRecent.setEnabled(true);
		final JMenu recentConMenu = new JMenu(newRecentConnection);
		
		final JMenuItem connectToRecent = new JMenuItem("Connect");
		final JMenuItem removeRecent = new JMenuItem("Remove");
		recentConMenu.add(connectToRecent);
		recentConMenu.add(removeRecent);
		
		connectToRecent.setActionCommand(newRecentConnection);
		removeRecent.setActionCommand(newRecentConnection);
		
		connectToRecent.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				connectToUnparsedAddress(e.getActionCommand());
			}
		});
		
		removeRecent.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				String[] hostNameIp = e.getActionCommand().split(":");
				if(hostNameIp.length == 2) { // For security precautions.
					InetSocketAddress remAddr = new InetSocketAddress(hostNameIp[0], Integer.parseInt(hostNameIp[1]));
					connectRecent.remove(recentConMenu);
					RecentConnections.removeConnection(remAddr);
					if(!RecentConnections.hasRecentConnections()) {
						connectRecent.setEnabled(false);
					}
				}
			}
		});
		
		connectRecent.add(recentConMenu);
	}