Java Swing JLabel set location of label

ww‮ual.w‬tturi.com
Java Swing JLabel set location of label
JLabel label = new JLabel("set location of label  ");
		label.setForeground(Color.red);
		label.setLocation(20,50);
//		label.setBounds(20, 50, 200, 100); // or
		frame.add(label);
Created Time:2017-10-08 21:41:06  Author:lautturi