用JPasswordFiledjavax.swing
Class JPasswordField
java.lang.Object
|
+-java.awt.Component
|
+-java.awt.Container
|
+-javax.swing.JComponent
|
+-javax.swing.text.JTextComponent
|
+-javax.swing.JTextField
|
+-javax.swing.JPasswordFieldJPasswordField is a lightweight component that allows the editing of a single line of text where the view indicates something was typed, but does not show the original characters. JPasswordField is intended to be source-compatible with java.awt.TextField used with echoChar set. It is provided separately to make it easier to safely change the UI for the JTextField without affecting password entries.
Class JPasswordField
java.lang.Object
|
+-java.awt.Component
|
+-java.awt.Container
|
+-javax.swing.JComponent
|
+-javax.swing.text.JTextComponent
|
+-javax.swing.JTextField
|
+-javax.swing.JPasswordFieldJPasswordField is a lightweight component that allows the editing of a single line of text where the view indicates something was typed, but does not show the original characters. JPasswordField is intended to be source-compatible with java.awt.TextField used with echoChar set. It is provided separately to make it easier to safely change the UI for the JTextField without affecting password entries.
http://www.csdn.net/expert/topic/795/795315.xml?temp=.2226221
数据库同步的巨难问题,谁解决了100分奉送,我还管他叫阿爹!!