0

この問題は私の Atari 2600 エミュレータにあり、信じられないほどイライラしています。

私のコードはこのペーストビンにあります: http://pastebin.com/2jS9NieD

基本的に、JFrame 内の JLabel 内の ImageIcon 内の BufferedImage を取得して、画面上の内容を更新することはできません。

4

1 に答える 1

-1

Subclass JPanel and override the paint(Graphics) method to draw the BufferedImage onto the Graphics object. Add the panel to your frame, can simply call repaint() on the panel when you want to redraw it.

于 2013-03-08T17:33:57.773 に答える