Posts

Showing posts from August, 2016

HOW TO CONNECT A JAVA APPLICATION WITH MYSQL DATABASE

Data Base Connectivity with Java Applications So in this post I will explain how to connect Database with a java application.That is, I will create a java application that contains to GUIs,one is login and other is Signup.And also create a database.This simple application Allows a user to create a account i e signup  and the user can login with his/her username and password.(For creating java application i uses Netbeans and for Database I uses the WAMP server). Step 1: Open Neatbeans File > New Project > Java  > Java Application  (Give the project name and press Finish) Step 2 : Expand  the project situated in the Project Explorer window . So you can  see "Source Packages", Right click on source Packages > New > Java package   (Give your package name and press Finish) Step 3 : similarly create a JFrame in that package.For that, Right click on Packages > New > jFrame form (GIve your jframe name and press Finis