Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added functionality and interface to Import from Excel to Database - Closes #11 #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .idea/ant.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions .idea/libraries/libs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

59 changes: 59 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Books-List.xlsx
Binary file not shown.
13 changes: 13 additions & 0 deletions Library-Assistant.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="libs" level="project" />
<orderEntry type="library" name="javafx-16" level="application" />
</component>
</module>
Binary file added Members-List.xlsx
Binary file not shown.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
This is a library management software developed using JavaFX programming language. The entire development video with explanation of each and every part (in realtime) is available in my YouTube Channel [Genuine Coder Youtube Channel](https://www.youtube.com/playlist?list=PLhs1urmduZ29jTcE1ca8Z6bZNvH_39ayL).

### New Features
* One-click Excel file import for Books list into database
Added functionality to add Books into the database from a XLS/XLSX file for easier and faster storage of large amounts of data.
<p align="center">
<img src=https://imgur.com/a/oAlWRSo>
</p>
* One-click Excel file import for Members list into database
Added functionality to add Members into the database from a XLS/XLSX file for easier and faster storage of large amounts of data.
<p align="center">
<img src=https://imgur.com/a/kukdBgv>
</p>
* One-click database export
<p align="center">
<img src=https://i.imgur.com/ufZOqkn.png>
Expand Down
Binary file added libs/commons-codec-1.9.jar
Binary file not shown.
Binary file added libs/dom4j-1.6.jar
Binary file not shown.
Binary file added libs/poi-3.11.jar
Binary file not shown.
Binary file added libs/poi-ooxml-3.11.jar
Binary file not shown.
Binary file added libs/poi-ooxml-schemas-3.11.jar
Binary file not shown.
Binary file added libs/stax-api-1.0.1.jar
Binary file not shown.
Binary file added libs/xmlbeans-2.3.0.jar
Binary file not shown.
Binary file added libs/xmlbeans-2.6.0.jar
Binary file not shown.
30 changes: 16 additions & 14 deletions nbproject/build-impl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,18 +155,6 @@ is divided into following sections:
<istrue value="${not.archive.disabled}"/>
</or>
</condition>
<condition property="do.mkdist">
<and>
<isset property="do.archive"/>
<isset property="libs.CopyLibs.classpath"/>
<not>
<istrue value="${mkdist.disabled}"/>
</not>
<not>
<istrue value="${modules.supported.internal}"/>
</not>
</and>
</condition>
<condition property="do.archive+manifest.available">
<and>
<isset property="manifest.available"/>
Expand Down Expand Up @@ -1194,13 +1182,27 @@ is divided into following sections:
<attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
</manifest>
</target>
<target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.mkdist" name="-do-jar-copylibs">
<target depends="init,compile" name="-check-do-mkdist">
<condition property="do.mkdist">
<and>
<isset property="do.archive"/>
<isset property="libs.CopyLibs.classpath"/>
<not>
<istrue value="${mkdist.disabled}"/>
</not>
<not>
<available file="${build.classes.dir}/module-info.class"/>
</not>
</and>
</condition>
</target>
<target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-check-do-mkdist" if="do.mkdist" name="-do-jar-copylibs">
<j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
<echo level="info">To run this application from the command line without Ant, try:</echo>
<property location="${dist.jar}" name="dist.jar.resolved"/>
<echo level="info">java -jar "${dist.jar.resolved}"</echo>
</target>
<target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.archive" name="-do-jar-jar" unless="do.mkdist">
<target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-check-do-mkdist" if="do.archive" name="-do-jar-jar" unless="do.mkdist">
<j2seproject1:jar manifest="${tmp.manifest.file}"/>
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
<property location="${dist.jar}" name="dist.jar.resolved"/>
Expand Down
4 changes: 2 additions & 2 deletions nbproject/genfiles.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ [email protected]
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=ef5fab51
nbproject/build-impl.xml.script.CRC32=7f97e384
nbproject/build-impl.xml.stylesheet.CRC32=3a2fa800@1.88.0.48
nbproject/build-impl.xml.script.CRC32=a96863d4
nbproject/build-impl.xml.stylesheet.CRC32=f89f7d21@1.95.0.48
4 changes: 3 additions & 1 deletion nbproject/private/private.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ auxiliary.org-netbeans-modules-projectapi.issue214819_5f_fx_5f_enabled=true
compile.on.save=true
do.depend=false
do.jar=true
do.jlink=false
# No need to modify this property unless customizing JavaFX Ant task infrastructure
endorsed.javafx.ant.classpath=.
javac.debug=true
javadoc.preview=true
javafx.run.as=standalone
javafx.run.inbrowser=<Default System Browser>
javafx.run.inbrowser.path=
user.properties.file=C:\\Users\\Afsal\\AppData\\Roaming\\NetBeans\\11.1\\build.properties
jlink.strip=false
user.properties.file=C:\\Users\\user\\AppData\\Roaming\\NetBeans\\12.0\\build.properties
4 changes: 3 additions & 1 deletion nbproject/private/private.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/C:/Users/Afsal/Documents/GitHub/Library-Assistant/src/library/assistant/util/LibraryAssistantUtil.java</file>
<file>file:/C:/Users/user/Documents/GitHub/Library-Assistant/src/library/assistant/ui/main/main.fxml</file>
<file>file:/C:/Users/user/Documents/GitHub/Library-Assistant/src/library/assistant/ui/main/Main.java</file>
<file>file:/C:/Users/user/Documents/GitHub/Library-Assistant/src/library/assistant/ui/main/MainController.java</file>
</group>
</open-files>
</project-private>
36 changes: 29 additions & 7 deletions nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@ dist.jar=${dist.dir}/Library Assistant.jar
dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath=
excludes=
file.reference.boxable-1.5-RC.jar=libs\\boxable-1.5-RC.jar
file.reference.commons-codec-1.11.jar=libs\\commons-codec-1.11.jar
file.reference.commons-csv-1.4.jar=libs\\commons-csv-1.4.jar
file.reference.commons-lang3-3.9.jar=libs\\commons-lang3-3.9.jar
file.reference.commons-logging-1.2.jar=libs\\commons-logging-1.2.jar
file.reference.boxable-1.5-RC.jar=libs/boxable-1.5-RC.jar
file.reference.commons-codec-1.11.jar=libs/commons-codec-1.11.jar
file.reference.commons-codec-1.9.jar=libs/commons-codec-1.9.jar
file.reference.commons-csv-1.4.jar=libs/commons-csv-1.4.jar
file.reference.commons-lang3-3.9.jar=libs/commons-lang3-3.9.jar
file.reference.commons-logging-1.2.jar=libs/commons-logging-1.2.jar
file.reference.derby.jar=libs/derby.jar
file.reference.derbyclient.jar=libs/derbyclient.jar
file.reference.dom4j-1.6.jar=libs/dom4j-1.6.jar
file.reference.fontawesomefx-commons-8.15.jar=libs\\fontawesomefx-commons-8.15.jar
file.reference.fontawesomefx-fontawesome-4.7.0-5.jar=libs\\fontawesomefx-fontawesome-4.7.0-5.jar
file.reference.fontbox-2.0.4.jar=libs\\fontbox-2.0.4.jar
Expand All @@ -50,14 +52,18 @@ file.reference.jfoenix-8.0.4.jar=libs/jfoenix-8.0.4.jar
file.reference.log4j-api-2.11.0.jar=libs\\log4j-api-2.11.0.jar
file.reference.log4j-core-2.11.0.jar=libs\\log4j-core-2.11.0.jar
file.reference.pdfbox-2.0.3.jar=libs\\pdfbox-2.0.3.jar
file.reference.poi-3.11.jar=libs/poi-3.11.jar
file.reference.poi-ooxml-3.11.jar=libs/poi-ooxml-3.11.jar
file.reference.poi-ooxml-schemas-3.11.jar=libs/poi-ooxml-schemas-3.11.jar
file.reference.slf4j-api-1.7.25.jar=libs\\slf4j-api-1.7.25.jar
file.reference.slf4j-simple-1.7.25.jar=libs\\slf4j-simple-1.7.25.jar
file.reference.stax-api-1.0.1.jar=libs/stax-api-1.0.1.jar
file.reference.xmlbeans-2.3.0.jar=libs/xmlbeans-2.3.0.jar
includes=**
# Non-JavaFX jar file creation is deactivated in JavaFX 2.0+ projects
jar.archive.disabled=true
jar.compress=false
javac.classpath=\
${javafx.classpath.extension}:\
${file.reference.derby.jar}:\
${file.reference.derbyclient.jar}:\
${file.reference.gson-2.8.1.jar}:\
Expand All @@ -76,7 +82,20 @@ javac.classpath=\
${file.reference.log4j-api-2.11.0.jar}:\
${file.reference.log4j-core-2.11.0.jar}:\
${file.reference.javax.mail-1.6.1.jar}:\
${file.reference.commons-lang3-3.9.jar}
${file.reference.commons-lang3-3.9.jar}:\
${javafx.classpath.extension}:\
${file.reference.boxable-1.5-RC.jar}:\
${file.reference.commons-codec-1.11.jar}:\
${file.reference.commons-codec-1.9.jar}:\
${file.reference.commons-csv-1.4.jar}:\
${file.reference.commons-lang3-3.9.jar}:\
${file.reference.commons-logging-1.2.jar}:\
${file.reference.poi-3.11.jar}:\
${file.reference.poi-ooxml-3.11.jar}:\
${file.reference.poi-ooxml-schemas-3.11.jar}:\
${file.reference.dom4j-1.6.jar}:\
${file.reference.stax-api-1.0.1.jar}:\
${file.reference.xmlbeans-2.3.0.jar}
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
Expand All @@ -97,6 +116,7 @@ javac.test.processorpath=\
javadoc.additionalparam=
javadoc.author=false
javadoc.encoding=${source.encoding}
javadoc.html5=false
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
Expand Down Expand Up @@ -144,6 +164,8 @@ javafx.run.width=800
javafx.signing.blob=false
javafx.signing.enabled=false
javafx.signing.type=notsigned
jlink.launcher=false
jlink.launcher.name=Library_Assistant
# Pre-JavaFX 2.0 WebStart is deactivated in JavaFX 2.0+ projects
jnlp.enabled=false
# Main class for Java launcher
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import com.jfoenix.controls.JFXButton?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>

<AnchorPane id="AnchorPane" prefHeight="247.0" prefWidth="525.0" styleClass="custom-pane" stylesheets="@../../../../resources/dark-theme.css" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1" fx:controller="library.assistant.ui.about.AboutController">
<children>
<ImageView fitHeight="154.0" fitWidth="247.0" layoutX="-12.0" layoutY="65.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../../../../resources/gc.png" />
</image>
</ImageView>
<Text fontSmoothingType="LCD" layoutX="87.0" layoutY="228.0" strokeType="OUTSIDE" strokeWidth="0.0" styleClass="about-text" text="Built with love and couple of lines of code" textAlignment="CENTER">
<font>
<Font size="19.0" />
</font>
</Text>
<VBox layoutX="231.0" layoutY="18.0" spacing="5.0">
<children>
<JFXButton onAction="#loadYoutubeChannel" prefHeight="40.0" prefWidth="269.0" styleClass="about-button" text="YouTube Channel" />
<JFXButton onAction="#loadBlog" prefHeight="40.0" prefWidth="269.0" styleClass="about-button" text="Blog" />
<JFXButton onAction="#loadLinkedIN" prefHeight="40.0" prefWidth="269.0" styleClass="about-button" text="Linked In" />
<JFXButton onAction="#loadFacebook" prefHeight="40.0" prefWidth="269.0" styleClass="about-button" text="Personal Facebook Page" />
</children>
</VBox>
</children>
</AnchorPane>
Binary file not shown.
Binary file not shown.
Loading