![]() Tick mark the Create main class option, and it will create the main class.Give a name to your project ( JavaMySQLConnect in this example). In the next window, it will ask you to enter the project name.Then click on the Next button to proceed.Select Java with Ant in the Categories section and then select Java Application in the Projects section.After that, the New Project dialog box will be opened, where you have to choose the type of project you want to build with NetBeans.( File>New Project ) Connect MySQL to NetBeans – fig – 5 Open NetBeans and click on the New Project under the File Menu section, as shown in the figure below.CITY Connect MySQL to NetBeans – fig – 4Ĭreate table student ( ROLLNO varchar ( 10 ) not null, STUDNAME varchar ( 30 ), DEPT varchar ( 30 ), CITY varchar ( 30 ) ) Creating a Java Application in NetBeans.Now create a database named “studentdb” and a table named “student” inside it with columns. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |