private void initLayerChoice()
	{
		layerChoice = new JComboBox(layerNames);
		layerChoice.setMaximumRowCount(2);
		layerChoice.addItemListener(
				new ItemListener()
				{
					public void itemStateChanged(ItemEvent event) 
					{
						if(event.getStateChange() == ItemEvent.SELECTED)
						{
							layerChoice.setSelectedIndex(layerChoice.getSelectedIndex());
							float[] temps = new float[16];
							layers = server.getUpdates();
							for(int i = 0; i < 16; i ++)
							{
								if(!layers[layerChoice.getSelectedIndex()].getNode(i).getUpdated())
								{
									layers[layerChoice.getSelectedIndex()].getNode(i).setNodeTemp(999);
								}
							}
							for(int i = 0; i < 16; i++)
							{
								temps[i] = layers[layerChoice.getSelectedIndex()].getNode(i).getNodeTemp();
								if(temps[i] == 999)
								{
									rpis[i].setIcon(red);
									String msg = "reset:"+ 10 + (layerChoice.getSelectedIndex()+115) + "." + (i%4 + 101) + "." + (i/4 + 101);
									server.setTxMessage(msg);
								}
								else if(temps[i] > 61)
								{
									rpis[i].setIcon(yellow);
								}
								else
								{
									rpis[i].setIcon(green);
								}
							}
							updateLayerInfo(layerChoice.getSelectedIndex());
						}
						try 
						{
							layerChoice.setEnabled(false);
							server.setUpdatedFalse();
							Thread.sleep(30000);
							layerChoice.setEnabled(true);
						} 
						catch (InterruptedException e) 
						{
							e.printStackTrace();
						}
					}
				}
		);
		return;
	}