Skip to content

Commit

Permalink
v0.12;
Browse files Browse the repository at this point in the history
update README;
fix some labels;
  • Loading branch information
aekrylov committed Apr 11, 2017
1 parent 6a67b6b commit 204fd07
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

Based on old [Nashetovich's code](http://oldforum.paradoxplaza.com/forum/showthread.php?715468) with minor changes,
so now it works with Java 8 and higher.

**Tested with Oracle JRE 1.8 only**

## Usage

Expand All @@ -14,6 +12,7 @@ Based on old [Nashetovich's code](http://oldforum.paradoxplaza.com/forum/showthr

Double click on a table row (or single click on a chart item) opens detailed info window.

Check out project wiki for more info.

## Troubleshooting

Expand All @@ -28,4 +27,6 @@ Double click on a table row (or single click on a chart item) opens detailed inf

- [x] Upload jar files
- [x] Test with different environments
- [ ] Improve architecture and code quality
- [x] Improve architecture and code quality
- [x] Implement continuous watching for game history
- [ ] Display or export game history
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.victoria2.tools</groupId>
<artifactId>vic2sgea</artifactId>
<version>0.11.3</version>
<version>0.12</version>
<packaging>jar</packaging>

<name>vic2sgea</name>
Expand Down
9 changes: 3 additions & 6 deletions src/main/java/org/victoria2/tools/vic2sgea/gui/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ public void start(Stage stage) throws Exception {
stage.show();
stage.getIcons().add(new Image("/flags/EST.png")); /* Cause I'm Estonian, thats why */

// Throws error when user cancels selection


try {
FXMLLoader productListLoader = new FXMLLoader(getClass().getResource("/gui/ProductList.fxml"));
root = productListLoader.load();
Expand All @@ -48,7 +45,7 @@ public void start(Stage stage) throws Exception {
windowController.setProductListController(productListLoader.getController());

productListWindow = new Stage();
productListWindow.setTitle("Product list productListWindow");
productListWindow.setTitle("Product list");
productListWindow.getIcons().add(new Image("/flags/EST.png")); //Cause I'm Estonian, thats why
productListWindow.setScene(new Scene(root));

Expand All @@ -62,7 +59,7 @@ public static void showCountry(Report report, Country country) {
CountryController controller = new CountryController(report, country);

Stage window = new Stage();
window.setTitle(country.getOfficialName() + " - Country productListWindow");
window.setTitle(country.getOfficialName() + " - Country window");
window.setScene(controller.getScene());

window.show();
Expand All @@ -72,7 +69,7 @@ public static void showProduct(Report report, Product product) {
ProductController controller = new ProductController(report, product);

Stage productWindow = new Stage();
productWindow.setTitle(product.getName() + " - Product productListWindow");
productWindow.setTitle(product.getName() + " - Product window");
productWindow.setScene(controller.getScene());

productWindow.show();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static class RemoveWatcherButton extends Button {
private Watcher watcher;

public RemoveWatcherButton(Watcher watcher) {
super("Remove");
super("Stop");
this.watcher = watcher;
}

Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/gui/Window.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
<MenuItem text="Quit" onAction="#exit"/>
</Menu>
<Menu text="Watchers">
<MenuItem text="New history file..." onAction="#createNewHistory"/>
<!--
<MenuItem text="New history file..." onAction="#createNewHistory"/>
-->
<MenuItem text="Set active watcher..." onAction="#onSetActiveWatcher"/>
</Menu>
</MenuBar>
Expand Down

0 comments on commit 204fd07

Please sign in to comment.