This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Animated Line for sorting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Animated Line for sorting" Watch "Animated Line for sorting" New topic
Author

Animated Line for sorting

Kalabaw moo
Ranch Hand

Joined: May 26, 2009
Posts: 61
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

Joined: Mar 22, 2005
Posts: 42958
    
  73
There's nothing applet-specific about the question, so I'm moving it to the Swing/GUI forum.
Kalabaw moo
Ranch Hand

Joined: May 26, 2009
Posts: 61
thanks, I already resolved it using backbuffering
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Animated Line for sorting
 
jQuery in Action, 3rd edition