(Graphics g)
| 1690 | |
| 1691 | /// {@inheritDoc} |
| 1692 | @Override |
| 1693 | public void paint(Graphics g) { |
| 1694 | |
| 1695 | //the native input will show the string. |
| 1696 | if (useNativeTextInput && Display.getInstance().isNativeEditorVisible(this)) { |
| 1697 | if (!Display.impl.nativeEditorPaintsHint()) { |
| 1698 | paintHint(g); |
| 1699 | } |
| 1700 | return; |
| 1701 | } |
| 1702 | |
| 1703 | UIManager manager = getUIManager(); |
| 1704 | manager.getLookAndFeel().drawTextField(g, this); |
| 1705 | |
| 1706 | if (drawCursor && hasFocus() && isEditable()) { |
| 1707 | manager.getLookAndFeel().drawTextFieldCursor(g, this); |
| 1708 | } |
| 1709 | |
| 1710 | paintHint(g); |
| 1711 | } |
| 1712 | |
| 1713 | /// {@inheritDoc} |
| 1714 | @Override |
nothing calls this directly
no test coverage detected