What causes poor image quality in Java JLabel icons?
问题 Java JLabel icons are displaying with distorted pixels in JFrame . This is happening consistently with different png images (all 32x32). I am not scaling the images, they are displayed in the program 32x32, which I verified using getWidth and getHeight on the JLabel. The distortions appear in the same place each time the program is run, not randomly. Screenshot using the example code provided below. In this screenshot you can see an array of JLabel icons, each affected one differently. When