Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem changing images  RSS feed

 
Dari Cruz
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello,

I writting a program where I upload pictures from students, i mean one student can have many pictures. I save all those pictures path into the database. I have a panel where you can watch the pictures on a label. I create an ImageIcon(image.path) and put it into the label. I try to see the pictures one by one with a preview and next button. The problem is that when you go to the next picture if the picture is to heavy it goes really really slow, and sometimes it gives an out of bound of memory error.

Please I need help, i need to finish this by tomorrow.

Thanks,

Dario
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To get better help sooner, post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem.

Please I need help, i need to finish this by tomorrow.

EaseUp
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:
Please I need help, i need to finish this by tomorrow.

EaseUp

Agreed. If you have a problem that you need to solve "ASAP" or "by tomorrow", you probably started too late.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!