Ver original// BufferedImage image = new BufferedImage(200, 200, BufferedImage.TYPE_INT_RGB); Graphics2D g = (Graphics2D)image.getGraphics(); g.drawString("Hello", 60, 60); jLabel1.setIcon(new ImageIcon(image));