![]() jbutton1 untuk login private void jButton2ActionPerformed(. Package koneksi; import ; import ; import ; import ; import ; ![]() JTextField2 variable name change to = tpas JTextField1 variable name change to = tnama Note, I will be using JPA as the name of my database for this tutorial. From the command line you can just run the following command. In the Project tab, expand IFPWAFCAD, expand WebPages, expand META-INF. In fact, we are going to use SQLite instead. First let’s create a database that we will be using later on. This message occurs because the project uses MySQL and we havent configured NetBeans to work with MySQL. If you have MySQL running, all you have to do is follow the steps below. Libraries–>add library–>MySQL JDBC DriverĬreate new package : A right click on the Source Packages then select New Java Package fill package name with “koneksi” and then press Finish (see figure below): I will be using NetBeans and MySQL database to store data using JPA. Right click-> new->Jfram form will appear ![]() ![]() Create as shown below:Īfter created the database just open his Netbeans select file New ProjectJavaJava user application so that the following picture emerges:įill the Project Name > log and remove the check mark in the Create Main Class and Set as Main ![]() Database can make directly from phpMyAdmin or could open with NetBeans IDE that of phpMyAdmin for database first, here database name “dbperkuliahan” and the name of the table “tblogin”. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |