aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes TitledBorder with wrapped text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "TitledBorder with wrapped text" Watch "TitledBorder with wrapped text" New topic
Author

TitledBorder with wrapped text

Adam Pioro
Greenhorn

Joined: Aug 13, 2010
Posts: 8
I wanted my TitledBorder to wrap text so I've put the title in <HTML> tags. It works prefectly on my dev machine with newest java, but on computers withs older java version it just displays <html>my title</html>. Is there any way to fix it, or achieve the same thing?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: TitledBorder with wrapped text