free web hosting | website hosting | Web Hosting | Free Website Submission | shopping cart | Coaching Institute | php hosting
affordable web hosting Pets web page hosting web hosting website hosting web hosting service web hosting web host
Edit Properties with JTable

Edit Properties with JTable

No matter what anyone says, Java makes life easier. Java provides you with simple and elegant solutions to some of the problems in life. This page will show how to use the javax.swing.JTable class and the actual use of the class in the application program.

With this simple JTable constructor, any array can be put into a table. Modification to the data is much more intuitive with the GUI when aligned in a table.

Shown below is a still image of Java application EditProperties, which uses the above function calls. The table contains the name of the properties and their values, which can be modified within each cell of the table. Press Save button when you finish the edit and the properties will be returned. Click the link below for the jar file.

Download: easai.jar Source: EditProperties.java

In the application EditProperties above, there is one more line added to reflect the changes to the table.

Please refer to Class Properties: How to Manage Class Variables page on how to save and load the property values.

Let's not reinvent the wheel. Let's explore the world that Java can offer, with its rich sets of program libraries and extendable object oriented paradigm.


Return to Home Page
Erica Asai
Last Modified: Fri Jan 25 06:51:28 2008