private void AddItem() {
		if (jtfTitle.getText().isEmpty())
			 title = "Unknown";
		else
			title = jtfTitle.getText();
		
		if (jtfAuthor.getText().isEmpty())
			author = "Unknown"; 
		else 
			author = jtfAuthor.getText();
		
		try  {
		if (jtfRating.getText().isEmpty()) 
			rating = 0;
		else 
			rating = Integer.valueOf(jtfRating.getText());
		
		if (jtfLength.getText().isEmpty())
			length = 0.0;
		else
			length = Double.valueOf(jtfLength.getText());
		} catch (NumberFormatException e) {
			System.err.print("Input must be a number");
		}
		
		if(jtfGenre.getText().isEmpty())
			genre = "Unknown";
		else 
			genre = jtfGenre.getText();
		
		try {
				Archive.instance.addItem(new Music(title, author, length, 
						genre, rating, (ItemType) jcbType.getSelectedItem()));

			ListPanel.updateList();
		} 
		catch (IllegalItemException e) {
			// do statusbar?
		}
		
		jtfTitle.setText("");
		jtfAuthor.setText("");
		jtfGenre.setText("");
		jtfLength.setText("");
		jtfRating.setText("");
		Archive.instance.setSaved(false);
	}