919293949596979899100101
ImageIcon icon = new ImageIcon(image); JLabel label = new JLabel(icon); monitor.getContentPane().add(label); monitor.pack(); this.view.add(monitor); monitor.moveToFront(); } // try catch (Exception e) { e.printStackTrace(); } // catch (Exception)