Skip to content

Commit

Permalink
Add labels to palette
Browse files Browse the repository at this point in the history
  • Loading branch information
meh2481 committed Dec 25, 2023
1 parent 75bd18f commit 99840af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/com/WooGLEFX/GUI/PaletteReconfigurator.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public void start(Stage stage) throws ParserConfigurationException, SAXException
stage.setTitle("Configure Goo Ball Palette");

if (FileManager.isHasOldWOG()) {
Label oldLabel = new Label("Version 1.3 Goo Balls");
oldLabel.setStyle("-fx-font-weight: bold");
oldVBox.getChildren().add(oldLabel);
File[] balls = new File(FileManager.getOldWOGdir() + "\\res\\balls").listFiles();
if (balls != null) {
for (File ballFile : balls) {
Expand All @@ -59,6 +62,9 @@ public void start(Stage stage) throws ParserConfigurationException, SAXException
}
}
if (FileManager.isHasNewWOG()) {
Label label = new Label("Version 1.5 Goo Balls");
label.setStyle("-fx-font-weight: bold");
newVBox.getChildren().add(label);
File[] balls = new File(FileManager.getNewWOGdir() + "\\res\\balls").listFiles();
if (balls != null) {
for (File ballFile : balls) {
Expand Down

0 comments on commit 99840af

Please sign in to comment.