Random cleanup
This commit is contained in:
parent
fd95772fc8
commit
41280c8d01
@ -13,6 +13,7 @@ import eva2.optimization.strategies.InterfaceOptimizer;
|
|||||||
import eva2.problems.InterfaceAdditionalPopulationInformer;
|
import eva2.problems.InterfaceAdditionalPopulationInformer;
|
||||||
import eva2.problems.InterfaceOptimizationProblem;
|
import eva2.problems.InterfaceOptimizationProblem;
|
||||||
import eva2.tools.ReflectPackage;
|
import eva2.tools.ReflectPackage;
|
||||||
|
import eva2.tools.StringTools;
|
||||||
import eva2.util.annotation.Description;
|
import eva2.util.annotation.Description;
|
||||||
import org.yaml.snakeyaml.DumperOptions;
|
import org.yaml.snakeyaml.DumperOptions;
|
||||||
import org.yaml.snakeyaml.Yaml;
|
import org.yaml.snakeyaml.Yaml;
|
||||||
@ -93,7 +94,7 @@ public class Main {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
Description description = clazz.getAnnotation(Description.class);
|
Description description = clazz.getAnnotation(Description.class);
|
||||||
System.out.printf("\t\033[1m%s\033[0m\n", type.getName());
|
System.out.printf("\t\033[1m%s\033[0m (%s)\n", type.getName(), StringTools.cutClassName(type.getName()));
|
||||||
if (description != null) {
|
if (description != null) {
|
||||||
System.out.printf("\t\t%s", description.value());
|
System.out.printf("\t\t%s", description.value());
|
||||||
} else {
|
} else {
|
||||||
|
@ -262,8 +262,7 @@ public class MainFrame extends JFrame implements OptimizationStateListener {
|
|||||||
} else {
|
} else {
|
||||||
/* Set Look and Feel */
|
/* Set Look and Feel */
|
||||||
try {
|
try {
|
||||||
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
|
UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
|
||||||
//UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
|
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
LOGGER.log(Level.INFO, "Could not set Look&Feel", ex);
|
LOGGER.log(Level.INFO, "Could not set Look&Feel", ex);
|
||||||
}
|
}
|
||||||
|
@ -414,7 +414,7 @@ public class ArrayEditor extends JPanel implements PropertyEditor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Upper Button Panel
|
// Upper Button Panel
|
||||||
JPanel combiUpperPanel = new JPanel(getButtonLayout(1, upperButtonList));
|
JPanel combiUpperPanel = new JPanel(getButtonLayout(0, upperButtonList));
|
||||||
// ToDo Figure out how to now show this on Job Pane
|
// ToDo Figure out how to now show this on Job Pane
|
||||||
combiUpperPanel.add(view);
|
combiUpperPanel.add(view);
|
||||||
view.setVisible(withAddButton);
|
view.setVisible(withAddButton);
|
||||||
|
@ -5,7 +5,7 @@ package eva2.problems.regression;
|
|||||||
public interface InterfaceRegressionFunction {
|
public interface InterfaceRegressionFunction {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This mehtod allows you to get a deep clone
|
* This method allows you to get a deep clone
|
||||||
*
|
*
|
||||||
* @return The clone.
|
* @return The clone.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user