title: Can't accelerate pixel-modified BufferedImages
body: <p>For quite a long time, 1-2 months, I have been trying to find an answer to this particular problem:</p>
  
  <p>I can't get my image hardware accelerated!</p>
  
  <p>I've been searching on the net, created my own methods, hit my head with the keyboard (still feel the pain) but no success.</p>
  
  <p>Although I hate libraries other than Java SDK, I tried LWJGL and JOGL but for some stupid reason they dont work on my computer.</p>
  
  <p>I tried using <code>System.setProperty("Dsun.java2d.opengl", "True")</code>, I used VolatileImage but I can't draw individual pixels to it.(I tried using <code>drawLine(x,y,x,y)</code> but it's slow)</p>
  
  <p>Now I am so desperate. I will do anything to fix this! So please, if you know the solution (I know some of you do) tell me so I can get rid of this.</p>
  
  <p>My code:</p>
  
  <pre><code>   public static void render(int x, int y, int w, int h, ) {
  
              int a[] = new int[3]; // The array that contains RGB values for every pixel
              BufferedImage bImg = Launcher.contObj.getGraphicsConfiguration().createCompatibleImage(800, 600, Transparency.TRANSLUCENT); // Creates an image compatible to my JPanel (Runs at 20-24 FPS on 800x600 resolution)
              int[] wr = ((DataBufferInt) bImg.getRaster().getDataBuffer()).getData(); // Contains the image data, used for drawing pixels
              for (int i = 0; i &lt; bImg.getWidth(); i++) {
                  for (int j = 0; j &lt; bImg.getHeight(); j++) {
                      a[0] = i % 256;
                      a[2] = j % 256;
                      a[1] = i * j % 256;
                      wr[i + j * bImg.getWidth()] = new Color(a[0], a[1], a[2]).getRGB(); // Sets the pixels from a[]
                  }
              }
              bImg.flush();
              g.drawImage(bImg, x, y, w, h, null); // Draws the image on the JPanel
              g.dispose();
              System.out.println(bImg.getCapabilities(Launcher.contObj.getGraphicsConfiguration()).isAccelerated()); // Prints out whether I was successful and made the image accelerated or failed and made everything worse
          }
  </code></pre>
  
  <p>I hope you understand the code. Please modify it in any way to help me find the solution to my problems.</p>
  
  <p><em>Note: Please don't post anything about external libraries unless you are absolutely sure that I can't get this working without them.</em></p>
  
  <p>Also, could it be that my graphics card doesn't support acceleration? (because I saw posts where hardware accel works for other people but not for me) Btw, it's a GeForce 430 GT.</p>
  
  <p><strong>THANKS IN ADVANCE!</strong></p>