Results 1 to 2 of 2

Thread: word wrap jlabel's text

  1. #1

    Thread Starter
    Fanatic Member brown monkey's Avatar
    Join Date
    Jun 2004
    Location
    Cebu
    Posts
    552

    Resolved word wrap jlabel's text

    when i say
    Code:
    new JLabel("waheheh and so on");
    it doesn't do word wrap. how do i do this? thank you.
    Last edited by Dilenger4; Oct 7th, 2004 at 05:14 PM.

  2. #2

    Thread Starter
    Fanatic Member brown monkey's Avatar
    Join Date
    Jun 2004
    Location
    Cebu
    Posts
    552
    ok i'm dumb
    Code:
    JLabel l=new JLabel("<html>blah blah blah. wahehehe</html>");

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width