I need to replace one word (REPLACE with MODULATE) within the StdDraw3D.java file. I have opened the jar jd-gui and am pretty stuck now. I have been looking for videos or websites and cant quite find a way to do it. Any help would be greatly appreciated. I have not copy paste the code as i don't need help with code just how to edit or replace the original java file.
Asked
Active
Viewed 274 times
-1
-
aaaaaand how exactly is this related to C#...? – Franz Gleichmann Mar 29 '20 at 18:27
-
I removed the c# tag since it doesn't seem relevant. – Antimony Mar 29 '20 at 18:39
2 Answers
2
You have to download the complete source code for StdDraw.jar, update the required java file and rebuild the code again to get the updated jar file. Then use the updated jar in your project.

Naqi
- 252
- 1
- 2
- 10
0
Steps:- 1. Download the StdDraw.jar
Extract the jar file in folder by right click on it and click on extract.
Copy the StdDraw3D.java file and edit and make required changes then compile it again. Then copy the changed class and java files in the above folder.
Now again create jar file out of that folder.

Harshit Gupta
- 11
- 4