How to create Windows XP Balloon like Tool Tip for a Java Text Field
843805Feb 7 2007 — edited Feb 7 2007Dear Programmers,
Is there any method using which I can create a windows XP balloon like tool tip and add it to a Java Text Field?
I downloaded and used some package called �Tray Icon� but I am not satisfied with that because the balloon appears in the System tray area.
Let�s say, we created a Text Field for Name. There use of Numbers or Special characters is obviously not allowed!! Isn�t it??
So if someone gives special characters as Input, then I want to show an error message.
We can do it
1) simply we use JFormattedTextField tf=new JFormattedTextField();
2) or we can show a error message.
JOptionPane.showMessageDialog(this,�Incorrectname�,�Error�,JOptionPane.ERROR_MESSAGE);
But I want more graphics. Cant we show a tool tip balloon there??
Please if anyone knows the answer then kindly let me Know. Waiting for your reply.
Thanks in advance!!
Thobais
GB
Message was edited by:
thobais