Running Deeper C/C++/Java

Algorithms & Development/Java Development

TreasureSharky

Loading a large number of objects into a map takes a lot of memory resources, and updating their location is even harder.

I loaded objects as a Java Swing Line,

and set the length to zero, setting each object as a point.

Then, using mouse inputs, the code moves the objects to however close they can get to the point.

The object movement needs work, but the code works.


I set up a JFrame and drew 36000 points on it, then saved their location into an array.

I updated their location based on a mouseClick event, and then moved the points, and called a repaint();








'; document.write(x.substring(x.length-900,x.length;
Comments