Solved

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

Posted on 2013-11-17
7
199 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: 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

Technology Partners: 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

Title # Comments Views Activity
Convert from a json string array to a Java object 3 78
ejb mdb examples 1 36
Html split(text) 2 45
Setup Eclipse for Andriod development 2 17
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

738 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