title: How to display a default message in JTextField java
body: <p>I want to create a JTextField with a message inside as a deafult. But not as a proper text but as a comment about what to type inside the JTextField.
  So if i type jtf.getText() it returns null or empty because it is just a comment that was printed there. When you click on it then it disappears and you can write whatever you want on it. Is there any method to do such a thing?</p>