Home » » Password table in Java Program

Password table in Java Program

Password table in Java Program

Password table in Java Program

Password table in Java Program

import java.io.*;
import javax.Swing.*;
import java.awt.event.*;
class PassTextTest
public Static void main(String args[])
{
JFrame frame =new JFrame();
Container cp =frame.getContentPane();
JPanel panel =new JPanel();
JPasswordField pw =new JPasswordField("Enter",10);
pw.setEchoChar('&');
panel.add(pw);
cp.add(panel);
frame.pack();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}

}

0 coment�rios:

Post a Comment

Link you don't want to vouch for Read more: https://html.com/seo/#ixzz5zVltiZ5g