Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Vivek Moyal

Ranch Hand
+ Follow
since Nov 02, 2009
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vivek Moyal

Hello I want to make a barcode generator and a reader in java so how i can make it .
11 years ago
Hello no ans from 3 days please help me in this application
I got the whole record but now the problem is this that one database row is in one column another is in another column

like this

FirstName LastName Address
Jhon,Doug Pheliipe,Marsh Katie,Price

Getting the whole record but one record is in one column and another is in another column record is whole but it is not distributed according to the columns
12 years ago
If I use this code i got nothing

And if I use this code

I got this
[[Ljava.lang.String;@1bf216a, [Ljava.lang.String;@12ac982]
[[Ljava.lang.String;@1bf216a, [Ljava.lang.String;@12ac982, [Ljava.lang.String;@1389e4]
[[Ljava.lang.String;@1bf216a, [Ljava.lang.String;@12ac982, [Ljava.lang.String;@1389e4, [Ljava.lang.String;@c20e24]
[[Ljava.lang.String;@1bf216a, [Ljava.lang.String;@12ac982, [Ljava.lang.String;@1389e4, [Ljava.lang.String;@c20e24, [Ljava.lang.String;@2e7263]
[[Ljava.lang.String;@1bf216a, [Ljava.lang.String;@12ac982, [Ljava.lang.String;@1389e4, [Ljava.lang.String;@c20e24, [Ljava.lang.String;@2e7263, [Ljava.lang.String;@157f0dc]

At last if I use this code than i will get the last record

12 years ago
You are saying that my database code is ok and in different thread of swing everyone is said that the code is ok so please tell me where is the problem than
You are saying that my Swing code is ok and in different thread of JDBC everyone is said that the code is ok so please tell me where is the problem than
12 years ago
thank you
12 years ago
if it is possible to open the cdrom without pushing the button than it is also possible to on the cpu without pushing the button because restart is also work without the pushing so how I can do this
12 years ago
I have done my codeing and when i run it it shows only last record so please help my database code is this

My Gui code is this

12 years ago
Sorry sir you take it in a wrong sence because if you see above than I have done with my code and still having the same problem so that at last I have said this I dont want to give you an order i just need your help to complete this because i have same problem what I have on the first day when I have created this topic

so if you want to see the code than you can see it above so now please help me
Sir it will b good if you will write the code that how i will get the whole list in Jtable because i have to submit my assignment because right now i can't wait for more testing and disscussion


by using your example
Now i am getting only this and table is also showing this not the records
Not getting the whole list just getting the last row and also getting records like that


I am new to Jtable its my first time so having difficulties now i have tried to get the list in ArrayList and Vector but still have the same problem
I am using Vector because it is directly accessible to DefaultTableModel.addRow()

I am getting last record only in the jtable my code is here

When i put this list in my table model

it shows the last record of the database