added the LayoutAbstract.java