private void defineRoomSums()
		{//Fills in table
			roomSumsFrame = new JFrame();
			roomSumsTable = new JTable();
			roomSumsTable_header = new String[DataBase.schoolPeriodCount*2+1];
			roomSumsTable_data = new String[DataBase.rooms.length][DataBase.schoolPeriodCount*2+1];
			roomSumsTable_header[0] = "Room";//First column header
			for(int col = 0; col <=DataBase.schoolPeriodCount*2; col++)
			{//Sets up headers by period
				if(col!= 0)
					roomSumsTable_header[col] = "Sem " + (int)((col-1)/DataBase.schoolPeriodCount + 1) + " Prd " +
					Integer.toString(((col-1)%DataBase.schoolPeriodCount)+1);
			}

			for (int row = 0; row < roomSumsTable_data.length; row++) {
				for (int col = 0; col < roomSumsTable_data[0].length; col++) {
					if(col==0)
					{
						roomSumsTable_data[row][col] = DataBase.rooms[row].getType();
					}
					else
					{//Fill with status of the room (FreeRoomCount/ExistingRoomCount)
						roomSumsTable_data[row][col] = "("+
								DataBase.rooms[row].numOfRooms()[(int)((col-1)/DataBase.schoolPeriodCount)][((col-1)%DataBase.schoolPeriodCount)]+
								"/"+DataBase.rooms[row].getOriginalNumOfRooms() + ")";
					}
				}
			}
			roomSumsTable.setModel(new UneditableTableModel(roomSumsTable_data, roomSumsTable_header));
			roomSumsTable.getColumnModel().getColumn(0).setPreferredWidth(150);
			roomSumsFrame.setContentPane(new JScrollPane(roomSumsTable));
			roomSumsFrame.setTitle("Number of Unused Rooms");
			roomSumsFrame.pack();
			roomSumsFrame.setBounds(0, 0, 900, 500);
			roomSumsFrame.setLocationRelativeTo(null);
		}