The below link will help you to achieve your requirement.
http://www2.gol.com/users/tame/swing/examples/BorderExamples1.html
http://www2.gol.com/users/tame/swing/examples/src/border/CompTitledBorder.java
Hope this helps You. Please reply back If I had misunderstood your question.
Regards
Meiyaps
At 12:05 PM 2/7/02 +0100, Samivelu, Srinivasan wrote:
Dear All,
Is it possible to add a JLabel to a TitledBorder instead of a string. My
actual requirement is to disable the title in the TitledBorder & a simple
string would not serve the purpose.
wkr,
Srinivasan Samivelu
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing
S.Meiyappan
AdventNet Development Center India (P) Ltd.,
SREE NARAYANA COMPLEX
No.11 Sarathy Nagar
(Near Vijaya Nagar Bus Terminus)
Velachery Chennai - 600 042
Ph: +91-044-2431115, 2431215 Ext : 392
Res : 2433779
Email:[EMAIL PROTECTED]
http://www.adventnet.com
"To the world, you may just be somebody...
but to somebody, you may be the world."
----------------------------------------------------------------
