import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JPasswordField;
public class ham extends JFrame {
final private Font FontX = new Font("Verdana",NORMAL,15);
public void init(){
JPasswordField gk = new JPasswordField(" 1");
gk.setFont(FontX);
gk.setEchoChar((char) 12);
JPanel kala = new JPanel();
kala.add(gk,BorderLayout.NORTH);
setSize(604,193);
setDefaultCloseOperation(EXIT_ON_CLOSE);
setMinimumSize(new Dimension(100,200));
setTitle("Login");
setBackground(new Color(102,50,40));
setVisible(true);
add(kala);
}
public static void main(String[] args) {
ham JK = new ham();
JK.init();
}
}
(Please see full video)
The file name is ham but you can change it if you change than change name everywhere the name was like in 1st line and in
public static void main(String[] args) {
ham JK = new ham();
JK.init();
}
This line!
#javaprogramming
#javatutorial
#button
#vscode
#coding
En esta página del sitio puede ver el video en línea how to make a password field through Java and Visual Studio code de Duración hora minuto segunda en buena calidad , que subió el usuario Coder is here 08 febrero 2025, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 30 veces y le gustó 4 a los espectadores. Disfruta viendo!