Improved graph and path splitting
This commit is contained in:
parent
c7c28ef1f7
commit
e7b7f77e0b
|
@ -383,7 +383,7 @@ public class Chess {
|
|||
plot.setRangeGridlinePaint(Color.GRAY);
|
||||
CategoryItemRenderer renderer = plot.getRenderer();
|
||||
renderer.setDefaultItemLabelGenerator(
|
||||
new StandardCategoryItemLabelGenerator("{2}", NumberFormat.getInstance())
|
||||
new StandardCategoryItemLabelGenerator("{2}s", NumberFormat.getInstance())
|
||||
);
|
||||
renderer.setDefaultItemLabelFont(new Font("Arial", Font.PLAIN, 9));
|
||||
renderer.setDefaultItemLabelsVisible(true);
|
||||
|
|
|
@ -51,7 +51,7 @@ public class Stockfish {
|
|||
public static String findBinary() {
|
||||
ArrayList<String> paths = new ArrayList<>();
|
||||
paths.add(".");
|
||||
for (String path : System.getenv("PATH").split(":")) {
|
||||
for (String path : System.getenv("PATH").split(File.pathSeparator)) {
|
||||
paths.add(path);
|
||||
}
|
||||
for (String path : paths) {
|
||||
|
|
Loading…
Reference in a new issue