Hello all first post here,
Recently i made a simple java application that connects to a local database and gets contact information. You can edit the info and add new contacts as well as save it to the database. This was all nice since i made it in NetBeans and it was quite easy really since it took few click and the code is generated. But now i have to make the whole thing again but this time in Eclipse and from scratch (as far as the connection goes). I'm using Eclipse Helios 3.6.2 version btw. So i downloaded the WindowBuilder v 1.2.0 and started designing the application. Unfortunately i don't have knowledge on how to bind the columns and the rows, because i only know the basics of java. So my questions are:
1. First i created the JScrollPane for the table. When adding the JTable inside i get three spaces on where to add the table. I am guessing that viewpoint is the one i need? And how do i get the names of the columns?
2. Which packages can i use for the binding of the columns from the database to the table? If that is what i need at all since i am confused with the entityManger and what it does. ?
An example will be nice as well . That's all for now back to reading and looking at some code.
Recently i made a simple java application that connects to a local database and gets contact information. You can edit the info and add new contacts as well as save it to the database. This was all nice since i made it in NetBeans and it was quite easy really since it took few click and the code is generated. But now i have to make the whole thing again but this time in Eclipse and from scratch (as far as the connection goes). I'm using Eclipse Helios 3.6.2 version btw. So i downloaded the WindowBuilder v 1.2.0 and started designing the application. Unfortunately i don't have knowledge on how to bind the columns and the rows, because i only know the basics of java. So my questions are:
1. First i created the JScrollPane for the table. When adding the JTable inside i get three spaces on where to add the table. I am guessing that viewpoint is the one i need? And how do i get the names of the columns?
2. Which packages can i use for the binding of the columns from the database to the table? If that is what i need at all since i am confused with the entityManger and what it does. ?
An example will be nice as well . That's all for now back to reading and looking at some code.