private void configureComponents()
    {
      minimumSize = new Dimension(100, 60);
      preferredSize = new Dimension(200, 60);
      maximumSize = new Dimension(3000, 60);
      notesButton = new JButton("");
      notesButton.setIcon(new ImageIcon("images/Notes.jpg"));
      notesButton.setToolTipText("Click this button to add a note to this task.");
      taskCheckBox = new CustomCheckBox(task.getName());
      taskCheckBox.setToolTipText("<html>Click this checkbox to toggle this task<br>" +
                                  "between complete and incomplete.</html>");
      courseLabel = new JLabel(task.getCourse().getName());
      courseLabel.setToolTipText("This indicates the course this task is associated with.");
      int newX = courseLabel.getPreferredSize().width;
      int newY = courseLabel.getPreferredSize().height;
      courseLabel.setPreferredSize(new Dimension(newX+10, newY+10));
      courseLabel.setHorizontalAlignment(SwingConstants.CENTER);
      //System.out.println(newX + "   " + newY);
      Calendar cal = Calendar.getInstance();
      Integer day = cal.get(Calendar.DAY_OF_WEEK);
      String dayString;
      switch (day)
      {
        case 1: dayString = "Sunday"; break;
        case 2: dayString = "Monday"; break;
        case 3: dayString = "Tuesday"; break;
        case 4: dayString = "Wednesday"; break;
        case 5: dayString = "Thursday"; break;
        case 6: dayString = "Friday"; break;
        case 7: dayString = "Saturday"; break;
        default: dayString = "Unknown";
      }
      dueDate = new JLabel(dayString);
      dueDate.setToolTipText("This is the due date for this task.");
      setBorder(BorderFactory.createEtchedBorder());
      setPreferredSize(preferredSize);
      setMaximumSize(maximumSize);
      courseLabel.setOpaque(true);
      courseLabel.setBackground(task.getCourse().getColor());
      courseLabel.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));

      customTransferHandler = new TransferHandler()
      {
      };

      setTransferHandler(new TransferHandler()
      {
      });

      dragSource = DragSource.getDefaultDragSource();
    }