I am having a HTML page displayed in a JEditorPane inside a JScrollPane. I need to make a JPasswordField in the same window to take the user's password.
How can I implement that?
I am having a HTML page displayed in a JEditorPane inside a JScrollPane. I need to make a JPasswordField in the same window to take the user's password.
How can I implement that?
Copyright © 2021 Jogjafile Inc.
Many different ways. Here's one.
Refer to Creating a GUI With Swing which is one of the trails in Oracle's Java tutorials.