im using jdk 6.0

how can i make a moving square from right to left?