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.InterfaceOptimizationProblem;
|
||||
import eva2.tools.ReflectPackage;
|
||||
import eva2.tools.StringTools;
|
||||
import eva2.util.annotation.Description;
|
||||
import org.yaml.snakeyaml.DumperOptions;
|
||||
import org.yaml.snakeyaml.Yaml;
|
||||
@ -93,7 +94,7 @@ public class Main {
|
||||
continue;
|
||||
}
|
||||
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) {
|
||||
System.out.printf("\t\t%s", description.value());
|
||||
} else {
|
||||
|
@ -262,8 +262,7 @@ public class MainFrame extends JFrame implements OptimizationStateListener {
|
||||
} else {
|
||||
/* Set Look and Feel */
|
||||
try {
|
||||
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
|
||||
//UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
|
||||
UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
|
||||
} catch (Exception 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
|
||||
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
|
||||
combiUpperPanel.add(view);
|
||||
view.setVisible(withAddButton);
|
||||
|
@ -5,7 +5,7 @@ package eva2.problems.regression;
|
||||
public interface InterfaceRegressionFunction {
|
||||
|
||||
/**
|
||||
* This mehtod allows you to get a deep clone
|
||||
* This method allows you to get a deep clone
|
||||
*
|
||||
* @return The clone.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user