using sprite sheet in Java  ( IDE: NetBeans )