private JScrollPane getScrollBar(Element e) throws IOException {
		Element scrollPaneElt = e.getChild("ScrollPane");
		if( scrollPaneElt != null ) {
			int horizontal = JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED;
			int vertical   = JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED;
			String s = scrollPaneElt.getAttributeValue("horizontal");
			if( s != null ) {
				if( s.equals("always") )
					horizontal = JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS;
				else if( s.equals("never") )
					horizontal = JScrollPane.HORIZONTAL_SCROLLBAR_NEVER;
				else if( s.equals("asNeeded") )
					horizontal = JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED;
				else throw new IOException( "unknown horizontal attribute value: " + s );
			}
			s = scrollPaneElt.getAttributeValue("vertical");
			if( s != null ) {
				if( s.equals("always") )
					vertical = JScrollPane.VERTICAL_SCROLLBAR_ALWAYS;
				else if( s.equals("never") )
					vertical = JScrollPane.VERTICAL_SCROLLBAR_NEVER;
				else if( s.equals("asNeeded") )
					vertical = JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED;
				else throw new IOException( "unknown vertical attribute value: " + s );
			}
			JScrollPane jsp = new JScrollPane(vertical,horizontal);
			jsp.setBorder(null);
			return jsp;
		} else {
			return null;
		}
	}