?
Solved

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

Posted on 2013-11-17
7
Medium Priority
?
206 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 1000 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

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!

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month13 days, 12 hours left to enroll

755 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