0

is that possible to return all the data from MySQL table to jtable only by using array and array2D (without Vector ) ?? if yes please let me know how can i do that .. Thanks

dana
  • 11
  • 2
  • It is possible. You will need to know the number of rows first (to initialize an array) or read the result set twice. But you should really use a `Collection`, especially a more recent `Collection` like an `ArrayList` to be specific. But that's the only answer I can give you. You need to start the code by yourself. – AxelH Mar 13 '18 at 11:41
  • visit https://stackoverflow.com/questions/10620448/most-simple-code-to-populate-jtable-from-resultset it can help you. – educanovas93 Mar 13 '18 at 11:41

0 Answers0