Solved

How to make a table with multiple lines in the cells in JAVA?

Posted on 2013-11-17
7
198 Views
Last Modified: 2013-11-18
Hi,
I am working on a GUI in Java SWT and I need to create a table with multiple lines in each cell. By default even if the content has multiple lines, they show up in one lines.

Can you please help me to make a table with multiple lines in the cells based on the number of lines of the content?

Thanks,
0
Comment
Question by:Tolgar
  • 4
  • 3
7 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 39655595
0
 

Author Comment

by:Tolgar
ID: 39656401
Unfortunately, this example only creates cells with same heights in all rows.

But there is another widget in here:

http://sourceforge.net/projects/agilegrid/

Do you have any idea how I can use it?
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 39656417
Click the link to the site

http://agilegrid.sourceforge.net/
0
Industry Leaders: 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!

 

Author Comment

by:Tolgar
ID: 39656537
Thanks. I installed it as a plugin.

Now how am I going to use it?

I cannot see any documentation in the site?
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 39656557
I have no idea. Just tried to help you

Any feedbacks are welcome by the author :  Sihong Zhu (fourbroad@gmail.com)
0
 

Author Comment

by:Tolgar
ID: 39656571
I don't think this plugin will do what I am looking for.
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 39656642
Ah, then you should not accept as answer, but wait for someone else to answer
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This video teaches viewers about errors in exception handling.

679 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