Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/classes/javax/swing/JTable.java
          +++ new/src/share/classes/javax/swing/JTable.java
↓ open down ↓ 53 lines elided ↑ open up ↑
  54   54  import sun.reflect.misc.ReflectUtil;
  55   55  
  56   56  import sun.swing.SwingUtilities2;
  57   57  import sun.swing.SwingUtilities2.Section;
  58   58  import static sun.swing.SwingUtilities2.Section.*;
  59   59  import sun.swing.PrintingStatus;
  60   60  
  61   61  /**
  62   62   * The <code>JTable</code> is used to display and edit regular two-dimensional tables
  63   63   * of cells.
  64      - * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/table.html">How to Use Tables</a>
       64 + * See <a href="https://docs.oracle.com/javase/tutorial/uiswing/components/table.html">How to Use Tables</a>
  65   65   * in <em>The Java Tutorial</em>
  66   66   * for task-oriented documentation and examples of using <code>JTable</code>.
  67   67   *
  68   68   * <p>
  69   69   * The <code>JTable</code> has many
  70   70   * facilities that make it possible to customize its rendering and editing
  71   71   * but provides defaults for these features so that simple tables can be
  72   72   * set up easily.  For example, to set up a table with 10 rows and 10
  73   73   * columns of numbers:
  74   74   *
↓ open down ↓ 2406 lines elided ↑ open up ↑
2481 2481      }
2482 2482  
2483 2483      /**
2484 2484       * Sets the foreground color for selected cells.  Cell renderers
2485 2485       * can use this color to render text and graphics for selected
2486 2486       * cells.
2487 2487       * <p>
2488 2488       * The default value of this property is defined by the look
2489 2489       * and feel implementation.
2490 2490       * <p>
2491      -     * This is a <a href="http://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html">JavaBeans</a> bound property.
     2491 +     * This is a <a href="https://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html">JavaBeans</a> bound property.
2492 2492       *
2493 2493       * @param selectionForeground  the <code>Color</code> to use in the foreground
2494 2494       *                             for selected list items
2495 2495       * @see #getSelectionForeground
2496 2496       * @see #setSelectionBackground
2497 2497       * @see #setForeground
2498 2498       * @see #setBackground
2499 2499       * @see #setFont
2500 2500       * @beaninfo
2501 2501       *       bound: true
↓ open down ↓ 17 lines elided ↑ open up ↑
2519 2519          return selectionBackground;
2520 2520      }
2521 2521  
2522 2522      /**
2523 2523       * Sets the background color for selected cells.  Cell renderers
2524 2524       * can use this color to the fill selected cells.
2525 2525       * <p>
2526 2526       * The default value of this property is defined by the look
2527 2527       * and feel implementation.
2528 2528       * <p>
2529      -     * This is a <a href="http://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html">JavaBeans</a> bound property.
     2529 +     * This is a <a href="https://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html">JavaBeans</a> bound property.
2530 2530       *
2531 2531       * @param selectionBackground  the <code>Color</code> to use for the background
2532 2532       *                             of selected cells
2533 2533       * @see #getSelectionBackground
2534 2534       * @see #setSelectionForeground
2535 2535       * @see #setForeground
2536 2536       * @see #setBackground
2537 2537       * @see #setFont
2538 2538       * @beaninfo
2539 2539       *       bound: true
↓ open down ↓ 7061 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX