ModelExploit.java

package com.jsql.view.swing.manager.util;

import javax.swing.*;
import java.util.concurrent.atomic.AtomicReference;

public class ModelExploit {
    public final AtomicReference<JTextField> textfield;
    public final String tooltipI18n;
    public final String labelI18n;
    public final boolean isPassword;

    public ModelExploit(AtomicReference<JTextField> textfield, String labelI18n, String tooltipI18n, boolean isPassword) {
        this.tooltipI18n = tooltipI18n;
        this.textfield = textfield;
        this.labelI18n = labelI18n;
        this.isPassword = isPassword;
    }
    public ModelExploit(AtomicReference<JTextField> textfield, String labelI18n, String tooltipI18n) {
        this(textfield, labelI18n, tooltipI18n, false);
    }
}