简体   繁体   中英

java swing remember Login and password and another text field :)

So we want to make our swing application to remembet our last choices(login,pasw,smtng) when we start the program.

So the easiest way probably would be to save the entered values to the file and then read from it, and auto connect somewhere :)

But I have a feeling that Java has a smarter way to remember values (I'm making smtng like putty.exe) JDBC?

Preference API将有所帮助

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM