|
|
@ -143,7 +143,6 @@ public class DarkTextFieldUI extends DarkTextFieldUIBridge implements PropertyCh |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected Rectangle getVisibleEditorRect() { |
|
|
|
protected Rectangle getVisibleEditorRect() { |
|
|
|
Rectangle rect = super.getVisibleEditorRect(); |
|
|
|
Rectangle rect = super.getVisibleEditorRect(); |
|
|
|
System.out.println(editor); |
|
|
|
|
|
|
|
if (rect != null) { |
|
|
|
if (rect != null) { |
|
|
|
FontMetrics fm = SwingUtilities2.getFontMetrics(editor, editor.getFont()); |
|
|
|
FontMetrics fm = SwingUtilities2.getFontMetrics(editor, editor.getFont()); |
|
|
|
int asc = fm.getMaxAscent(); |
|
|
|
int asc = fm.getMaxAscent(); |
|
|
|