public static void updateAPList ()
	{
		for(int x = 0; x < chbxlist.size() ; x++)
		{
			String [] parse = chbxlist.get(x).getText().split("Sample Count: " );
			chbxlist.get(x).setText(parse[0] + "Sample Count: " + PaintPane.Mac.get(x).getSampleCount() + "<br>" +
					"</html>");
		}
		for(int x = chbxlist.size(); x < PaintPane.Mac.size(); x++)
		{

			String panelContents = "<html>" + (x+1) + "- ESSID: " + PaintPane.Mac.get(x).getESSID() + "<br>" +
					"MAC: " + PaintPane.Mac.get(x).getMacAddress() + "<br>" +
					"Channel: " + PaintPane.Mac.get(x).getChannel() + "<br>" +
					"Position: (" + PaintPane.Mac.get(x).getApX() + "," + PaintPane.Mac.get(x).getApY() + ")" + "<br>" +
					"Sample Count: " + PaintPane.Mac.get(x).getSampleCount() + "<br>" +
					"</html>";
			
			chbxlist.add(new JCheckBox(panelContents, PaintPane.Mac.get(x).isRepresented()));

			chbxlist.get(x).setBorder(new BevelBorder(BevelBorder.LOWERED, null, null, null, null));

			chbxlist.get(x).addItemListener(new ItemListener() {
				public void itemStateChanged(ItemEvent e) {

					JCheckBox ch = (JCheckBox) e.getSource();
					String [] s = ch.getText().split("<html>");
					s = s[1].split("- ESSID");
					PaintPane.Mac.get(Integer.parseInt(s[0])-1).setRepresented(  (e.getStateChange() == ItemEvent.SELECTED? true:false)  );
					
					/*
					if (PaintPane.Mac.get(Integer.parseInt(s[0])-1).isRepresented())
						System.out.println("YES " + PaintPane.Mac.get(Integer.parseInt(s[0])-1).getMacAddress());
					else if (!PaintPane.Mac.get(Integer.parseInt(s[0])-1).isRepresented())
						System.out.println("NO " + PaintPane.Mac.get(Integer.parseInt(s[0])-1).getMacAddress());
/*					for (int i = 0 ; i < PaintPane.mySamples.size(); i++)
					{
						PaintPane.mySamples.get(i).changeMaxRSSI();
					}
*/
				}
			});
			authAP_sp.add(chbxlist.get(x));
			authAP_sp.validate();
			authAP_sp.repaint();
		}
	}