no message
This commit is contained in:
@@ -22,10 +22,6 @@ public class Pass<T> {
|
||||
//--------------
|
||||
public boolean ui_visible = true;
|
||||
public Vector<PassControl> controls = new Vector<>();
|
||||
public void addControl(PassControl control_in){
|
||||
control_in.setVisible(ui_visible);
|
||||
controls.add(control_in);
|
||||
}
|
||||
public TextLog Log; //внутренний журнал прохода.
|
||||
protected boolean interrupt;
|
||||
protected SwingWorker dispatcher = null;
|
||||
@@ -34,6 +30,10 @@ public class Pass<T> {
|
||||
private JButton button = null;
|
||||
private JButton tabButton = null;
|
||||
private Exception last_error; //последнее пойманное исключение выполнения.
|
||||
public void addControl(PassControl control_in) {
|
||||
control_in.setVisible(ui_visible);
|
||||
controls.add(control_in);
|
||||
}
|
||||
//->>
|
||||
public Throwable getCauseRec(Throwable ex) {
|
||||
Throwable cause = ex.getCause();
|
||||
@@ -79,7 +79,7 @@ public class Pass<T> {
|
||||
control.setEnabled(flag);
|
||||
}
|
||||
public void setControlsVisible(boolean flag) {
|
||||
ui_visible =flag;
|
||||
ui_visible = flag;
|
||||
for (PassControl control : controls)
|
||||
control.setVisible(ui_visible);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user