title: Adding a prompt text property to JTextfield
body: <p>I am using Netbeans IDE. I want to give the prompt text to <code>JTextfield</code> in such a way that when user enters the text into <code>JTextField</code> it gets cleared and accepts the users input. </p>