< prev index next >

src/java.desktop/share/classes/sun/swing/SwingUtilities2.java

Print this page

        

@@ -645,10 +645,15 @@
      * before calling this method.
      * This is used to make Windows {@literal L&F} JFileChooser act
      * like native dialogs.
      */
     public static boolean pointOutsidePrefSize(JTable table, int row, int column, Point p) {
+        if(table.getClientProperty("Table.noOutsideChecking") == Boolean.TRUE) {
+            return false;
+        }
+            
+        
         if (table.convertColumnIndexToModel(column) != 0 || row == -1) {
             return true;
         }
         TableCellRenderer tcr = table.getCellRenderer(row, column);
         Object value = table.getValueAt(row, column);
< prev index next >