completed move to JAVAws. First adjustments of text and page info.