Posts by Nona Mi • 18 points
2 posts
-
0
votes1
answer110
viewsA: Problem with showing Bufferedimage in Java Jpanel
The first thing you need to change is the method paintComponent, you are not overwriting the superclass method because the parameter is wrong, the correct is Graphics, nay Graphics2D. Second,…
-
0
votes1
answer69
viewsQ: Should I use Swingutilities.invokeLater if I don’t directly extend Jframe?
Hello. I understand that people use the method invokeLater of SwingUtilities when extending directly the class JFrame and initialize it in the method main. But what if I happen to have one JFrame as…