public void createRatingBox()
	{
		removeAllratingPanelObjects();
		int offset = 75;
		for (int x = 0; x < 3; x++)
		{
			ButtonGroup toughGroup = null;
			JLabel newLabel = null;
			switch (x)
			{
			case 0:
				toughGroup = tough;
				newLabel = new JLabel("Toughness");
				newLabel.setBounds(10, 10 + offset + 40*x, 80, 20);
				break;
			case 1:
				toughGroup = like;
				newLabel = new JLabel("Likability");
				newLabel.setBounds(10, 10 + offset + 40*x, 80, 20);
				break;
			case 2:
				toughGroup = hot;
				newLabel = new JLabel("Hotness");
				newLabel.setBounds(10, 10 + offset + 40*x, 80, 20);
				break;
			}
			ratingPanel.add(newLabel);
			ratingPanelObjects.add(newLabel);
			for (int y = 1; y < 11; y++)
			{
				JRadioButton radioButton = new JRadioButton("" + y);
				radioButton.setBounds(10 + ((y-1)*43), 30 + offset + 40*x, 40, 23);
				toughGroup.add(radioButton);
				ratingPanel.add(radioButton);
				ratingPanelObjects.add(radioButton);
			}
			
		}
		
		JButton submitRating = new JButton("Submit Rating");
		submitRating.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				boolean failed = false;
				try
				{
					currentRating.addGrade(Integer.parseInt(grade.getText()));
					int answer = (Integer.parseInt(getSelectedButtonText(hot)));
					currentRating.addHotness(answer);
					currentRating.addNewLikability(Integer.parseInt(getSelectedButtonText(like)));
					currentRating.addNewToughness(Integer.parseInt(getSelectedButtonText(tough)));
				}
				catch (NumberFormatException ex)
				{
					failed = true;
				}
				if (!failed)
				{
					String shortKey = currentRating.getCourseName() + " " + currentRating.CourseNumber();
					Section remove = null;
					for (int x = 0; x < main.currentStudent.getRegisteredClasses().size(); x++)
					{
						Section classSec = (Section)main.currentStudent.getRegisteredClasses().get(x);
						String key2 = classSec.getCourseName() + " " + classSec.getCourseNumber();
						if (shortKey.equalsIgnoreCase(key2))
						{
							remove = classSec;
						}
					}
					main.currentStudent.getCompletedRatings().add(remove);
					
					initList();
					
					removeAllratingPanelObjects();
					panel.remove(ratingPanel);
					panel.add(rmpPaint);					
					panel.repaint();
					repaintScene();
					main.myDB.saveDB();
				}
			}
		});
		JLabel newLabel = new JLabel("Enter Final Grade");
		newLabel.setBounds(150-50, 10 + offset, 100, 20);
		ratingPanel.add(newLabel);
		ratingPanelObjects.add(newLabel);
		submitRating.setBounds(ratingPanel.getBounds().width-125, 2, 115, 23);
		ratingPanel.add(submitRating);
		ratingPanelObjects.add(submitRating);
		this.grade = new JTextField();
		grade.setBounds(200, 10 + offset, 50, 20);
		ratingPanel.add(grade);
		ratingPanelObjects.add(grade);
	}