equal
deleted
inserted
replaced
1472 * Sets the <code>contentAreaFilled</code> property. |
1472 * Sets the <code>contentAreaFilled</code> property. |
1473 * If <code>true</code> the button will paint the content |
1473 * If <code>true</code> the button will paint the content |
1474 * area. If you wish to have a transparent button, such as |
1474 * area. If you wish to have a transparent button, such as |
1475 * an icon only button, for example, then you should set |
1475 * an icon only button, for example, then you should set |
1476 * this to <code>false</code>. Do not call <code>setOpaque(false)</code>. |
1476 * this to <code>false</code>. Do not call <code>setOpaque(false)</code>. |
1477 * The default value for the the <code>contentAreaFilled</code> |
1477 * The default value for the <code>contentAreaFilled</code> |
1478 * property is <code>true</code>. |
1478 * property is <code>true</code>. |
1479 * <p> |
1479 * <p> |
1480 * This function may cause the component's opaque property to change. |
1480 * This function may cause the component's opaque property to change. |
1481 * <p> |
1481 * <p> |
1482 * The exact behavior of calling this function varies on a |
1482 * The exact behavior of calling this function varies on a |
1536 repaint(); |
1536 repaint(); |
1537 } |
1537 } |
1538 } |
1538 } |
1539 |
1539 |
1540 /** |
1540 /** |
1541 * Returns the keyboard mnemonic from the the current model. |
1541 * Returns the keyboard mnemonic from the current model. |
1542 * @return the keyboard mnemonic from the model |
1542 * @return the keyboard mnemonic from the model |
1543 */ |
1543 */ |
1544 public int getMnemonic() { |
1544 public int getMnemonic() { |
1545 return mnemonic; |
1545 return mnemonic; |
1546 } |
1546 } |
2560 |
2560 |
2561 /** |
2561 /** |
2562 * Perform the specified Action on the object |
2562 * Perform the specified Action on the object |
2563 * |
2563 * |
2564 * @param i zero-based index of actions |
2564 * @param i zero-based index of actions |
2565 * @return true if the the action was performed; else false. |
2565 * @return true if the action was performed; else false. |
2566 */ |
2566 */ |
2567 public boolean doAccessibleAction(int i) { |
2567 public boolean doAccessibleAction(int i) { |
2568 if (i == 0) { |
2568 if (i == 0) { |
2569 doClick(); |
2569 doClick(); |
2570 return true; |
2570 return true; |