File: OverlayPasswordField.java

package info (click to toggle)
libjide-oss-java 3.7.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 13,264 kB
  • sloc: java: 89,463; xml: 268; makefile: 35
file content (40 lines) | stat: -rw-r--r-- 895 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * @(#)OverlayPasswordField.java 8/11/2009
 *
 * Copyright 2002 - 2009 JIDE Software Inc. All rights reserved.
 *
 * Contributor: lonny27
 *
 */

package com.jidesoft.swing;

import javax.swing.JPasswordField;
import javax.swing.text.Document;

public class OverlayPasswordField extends JPasswordField {
  public OverlayPasswordField() {
  }

  public OverlayPasswordField(Document doc, String txt, int columns) {
    super(doc, txt, columns);
  }

  public OverlayPasswordField(int columns) {
    super(columns);
  }

  public OverlayPasswordField(String text, int columns) {
    super(text, columns);
  }

  public OverlayPasswordField(String text) {
    super(text);
  }

  @Override
  public void repaint(long tm, int x, int y, int width, int height) {
    super.repaint(tm, x, y, width, height);
    OverlayableUtils.repaintOverlayable(this);
  }
}