Hi Actually I have seen somewhere that somebody has made JtextField functionality same as JPasswordField without using ActionListeners. COuld anyone suggest me that how to Convert the functionality of JTextField in JPasswordField without using any event handling (i.e. Key Pressed Events ). If yes then also give the code unfortunately I don't have that ultimate code.
The Best way to predict your future is to create it
Joined: Oct 18, 2005
They probably wrote their own Document object. Whenever an insert would happen, it would insert some generate mask character. The document would probably have to do some extra work to keep track of the current text (the password). Seems like a lot of work without much of a payoff.