Solved

JLabel, multi line

Posted on 2000-04-15
2
1,455 Views
Last Modified: 2008-02-20
sorry, i onyl have 30 points left. is this a way to make a JLabel auto wrap downward if all the text dosent fit on the first line? Right now I get something like "Blah Blah ..." There is no more room on the right and i want it to go down and make a new line. I keep chaning the text and dont know the length.

thanks,
  P
0
Comment
Question by:pipe
2 Comments
 
LVL 7

Accepted Solution

by:
Sasha_Mapa earned 30 total points
ID: 2719718
No, actually you can't. What you can do is for example extend JLabel and add that functionality which shouldn't be too hard. You can also get the same effect using a JTextArea and setting it to be disabled.
0
 

Author Comment

by:pipe
ID: 2719752
thx
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question