A simple test of particle emitting in Java