immagini java

Java
	public static void main(String[] args) {
		JFrame frame = new JFrame();
		frame.setTitle("titolo");
		frame.setLayout(new FlowLayout());
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

		ImageIcon imageIcon = new ImageIcon("percorso");
		JLabel label = new JLabel(imageIcon);

		frame.add(label);
		frame.pack();
		frame.setVisible(true);
	}
Source

Also in Java: