GithubHelp home page GithubHelp logo

ag2307 / core-java-project Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 15.0 6.66 MB

Hospital Management System (HMS) using awt ,swings, JDBC and mysql

Java 100.00%
java swing jdbc mysql awt hospital-management

core-java-project's Introduction

Core-Java-Project (HMS)

Core Java Project on Hospital Management System (HMS) using awt ,swings, JDBC and mysql. Happy to get some valuable suggestions regarding the project. ๐Ÿ˜„

Tested on Windows OS only as of now. But feel free to contact me for any problems on Linux systems.

Jar file added.

Driver class added

๐Ÿ‘‰ To run the project you should have a java compiler, java path set in your system, jdbc driver (driver class) and mysql. JDBC driver and Javacreator setup is provided in the repository. Ensure that classpath is set for the jdbc-driver-class jar file. Like in my case classpath variable is C:\Program Files (x86)\MySQL\mysql-connector-java-5.1.12-bin.jar

๐Ÿ‘‰ Firstly create an empty database in your mysql with name hms. If you want some other name for the database then you have to change name of the database in file DConnection.java also.

๐Ÿ‘‰ Images folder should be in the same folder in which all java files are kept.

๐Ÿ‘‰ To compile all java files in the same folder.

  • Open cmd in that folder in which all java files are kept.

  • Type javac -d . *.java (Put space between all four parameters)

           javac - compiles all java files
            -d   - compiled files are send into a folder
             .   - current directory
          *.java - compiling all files together

Done ๐Ÿป

๐Ÿ‘‰ To run the project: Suppose your directory name is hms which consists of all .java files, so after compilation a new directory inside this hms directory will get formed with same name i.e. "hms" and that will contain all your .class files. Now to run the java program, be in the parent "hms" directory and run command java hms.FrmSplash and that will run the project from the Splash screen.

๐Ÿ‘‰ If you don't want to run the project starting again with splash screen then uncomment the following in the file FrmMainFrame.java and in place of kb type your login username.
(If hms.sql is used to store database in mySQL, then Username is kb and Password is 12345678)

public static void main(String [] args)
{
	  new FrmMainFrame("kb"); 
}

Then start running the project by typing java hms.FrmMainFrame

core-java-project's People

Contributors

ag2307 avatar

Stargazers

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

Watchers

 avatar

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.