17 years, 9 months ago
Highlights
17 years, 9 months ago
17 years, 9 months ago
Hi, I have been working on a small 2D game and was thinking about my usual way of loading background images. The background image is added to a JPanel, which in turns is ad…
17 years, 9 months ago
17 years, 9 months ago
It might be helpful to know, that when you create an instance of JPanel (as with class Viewer extends JPanel), there is automatically a call to paint() when it is displayed …
17 years, 9 months ago
Latest Activity
See all in DiscussionsHi, I have been working on a small 2D game and was thinking about my usual way of loading background …
17 years, 9 months ago
It might be helpful to know, that when you create an instance of JPanel (as with class Viewer extends JPanel), …
17 years, 9 months ago
In this case paint() is about drawing the image on the JPanel, so it must naturally be after the JPanel …
17 years, 9 months ago