mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Mac UI: when move focus from password field focus border should disappear
This commit is contained in:
+10
-1
@@ -28,9 +28,18 @@ import java.awt.*;
|
||||
*/
|
||||
public class MacIntelliJPasswordFieldUI extends DarculaPasswordFieldUI {
|
||||
|
||||
public MacIntelliJPasswordFieldUI(JPasswordField c) {
|
||||
super(c);
|
||||
}
|
||||
|
||||
@SuppressWarnings({"MethodOverridesStaticMethodOfSuperclass", "UnusedDeclaration"})
|
||||
public static ComponentUI createUI(JComponent c) {
|
||||
return new MacIntelliJPasswordFieldUI();
|
||||
return new MacIntelliJPasswordFieldUI((JPasswordField)c);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintSafely(Graphics g) {
|
||||
super.paintSafely(g);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user