|
|
@ -258,11 +258,11 @@ public class DarkTableUI extends DarkTableUIBridge implements FocusListener { |
|
|
|
int tableHeight = getPreferredSize(table).height; |
|
|
|
int tableHeight = getPreferredSize(table).height; |
|
|
|
int x; |
|
|
|
int x; |
|
|
|
boolean ltr = table.getComponentOrientation().isLeftToRight(); |
|
|
|
boolean ltr = table.getComponentOrientation().isLeftToRight(); |
|
|
|
if (ltr) { |
|
|
|
|
|
|
|
x = damagedArea.x; |
|
|
|
x = damagedArea.x; |
|
|
|
if (scrollPaneRtl && scrollBarVisible()) { |
|
|
|
if (scrollPaneRtl && scrollBarVisible()) { |
|
|
|
SwingUtilities2.drawVLine(g, x, 0, tableHeight - 1); |
|
|
|
SwingUtilities2.drawVLine(g, x, 0, tableHeight - 1); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (ltr) { |
|
|
|
for (int column = cMin; column <= cMax; column++) { |
|
|
|
for (int column = cMin; column <= cMax; column++) { |
|
|
|
int w = cm.getColumn(column).getWidth(); |
|
|
|
int w = cm.getColumn(column).getWidth(); |
|
|
|
x += w; |
|
|
|
x += w; |
|
|
@ -271,10 +271,6 @@ public class DarkTableUI extends DarkTableUIBridge implements FocusListener { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
x = damagedArea.x; |
|
|
|
|
|
|
|
if (scrollPaneRtl && scrollBarVisible()) { |
|
|
|
|
|
|
|
SwingUtilities2.drawVLine(g, x, 0, tableHeight - 1); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
for (int column = cMax; column >= cMin; column--) { |
|
|
|
for (int column = cMax; column >= cMin; column--) { |
|
|
|
int w = cm.getColumn(column).getWidth(); |
|
|
|
int w = cm.getColumn(column).getWidth(); |
|
|
|
x += w; |
|
|
|
x += w; |
|
|
|