Commit 4851637f authored by Olaf Rosendahl's avatar Olaf Rosendahl 💻
Browse files

Rename from JavaFxApplication to Picturerama

parent a694133d
......@@ -16,11 +16,11 @@
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<module name="JavaFxApplication" />
<module name="Picturerama" />
</profile>
</annotationProcessing>
<bytecodeTargetLevel>
<module name="JavaFxApplication" target="12" />
<module name="Picturerama" target="12" />
</bytecodeTargetLevel>
</component>
</project>
\ No newline at end of file
......@@ -2,7 +2,7 @@
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/JavaFxApplication.iml" filepath="$PROJECT_DIR$/JavaFxApplication.iml" />
<module fileurl="file://$PROJECT_DIR$/Picturerama.iml" filepath="$PROJECT_DIR$/Picturerama.iml" />
</modules>
</component>
</project>
\ No newline at end of file
......@@ -4,9 +4,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>groupId</groupId>
<artifactId>JavaFxApplication</artifactId>
<version>1.0-SNAPSHOT</version>
<groupId>12</groupId>
<artifactId>Picturerama</artifactId>
<version>1.0</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
......
......@@ -35,13 +35,13 @@ You should now have the files you need. In order to be able to run, you have to
**Steps to compile JavaFX in IntelliJ IDEA:**
1. MAVEN
2. JavaFxApplication
2. Picturerama
3. Plugins
4. Double click on javafx:compile
5. Build project (hammer)
6. Right click javafx:run and click "Run 'JavaFxApplication'"
6. Right click javafx:run and click "Run 'Picturerama'"
If you don't have a JavaFxApplication.iml file in the project root, you'll have to add it. Copy and paste the JavaFxApplication.iml file at the bottom of this readme.md
If you don't have a Picturerama.iml file in the project root, you'll have to add it. Copy and paste the JavaFxApplication.iml file at the bottom of this readme.md
## JavaFxApplication.iml
```
......
......@@ -70,10 +70,14 @@ public final class Authentication {
} else {
return false;
}
} catch (ExceptionInInitializerError | NoClassDefFoundError | PersistenceException e) {
} catch (ExceptionInInitializerError | NoClassDefFoundError e) {
FileLogger.getLogger().log(Level.FINE, e.getMessage());
FileLogger.closeHandler();
throw e;
} catch (PersistenceException e) {
FileLogger.getLogger().log(Level.FINE, e.getMessage());
FileLogger.closeHandler();
return false;
}
}
......
......@@ -43,6 +43,7 @@ public final class PhotoViewer {
stage.initModality(Modality.APPLICATION_MODAL);
stage.initOwner(ApplicationManager.getStage());
stage.setTitle(PHOTO.getTitle());
stage.getIcons().add(new Image("file:src/main/App/Images/Logo.png"));
Label photoTitleLabel = new Label();
photoTitleLabel.setText(PHOTO.getTitle());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment