I have searched for a little while ('cause i find that before my thread is answered sometimes i find the answer either on my own or from Google or something) for how to set the background text for a JTextField. I have found results for how to do it on javascript... though that's not what i want. i have also looked around how to use TextFields in Oracle's tutorials.
What i mean by background text (dont read if you know what i'm talking about):
Say i have a TextField, and before i type anything, theres text already there(not the default text you can set when u initiate it), and when i click the cursor that text is gone....
any help appreciated