Pls can any one help me with this issue?
how to pre display a text in jtextfield so that when the user start to type in the textfield the initial text disappears
something like text watermark in java script found in websites. thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted Sep 9, 2015, 5:26 AM EDT
Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted Sep 7, 2015, 12:52 PM EDT
Mohammed Adamu117 reputationPosted Sep 7, 2015, 1:01 PM EDT
Mohammed Adamu117 reputationPosted Sep 7, 2015, 1:15 PM EDT
Mohammed Adamu117 reputationPosted Sep 10, 2015, 10:17 AM EDT
import org.jdesktop.swingx.prompt.PromptSupport;