How do I run the JTree.demo at "https://docs.oracle.com/javase/tutorial/uiswing/components/tree.html". It requires some html files which I managed to improvise. However, the program says it cant find the html files. My guess is that may be I placed them in the wrong directory. Where am I supposed to place them? I had placed them in the root directory of the project!
You can put the file any where you want as long as you give the path to the file correctly in the program.
e.g If you put the file in the project folder it will be easy to give relative path.
If you put the file outside the project folder, use absolute path to the file rather than relative path. It would be more convenient