|
|
|
@ -1,17 +1,21 @@
|
|
|
|
|
package com.fr.design.data.datapane.preview; |
|
|
|
|
|
|
|
|
|
import com.fr.base.i18n.BidiUtils; |
|
|
|
|
import com.fr.design.base.clipboard.ClipboardHelper; |
|
|
|
|
import com.fr.design.gui.itable.SortableJTable; |
|
|
|
|
import com.fr.design.gui.itable.TableSorter; |
|
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
import com.fr.stable.os.OperatingSystem; |
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
|
import javax.swing.table.DefaultTableCellRenderer; |
|
|
|
|
import javax.swing.JComponent; |
|
|
|
|
import javax.swing.JTable; |
|
|
|
|
import javax.swing.table.JTableHeader; |
|
|
|
|
import javax.swing.table.TableCellRenderer; |
|
|
|
|
import javax.swing.table.TableColumnModel; |
|
|
|
|
import java.awt.*; |
|
|
|
|
import java.awt.Color; |
|
|
|
|
import java.awt.Component; |
|
|
|
|
import java.awt.Point; |
|
|
|
|
import java.awt.Toolkit; |
|
|
|
|
import java.awt.datatransfer.Clipboard; |
|
|
|
|
import java.awt.datatransfer.StringSelection; |
|
|
|
|
import java.awt.datatransfer.Transferable; |
|
|
|
@ -214,7 +218,7 @@ public class CopyableJTable extends SortableJTable {
|
|
|
|
|
} else { |
|
|
|
|
comp.setBackground(this.getBackground()); |
|
|
|
|
} |
|
|
|
|
return comp; |
|
|
|
|
return BidiUtils.applyOrientationByLocale(comp); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|