complete Program frame

1. add XMLWriteTest.java
2.add XMLWriteFrame.java
3.add RectangleComponent.java