-
Is there a JParagraph
I'm wondering if there's a swing item that's like a JLabel except that it spans many lines, like a JParagraph. If I write
JLabel L = new JLabel("line 1\nline2");
What gets displayed in the interface is "line 1line 2" (i.e. the '\n' gets trashed). I'd like to know if there's anything that will take the '\n' into account and span several lines.
Gib
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks