Search:

Type: Posts; User: repaint_forever

Search: Search took 0.14 seconds.

  1. Re: drawImage() causes endless calls to paintComponent()

    The goal is to create an image and display it in a window (in a program that also does a lot of other things). It works fine now with "new BufferedImage()" and "image.setRGB()".

    It's only an...
  2. [SOLVED] drawImage() causes endless calls to paintComponent()

    I found a solution a few hours after posting this. Instead of this --


    Image image = w.createImage(new MemoryImageSource(20, 20, pixels, 0, 20));


    -- do this:


    BufferedImage image...
Results 1 to 2 of 2