Skip to content

Commit 4deaf61

Browse files
hansonrhansonr
authored andcommitted
don't let DefaultTableCellHeaderRenderer paint itself
1 parent 9a6f419 commit 4deaf61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sources/net.sf.j2s.java.core/src/sun/swing/table/DefaultTableCellHeaderRenderer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ public static SortOrder getColumnSortOrder(JTable table, int column) {
146146
return rv;
147147
}
148148

149-
@Override
150-
public void paintComponent(Graphics g) {
149+
// @Override
150+
// public void paintComponent(Graphics g) {
151151
// boolean b = DefaultLookup.getBoolean(this, ui,
152152
// "TableHeader.rightAlignSortArrow", false);
153153
// if (b && sortArrow != null) {
@@ -164,7 +164,7 @@ public void paintComponent(Graphics g) {
164164
// } else {
165165
// super.paintComponent(g);
166166
// }
167-
}
167+
// }
168168

169169
// private Point computeIconPosition(Graphics g) {
170170
// FontMetrics fontMetrics = g.getFontMetrics();

0 commit comments

Comments
 (0)