commit 118be0431497ee6e50ece8d7c528e362b34b48bf Author: Jesús Vélez Palacios Date: Tue May 17 17:09:46 2016 +0200 initial commit deadline 1 week lol diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0fb9b1c --- /dev/null +++ b/.gitignore @@ -0,0 +1,110 @@ +# Created by .ignore support plugin (hsz.mobi) +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 +*.iml +.idea/* + +## File-based project format: +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +### Linux template +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +### Windows template +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msm +*.msp + +# Windows shortcuts +*.lnk + +### OSX template +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 + +### Maven template +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +.TemporaryItems +.Trashes +.VolumeIcon.icns + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### Java template +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.ear + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +###Do not remove ETSINF library +!lib/* diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..74810cf --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,32 @@ + + + + + \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml new file mode 100644 index 0000000..e7bedf3 --- /dev/null +++ b/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..c0bce70 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_sun_istack_istack_commons_runtime_2_22.xml b/.idea/libraries/Maven__com_sun_istack_istack_commons_runtime_2_22.xml new file mode 100644 index 0000000..6bd8b50 --- /dev/null +++ b/.idea/libraries/Maven__com_sun_istack_istack_commons_runtime_2_22.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__jfree_jcommon_1_0_16.xml b/.idea/libraries/Maven__jfree_jcommon_1_0_16.xml new file mode 100644 index 0000000..4948236 --- /dev/null +++ b/.idea/libraries/Maven__jfree_jcommon_1_0_16.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__jfree_jfreechart_1_0_13.xml b/.idea/libraries/Maven__jfree_jfreechart_1_0_13.xml new file mode 100644 index 0000000..c91b3c0 --- /dev/null +++ b/.idea/libraries/Maven__jfree_jfreechart_1_0_13.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_commons_commons_lang3_3_4.xml b/.idea/libraries/Maven__org_apache_commons_commons_lang3_3_4.xml new file mode 100644 index 0000000..78cfcd3 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_commons_commons_lang3_3_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_controlsfx_controlsfx_8_40_10.xml b/.idea/libraries/Maven__org_controlsfx_controlsfx_8_40_10.xml new file mode 100644 index 0000000..9f2cf8a --- /dev/null +++ b/.idea/libraries/Maven__org_controlsfx_controlsfx_8_40_10.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..3d24e68 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..b6e3820 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..c0d5a4f --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,24 @@ +The MIT License (MIT) + +PCPartPicker (excluding lib/DatabasePCStore.jar) +Copyright (c) 2016 Jesús Vélez Palacios, Carlos Santiago Galindo Jiménez + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. diff --git a/README.md b/README.md new file mode 100644 index 0000000..8bd8fbe --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# PCPartPicker +ETSINF 2016 - IPC Assignment +[Carlos Santiago Galindo Jiménez](https://github.com/kauron) +[Jesús Vélez Palacios](https://github.com/baudlord) + +Icons by [Icons8](https://icons8.com) \ No newline at end of file diff --git a/estraba.iml b/estraba.iml new file mode 100644 index 0000000..36f1fcf --- /dev/null +++ b/estraba.iml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/jGPX.jar b/lib/jGPX.jar new file mode 100644 index 0000000..a961936 Binary files /dev/null and b/lib/jGPX.jar differ diff --git a/lib/jGPX_javadoc.zip b/lib/jGPX_javadoc.zip new file mode 100644 index 0000000..6fd0e59 Binary files /dev/null and b/lib/jGPX_javadoc.zip differ diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..76c21cc --- /dev/null +++ b/pom.xml @@ -0,0 +1,128 @@ + + + + + 4.0.0 + + UTF-8 + + + es.kauron.estraba + estraba + 0.1 + + + + com.sun.istack + istack-commons-runtime + 2.22 + + + org.controlsfx + controlsfx + 8.40.10 + + + jfree + jfreechart + 1.0.13 + + + jgpx + jgpx + 1.0 + jar + + + org.apache.commons + commons-lang3 + 3.4 + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.5.1 + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-install-plugin + 2.5.2 + + + initialize + + install-file + + + jgpx + jgpx + 1.0 + jar + ${basedir}/lib/jGPX.jar + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.6 + + + package + + single + + + + + + + true + es.kauron.estraba.App + + + . + + + + jar-with-dependencies + + + + + + diff --git a/src/main/java/es/kauron/estraba/App.java b/src/main/java/es/kauron/estraba/App.java new file mode 100644 index 0000000..2e2a2f1 --- /dev/null +++ b/src/main/java/es/kauron/estraba/App.java @@ -0,0 +1,61 @@ +/* + * Copyright (c) 2016 Jesús "baudlord" Vélez Palacios, Carlos "kauron" Santiago Galindo Jiménez + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + * If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. + */ + +package es.kauron.estraba; + +import javafx.application.Application; +import javafx.fxml.FXMLLoader; +import javafx.scene.Parent; +import javafx.scene.Scene; +import javafx.scene.image.Image; +import javafx.stage.Stage; + +import java.util.ResourceBundle; + +import static java.util.ResourceBundle.getBundle; + +/** + * @author baudlord + */ +public class App extends Application { + public final static ResourceBundle GENERAL_BUNDLE = getBundle("general"); + /** + * @param args the command line arguments + */ + public static void main(String[] args) { + launch(args); + } + + @Override + public void start(Stage stage) throws Exception { + FXMLLoader loader = new FXMLLoader( + App.class.getResource("fxml/App.fxml"), GENERAL_BUNDLE); + Parent root = loader.load(); + stage.getIcons().add(new Image(App.class.getResource("img/icon.png").toString())); + stage.setTitle("ESTRABA"); + stage.setScene(new Scene(root)); + stage.setResizable(true); + stage.show(); + } +}