Giter Site home page Giter Site logo

pmcder / claim-notes Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 88 KB

Clone of a property-casualty insurance company claim notes system. This notes system would be one component of a claims management system used for auto, home, or workers comp claims.

Java 100.00%
insurance insurance-claims

claim-notes's Introduction

Overview

This is a clone of an property/casualty insurance company claims management system's claim notes feature. Claims representatives would use this feature to add, edit, and read claim file notes. Claim file notes are the primary way that claims handling activities are documented. Any time an adjuster opens a claim file they type a note. A typical note might summarize a phone call to an insured, a police report, or the conclusion of a liability investigation.

Running the project

You will need to build the database.The sql scripts to do so are in claim_notes_app.db.sql The current database url in the repositories is jdbc:postgresql://localhost/claim_notes_db and the driver is Postgres so you will need to edit that if you are not using Postgres or the path to your db is different.

You can run the project from your ide from display.DisplayMain.java

Running with Maven

App is currently throwing an exception when connecting to the database. See issues. other than that, can be run with maven by cd'ing into project directory and running mvn clean package java -jar target/

Contributing

I built this project as a simple, easy to understand implementation. Please feel free to contribute to it. It is a great beginner Java project. There are several enhancements needed to make all buttons fully functional that should only take a few lines of code.

claim-notes's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

israeldago

claim-notes's Issues

Postgres driver not loading when running jar

There is an error loading the Postgres driver when running with java -jar.

java.lang.ClassNotFoundException: org.postgresql.Driver
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:333)
at repositories.ClaimNoteRepository.findAllByClaimId(ClaimNoteRepository.java:84)
at services.ClaimNoteService.getNotesByClaimId(ClaimNoteService.java:18)
at display.NotePanelFactory.getClaimNotePanel(NotePanelFactory.java:31)
at display.ClaimNotesFrame.(ClaimNotesFrame.java:57)
at display.DisplayMain$1.run(DisplayMain.java:20)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

a better refresh implementation is needed

Currently after a user adds a new note, the whole application is essentially restarting so that the new note will display.
The OK button on the AddNote class calls a static method in DisplayMain.java that disposes the current ClaimNotesFrame (the app's main GUI window) and instantiates a new. A better implementation is needed that doesn't involve disposing and re-instantiating the whole GUI.

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.