Is there an equivalent package in Java than Pygame in Python?
I like Pygame very much on Python, so that I'd want to learn Java with something similar. I know some graphical packages for Java, such as Swing, but I'ven't done much yet to learn any of those. Lists of any Java graphical packages or classes are preferred, but if there is one that is especially like Pygame it would be cool. I like Pygame because much more things in it needs to be created by yourself, compared to many other graphical packages. For example to create button, with Pygame you should know the button position and sizes, and use cursor position to know whether cursor is rolled over the button and when the wanted mouse button is pressed. In some other graphical packages you would only need to tell program that there is button and rest is done automatically.