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

Animated Line for sorting

 
Kalabaw moo
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created an applet that will show the graphical representation of bubble sort but the problem is it's not showing the correct presentation of bubble sort. I still have problems with this code it would be better if you could help me with those as well. If I clear the graphics using the getClearRect it's flickering, If I remove it, it doesn't flicker but it's not showing the correct presentation of sort.



Anybody would like to give any idea?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's nothing applet-specific about the question, so I'm moving it to the Swing/GUI forum.
 
Kalabaw moo
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks, I already resolved it using backbuffering
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic