items.getStyle().setStyleProperty(TextStyleKeys.FONT, "Monospaced");
items.getStyle().setStyleProperty(TextStyleKeys.FONTSIZE, new Integer(10));
items.getStyle().setStyleProperty(ElementStyleKeys.BACKGROUND_COLOR, Color.decode("#dfdfdf"));
items.addElement(HorizontalLineElementFactory.createHorizontalLine
(0, Color.decode("#DFDFDF"), new BasicStroke(0.1f)));
items.addElement(HorizontalLineElementFactory.createHorizontalLine
(10, Color.decode("#DFDFDF"), new BasicStroke(0.1f)));
TextFieldElementFactory factory = new TextFieldElementFactory();