Calling all Experienced Java Programmers....

Just have a keen few questions I have been thinking about posting for a while now, I’ve been learning Java on and off for a few years now and lately bang on it hours on end as I’m looking for a career with the language itself eventually. Its really good fun learning… Anyway… I’m learning Java game development for practice and need some tips on what projects to start work with, I know theres pong, I need really simple ideas really… What steps should I take when learning basic animation with keyboard input (obviously using the KeyListener class as I know about this).

The thing is, I struggle with making something move, I can make an JFrame window so far coding from scratch and implementing JButtons, JSliders with the ActionListener etc. But if someone could be so kind and give me some examples, from different people if possible… So I’ve got some confidence that there is multiple ways of doing something when it comes to OOP…

Like example of a bouncing ball in lets say, setSize(600,480) JFrame window or something, then (OPTIONAL) some keyboard input with a second drawn box if you could be so kind to share the knowledge! It is something I am really stuck with, I’m always thinking its as easy as just setting up some method or class, but when I’m looking at tutorials for bits like this it goes into x,y,vel,gravity etc etc which is some logic side of Java 2D Graphics side of it I’m struggling with like I say.

Thanks fellow programmers! :slight_smile: