{ Frequently Asked Questions }

(2) I am trying to open my data structure with the GDSV, but it keeps giving me an error.
(3) Can edit my code data structure code in the GDSV?
(4) The GDSV is giving me errors when loading my JAVA file.
(5) How can I change the graphics in the GDSV?
(6) Can I load a new data structure class without restarting the GDSV?
(7) Can I reaload my current data structure without restarting the GDSV?

(2) I am trying to open my data structure with the GDSV but it keeps giving me an error.

Check all of the following:

  • Does the data structure implement GenericDataStructureViewable?
  • Does the data structure realize the arrayRepresenationOfDataStructure() method?
  • Have you included the GDSV libraries in your class path?
    • Make sure you have included the GDSV.jar file (found in the GDSV installation folder) to your classpath when compiling.
    • In BlueJ you would do this by selecting Tools -> Preferences -> Libraries Tab -> Add -> and browse for GDSV.jar

If you are getting an error after checking everything above, please e-mail us at gdsv@d3s.net with your problem.

(3) Can I edit my source code in the GDSV?

No. The GDSV does not serve as a coding environment. Thus, the idea is to be coding your data structure using your normal IDE (such as BlueJ or JCreator) and checking your code's correctness with the GDSV. The GDSV can, if you desire, re-load the data structure once you have made changes to it automatically.

(4) The GDSV is giving me errors when loading my JAVA file.

You can only load CLASS files. This means that you must compile your Java code before loading it into the GDSV.

(5) How can I change the graphics in the GDSV?

Currently you can no longer change the graphics in the GDSV.

(6) Can I load a new data structure class without restarting the GDSV?

In the new June 24 edition you cannot. We are implementing this along with other wanted changes in the next release. We just wanted to get a more usable version of the GDSV up for everyone.

(7) Can I reaload my current data structure without restarting the GDSV?

Yes. The GDSV will do it automatically for you.