Searching for a game in Java for the 240x320 resolution typically refers to the classic mobile versions developed for older J2ME (Java 2 Micro Edition) phones.
Here is a helpful review of the experience.
Creating a was a nightmare for developers. Here is why it was a miracle these games ran at all:
His only hope. It was the "Action" button that sparked the fireballs, though they flickered with a strange transparency to save on the phone's limited heap memory.