private void drawTodos(JPanel pnlTodos, JButton btnRefresh)
	{
		pnlTodos.removeAll();
		pnlTodos.add(btnRefresh);
		count = 0;
		for( JTextPane todo : visualTodos)
		{
			final int i = count;
			todo.addMouseListener(new MouseAdapter() {
				public void mouseClicked(MouseEvent event)
				{
					ToDoList data = toDoListArray.get(i);
					String output = "<h1>" + data.sender + "</h1><h2>" + data.title + "</h2>";
					for( String li : data.toDoItems )
					{
						output += li + "<br/>";
					}
					dtrToDo.setText(output);
					rdoHelp.setEnabled(true);
					rdoWorking.setEnabled(true);
					rdoDone.setEnabled(true);
					rdoNoDecision.setEnabled(true);
					btnSubmit.setEnabled(true);
					
					//try to find taskInfo for this toDoList
					int index = -1;
					if( taskInfos.size() > 0 )
					{
						int i = 0;
						for( TaskInfo ti : taskInfos )
						{
							if( ti.getToDoList().equals(data) )
							{
								index = i;
							}
							i++;
						}
					}
					
					if( index >= 0 )
					{
						TaskInfo ti = taskInfos.get(index);
						if( ti.isBeingWorkedOn() )
						{
							rdoWorking.setSelected(true);
						}
						else if( ti.isDone() )
						{
							rdoDone.setSelected(true);
						}
						else if( ti.needsHelp() )
						{
							rdoHelp.setSelected(true);
						}
						else
						{
							rdoWorking.setSelected(false);
							rdoDone.setSelected(false);
							rdoHelp.setSelected(false);
							rdoNoDecision.setSelected(true);
						}
					}
					else
					{
						rdoWorking.setSelected(false);
						rdoDone.setSelected(false);
						rdoHelp.setSelected(false);
						rdoNoDecision.setSelected(true);
					}
					currentlyActive = i;
				}
			});
			pnlTodos.add(todo);
			count++;
		}
	}