How to move with the keyboard a figure created by code?

0

I created in Java a bitmap image that I want to move using the arrows on the keyboard. The image is saved inside a panel, do I have to move that panel? Or as I do because all the tutorials I see come with variable dimensions and my figure is not like that (use the setcolor and fillrect methods to create my name in pure code and that's what I want to move).

    
asked by Luis 31.05.2018 в 04:41
source

0 answers