super.setPropertiesFromAttributes();   AttributeSet atts = getAttributes(); Object o = atts.getAttribute(CSS.Attribute.TEXT_ALIGN); if (o != null) { String align = o.toString(); if (align.equals("left")) setJustification(StyleConstants.ALIGN_LEFT); else if (align.equals("right")) setJustification(StyleConstants.ALIGN_RIGHT); else if (align.equals("center")) setJustification(StyleConstants.ALIGN_CENTER); else if (align.equals("justify")) setJustification(StyleConstants.ALIGN_JUSTIFIED); }   painter = getStyleSheet().getBoxPainter(atts); setInsets((short) painter.getInset(TOP, this), (short) painter.getInset(LEFT, this), (short) painter.getInset(BOTTOM, this), (short) painter.getInset(RIGHT, this));
  protected void setPropertiesFromAttributes()  {    // FIXME: Implement this.  }