• Post Reply Bookmark Topic Watch Topic
  • New Topic

My frame is not repainting the components

 
tanu dua
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have prepared one program for encryption and decryption.
The problem i am facing is that when i minimise and then restoring the application while the file is being encrypted i can only see the skeleton of the frane i.e the components within the frame is not visible.
Can anyone solve my problem as soon as possible as i have to submit my project by April.Please help me.
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
moving this to the Swing/JFC/AWT forum where its more appropriate. Please continue the discussion there.
 
Fuqiang Zhao
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems that you do the encryption and decryption in Event Dispatch Thread,
you should create other thread to do the time consume work.
 
tanu dua
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So its confirm that since its a time consuming work the frame is not responding,also i m facing one more problem the progress bar is not running,so the same reason might be for the progress bar i suppose.Please continue the discussion.
 
Fuqiang Zhao
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post you code, please!
 
tanu dua
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx for ur support,actually i m quite new to Java,i have started Java 2 months ago.So first i ll try myself and if ill face any problem i ll take ur help.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!