Browse Source

Pull request #14416: REPORT-127437 fix:打包问题

Merge in DESIGN/design from ~ZONGYU.WANG/design:newui to newui

* commit 'b5c4e807b65d01928844a7aee8d0abd29aa68f4e':
  REPORT-127437 fix:打包问题
newui
Zongyu.Wang-王宗雨 4 months ago
parent
commit
8e34dcb937
  1. 3
      designer-base/src/main/java/com/fr/design/write/submit/DBManipulationPane.java
  2. 4
      designer-realize/src/main/java/com/fr/design/cell/smartaction/SmartJTablePane.java

3
designer-base/src/main/java/com/fr/design/write/submit/DBManipulationPane.java

@ -55,7 +55,6 @@ import com.fr.write.config.DeleteConfig;
import com.fr.write.config.InsertConfig;
import com.fr.write.config.IntelliDMLConfig;
import com.fr.write.config.UpdateConfig;
import sun.swing.table.DefaultTableCellHeaderRenderer;
import javax.swing.AbstractCellEditor;
import javax.swing.BorderFactory;
@ -174,7 +173,7 @@ public class DBManipulationPane extends BasicBeanPane<DBManipulation> {
keyColumnValuesTable.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
keyColumnValuesTable.setPreferredScrollableViewportSize(FineUIScale.scale(new Dimension(280, 150)));
keyColumnValuesTable.setShowHorizontalLines(true);
DefaultTableCellHeaderRenderer headerRenderer = new DefaultTableCellHeaderRenderer();
DefaultTableCellRenderer headerRenderer = new DefaultTableCellRenderer();
headerRenderer.setHorizontalAlignment(SwingConstants.LEFT);
keyColumnValuesTable.getTableHeader().setDefaultRenderer(headerRenderer);

4
designer-realize/src/main/java/com/fr/design/cell/smartaction/SmartJTablePane.java

@ -11,6 +11,7 @@ import javax.swing.SwingConstants;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
import javax.swing.table.AbstractTableModel;
import javax.swing.table.DefaultTableCellRenderer;
import com.fr.design.layout.FRGUIPaneFactory;
import com.fr.design.dialog.BasicDialog;
@ -19,7 +20,6 @@ import com.fr.design.dialog.DialogActionListener;
import com.fr.design.mainframe.ElementCasePane;
import com.fr.design.selection.SelectionListener;
import sun.swing.table.DefaultTableCellHeaderRenderer;
/*
* SmartJTablePane用于在Grid上面选单元格时编辑JTable
@ -73,7 +73,7 @@ public abstract class SmartJTablePane extends BasicPane {
}
}
});
DefaultTableCellHeaderRenderer headerRenderer = new DefaultTableCellHeaderRenderer();
DefaultTableCellRenderer headerRenderer = new DefaultTableCellRenderer();
headerRenderer.setHorizontalAlignment(SwingConstants.LEFT);
table.getTableHeader().setDefaultRenderer(headerRenderer);

Loading…
Cancel
Save