Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-27-2007, 02:48 AM
Member
 
Join Date: May 2007
Posts: 42
Rep Power: 0
Freddie is on a distinguished road
Default JLabel
I want to configure JLabel like this:
|exam|
|ple |

not like this:
|exam...|

Do you know how can I do this?
thanks
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 05-28-2007, 05:18 AM
Member
 
Join Date: May 2007
Posts: 39
Rep Power: 0
Alan is on a distinguished road
Default
mmm You can't do this.
but please search a Multiline Jtable, i remember that I've searched and somebody implemented this. I used a JtextArea without color, visually, this is the same!
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-29-2007, 03:19 PM
Member
 
Join Date: May 2007
Posts: 39
Rep Power: 0
Nick15 is on a distinguished road
Default
You can use a JTextArea with linewrap instead of jlabel.
for example

jTextArea.setEditable(false)
jTextArea.setLineWrap(true)
jTextArea.setWrapStyleWord(true);

try it
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
JLabel append? Jononomous New To Java 0 04-07-2008 08:41 PM
JLabel .setActionCommand stevemcc AWT / Swing 1 03-28-2008 05:16 AM
Problems with JLabel 2 geork New To Java 2 02-03-2008 09:40 PM
help me with JFrame and JLabel michcio New To Java 5 11-20-2007 08:44 AM
JLabel Jack AWT / Swing 2 07-02-2007 02:55 PM


All times are GMT +2. The time now is 05:03 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org