Giter Club home page Giter Club logo

library-assistant's Introduction

Hi, I'm Afsal Villan - aka Genuine Coder πŸ‘‹

YouTube Channel Subscribers Blog Portfolio

I'm a full stack developer, engineer, and technophile

  • ❀️ I love Java and JavaFX!
  • πŸ’» 13+ years of Desktop and Mobile development experience
  • πŸ”— You can find more about me in my portfolio

Languages and Tools

GenuineCoder github stats

library-assistant's People

Contributors

afsalashyana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

library-assistant's Issues

Can`t Open!

i just download the release one,and i can`t open the app in my laptop。
the OS is Windows 10 LTS 2016
java version is 9.0.4

files not found

derby.jar ,derbyclient.jar, jfoenix.jar files are used in the project but these files are not found in the project.

Design patterns improvements

You can try to use a Facade Design Pattern if you want to isolate your code from the other system functionalities to avoid problems in the future and you can a Adapter Desing Pattern if you want to improve your email sender and attempt to send messages or information by other means.

Use of Design Patterns to improve code maintainability

Adapter Pattern.
image
In this snippet of the code i found that if you want to send a message in a different way you should use this design pattern to transform the data and make it possible to use.
image

Singleton Pattern.
If we analyse the project the classes Book, MailServerInfo and Member are in the same package but they are just data for the database. In this case we could use just a single instance of an object to encapsulate this fields, that's why we use the singleton pattern.
image

PropertyNotFoundException with JFXTextField

Hi,

Thank you so much for such a good project. I am following your YouTube series for this Library Assistant to learn javaFX. I am new to this whole world so please excuse me for any silly questions :)

The problem I am facing is that the moment I set Margin for my JFXTextField in SceneBuilder, save and close the SceneBuilder. My fxml document is updated to show me these properties but when I try to open that fxml document again via Eclipse by simply using option in Eclipse on my fxml file saying "Open with Scene Builder", the Scene Builder throws following error:

java.io.IOException: javafx.fxml.LoadException:
/C:/Users/snoman/workspace/JavaFX/Library%20Assistant/src/library/assistant/ui/addbook/FXMLDocument.fxml:15

at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:92)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.<init>(FXOMDocument.java:80)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.<init>(FXOMDocument.java:95)
at com.oracle.javafx.scenebuilder.kit.editor.EditorController.updateFxomDocument(EditorController.java:2370)
at com.oracle.javafx.scenebuilder.kit.editor.EditorController.setFxmlTextAndLocation(EditorController.java:655)
at com.oracle.javafx.scenebuilder.app.DocumentWindowController.loadFromFile(DocumentWindowController.java:386)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.performOpenFiles(SceneBuilderApp.java:579)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.handleOpenFilesAction(SceneBuilderApp.java:447)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.handleLaunch(SceneBuilderApp.java:427)
at com.oracle.javafx.scenebuilder.app.AppPlatform.requestStartGeneric(AppPlatform.java:139)
at com.oracle.javafx.scenebuilder.app.AppPlatform.requestStart(AppPlatform.java:106)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.start(SceneBuilderApp.java:371)
at com.sun.javafx.application.LauncherImpl$8.run(LauncherImpl.java:837)
at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:335)
at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:301)
at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:298)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:298)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
at com.sun.glass.ui.win.WinApplication$4$1.run(WinApplication.java:112)
at java.lang.Thread.run(Thread.java:744)

Caused by: javafx.fxml.LoadException:
/C:/Users/snoman/workspace/JavaFX/Library%20Assistant/src/library/assistant/ui/addbook/FXMLDocument.fxml:15

at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2617)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2595)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:89)
... 22 more

Caused by: com.sun.javafx.fxml.PropertyNotFoundException: Static property "margin" does not exist or is read-only.
at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:595)
at javafx.fxml.FXMLLoader$PropertyElement.set(FXMLLoader.java:1414)
at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:784)
at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2839)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2532)
... 24 more

Here is my fxml file code and I am using the latest jfoenix jar version 8.0.8 which I downloaded from https://github.com/jfoenixadmin/JFoenix

myFXMLFileCode.txt

ErrorStack_JFXTextField.txt

I will be grateful to you if you help me in resolving this issue. Thanks a lot.

I can't open fxml file

details: ClassNotFoundException: com.jfoenix.controls.JFXButton
but i can run the project...
I sure,I have imported jfoenix-8.0.4.jar

Importing database

Can you please add a function to load books and member data from csv or some database file. It would be a lot easier.

Build issue

I am trying to build the project from the source code but I am facing the issue where I cannot build it. It would be great if you could provide instructions on how to build the project in the readme or another file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.