File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
sources/net.sf.j2s.java.core/src/javax/swing Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 8484import swingjs .plaf .JSComponentUI ;
8585
8686/**
87+ * SwingJS TODO: print/printable all not implemented
88+ *
89+ *
8790 * The <code>JTable</code> is used to display and edit regular two-dimensional
8891 * tables of cells. See <a href=
8992 * "http://java.sun.com/docs/books/tutorial/uiswing/components/table.html">How
@@ -5775,7 +5778,15 @@ protected JTableHeader createDefaultTableHeader() {
57755778 秘repaint ();
57765779 }
57775780
5778- /**
5781+ /**
5782+ * Equivalent to <code>revalidate</code> followed by <code>repaint</code>.
5783+ */
5784+ protected void resizeAndRepaint () {
5785+ revalidate ();
5786+ repaint ();
5787+ }
5788+
5789+ /**
57795790 * Returns the active cell editor, which is {@code null} if the table is not
57805791 * currently editing.
57815792 *
You can’t perform that action at this time.
0 commit comments