Solved

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

Posted on 2013-11-17
7
192 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now