рефакторинг контролов таблиц. убрал странный и запутанный старый код
This commit is contained in:
@@ -29,6 +29,8 @@ public class VariantsForm implements VariantsWindow {
|
||||
public VariantsForm() {
|
||||
LoadSplitters();
|
||||
Global.mainModule.getProject().parallelVariants.mountUI(variantsPanel);
|
||||
distributionForm1 = new TreeForm(RulesTree.class, distributionPanel);
|
||||
dimensionsForm = new DimensionsTableForm(dimensionsPanel);
|
||||
//-
|
||||
BDistributed.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
@@ -49,11 +51,6 @@ public class VariantsForm implements VariantsWindow {
|
||||
}
|
||||
});
|
||||
}
|
||||
private void createUIComponents() {
|
||||
// TODO: place custom component creation code here
|
||||
distributionPanel = (distributionForm1 = new TreeForm(RulesTree.class)).getContent();
|
||||
dimensionsPanel = (dimensionsForm = new DimensionsTableForm()).getContent();
|
||||
}
|
||||
@Override
|
||||
public JPanel getContent() {
|
||||
return content;
|
||||
|
||||
Reference in New Issue
Block a user