This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Originally posted by Miranga: Hi, i have a oracle table with 3 columns. i want to populate a JTable by retrieving data from the oracle table. it should populate dynamicaly
Start by writing a single object that does nothing but connect to Oracle and return the data in an object or data structure. (No Swing or JTable needed.) Once you have that working perfectly you can write you Swing UI and have it call your persistence object's methods and display the data that comes back.
Decomposition is always the best way to attack a complex problem. Make the smaller parts work correctly and then knit them together to solve the original problem.
Discussion about the naming convention should take place in the JavaRanch forum. My own display name was validated almost 9000 posts ago and is really none of your concern. "Miranga" will need to change his or her display name or the account will be closed.