Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

immagini 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);
	}
Comment

PREVIOUS NEXT
Code Example
Java :: programmation android avoir acces à la liste des intents de partage 
Java :: change material fab color android 
Java :: button color xml 
Java :: big integer input in java 
Java :: java socket get ip address of client 
Java :: java test file exist 
Java :: Date from String java3 
Java :: list to observablelistz 
Java :: array ausgeben java 
Java :: lombok maven 
Java :: concurrent modification exception 
Java :: how to refresh activity without intent in android 
Java :: how to get the dimensions of a 2d array in java 
Java :: assert system.out.println 
Java :: enter key java 
Java :: coding collections clear method java 
Java :: jackson create object node from string 
Java :: how to add transition between activities android studio 
Java :: java delete files 
Java :: kotlin textview center text 
Java :: how to get the last element of array in java 
Java :: round off java 2 decimal places 
Java :: reverse sentence in java 
Java :: no main manifest attribute java 
Java :: char equals java 
Java :: fibonacci in java 
Java :: java sout two dimensional array 
Java :: java version 
Java :: java create file and parent directories 
Java :: list set value at index java 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =