frame = new JInternalFrame();
frame.setContentPane(this);
this.setBackground(Color.white);
+ frame.addFocusListener(new FocusListener()
+ {
+
+ @Override
+ public void focusLost(FocusEvent e)
+ {
+ }
+ @Override
+ public void focusGained(FocusEvent e)
+ {
+ validateCalcTypes();
+ }
+ });
/*
* Layout consists of 3 or 4 panels:
* - first with choice of PCA or tree method NJ or AV