Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

add label gui jframe java

import javax.swing.JFrame;
import javax.swing.JLabel;
import java.awt.Color;

		JLabel label = new JLabel(); //create label
        label.setText("A new JFrame label"); // set text
        label.setForeground(Color.white); // set font color
 
PREVIOUS NEXT
Tagged: #add #label #gui #jframe #java
ADD COMMENT
Topic
Name
4+5 =