The current version does not allow scrolling if the ScrollPane is unselected unless the scrollbar is clicked. Note that the code is referenced from part 4 of the guide.
Using ChatGPT, I find that this fix works by changing the way we automatically scroll to the bottom, but I do not fully understand why the initial version will cause the above issue.
The current version does not allow scrolling if the ScrollPane is unselected unless the scrollbar is clicked. Note that the code is referenced from part 4 of the guide.
Using ChatGPT, I find that this fix works by changing the way we automatically scroll to the bottom, but I do not fully understand why the initial version will cause the above issue.
MainWindow.java: