Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading Image from db done !! Problem with byte array to Image

 
Ashutosh khanna
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34974
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ashutosh,
Welcome to JavaRanch!

What error message are you getting?
 
Ashutosh khanna
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for replying.

The thing is that i am not getting any image in the frame.. no errors.

and i have printed the contents of the byte array on console just the check whether it is empty.

instead of a dry run... why don't you try with your database ?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34974
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ashutosh,
I don't follow. When you print the byte array, is it empty or does it output bytes?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic