Ikon Ubah JFrame

ImageIcon img = new ImageIcon(pathToFileOnDisk);
frame.setIconImage(img.getImage());
Cheerful Cormorant