drawImage only works in paintComponent

后端 未结 0 456
轻奢々
轻奢々 2020-11-27 02:59

I\'m new to graphics in Java and I want to draw an image from my computer. However, the image only shows when I put my code inside the paintComponent. Here\'s what works:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题