Guys,i have to develop a simulator for Merge sort algo in java.I'm familiar with Java.But i have no idea how to do that.Java applet is easy? or it can be done as a Desktop app.My idea is to do as a desktop application.The programme should allow user to input a value & according to that Algorithm should show the step by step how the algorithm is working.Please help me.......

Recommended Answers

All 4 Replies

What are your ideas for showing the moving of elements in the list as they are being sorted?

That's the my problem also.Because i know how to develop the source code and other stuff.My problem is how it shows as an animation.If it's just an animation i can do it.But the issue is the user should be able to insert a value and watch the procedure.

Like this:
http://en.wikipedia.org/wiki/File:Merge-sort-example-300px.gif

Start without the user entered data. Do it with data you put in the program.
The user entering the data is a separate issue and can be done later.

Ok......Thnx.....i'll try that way.....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.