private void createScrollPane(Attributes attrs) {
		scrollPane = new ScrollPane(scrollpaneDef);
		// loop through all attributes, setting appropriate values
		for (int i = 0; i < attrs.getLength(); i++) {
			if (attrs.getQName(i).equals("x"))
				scrollPane.getStartPoint().setX(
						Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("y"))
				scrollPane.getStartPoint().setY(
						Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("width"))
				scrollPane.setWidth(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("height"))
				scrollPane.setHeight(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("startTime"))
				scrollPane.setStartTime(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("endTime"))
				scrollPane.setEndTime(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("backgroundcolor"))
				scrollPane.setBkCol(new Color(Integer.valueOf(attrs.getValue(i)
						.substring(1), 16)));
			else if (attrs.getQName(i).equals("backgroundalpha"))
				scrollPane.setBkAlpha(Float.valueOf(attrs.getValue(i)));
		}
	}