What i am trying to do is , until the user enters data to a field for a example there is a field called "First Name". When the user selects the field "First Name" text disappears and the user can type their First Name. IF the user doesn't type anything, the text should display again in the text field.
I think that you looking for prompt, see
Text Prompt by @camickr
another ideas how to create a prompt for JTextField