This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using an applet for dispalying two JLists and two JTables in the central panel.
Applet is doing some computing and then displays files in the table above say table1. When this table is clicked on the row, appropriate file is selected and its word contents are displayed in second table which is below.
The selection (line# 29) in the upper table seems to show two lines of text as if the text has wrapped in the cell. You can try calling setPreferredWidth on the first TableColumn to make it smaller and expand/stretch the table width to see if you can get all the text on a single line to see if this is what is happening. If so, you may have to manage/control the text that goes into each line. LineBreakMeasurer can help with this and has an example in the comments section.