1 package com.jsql.view.swing.manager.util;
2
3 import javax.swing.*;
4 import java.util.concurrent.atomic.AtomicReference;
5
6 public class ModelExploit {
7 public final AtomicReference<JTextField> textfield;
8 public final String tooltipI18n;
9 public final String labelI18n;
10 public final boolean isPassword;
11
12 public ModelExploit(AtomicReference<JTextField> textfield, String labelI18n, String tooltipI18n, boolean isPassword) {
13 this.tooltipI18n = tooltipI18n;
14 this.textfield = textfield;
15 this.labelI18n = labelI18n;
16 this.isPassword = isPassword;
17 }
18 public ModelExploit(AtomicReference<JTextField> textfield, String labelI18n, String tooltipI18n) {
19 this(textfield, labelI18n, tooltipI18n, false);
20 }
21 }