BufferedImage not displaying (all black) but Image can be displayed
问题 I'm new to Java graphics (computer graphics in general) and Stack Overflow, so please help me out and help me phrase my problem better. At the moment, I'm trying to display a BufferedImage alongside the original image in a Java GUI. This is my code: Image oriImage = robot.getQwerkController().getVideoStreamService().getFrame(); //load the original image Graphics2D hi = bufferedImage.createGraphics(); hi.drawImage(oriImage, 0,0, null); //draw the original image into the BufferedImage hi