Prefuse example graph partly outside of JPanel
问题 I want to use Prefuse to visualise a graph. I followed their tutorial and tried their sample application. Its sourcecode can be found here However, even if I simply copy the full code, the resulting graph does not look as displayed in the tutorial. It is only half visible, stuck in JPanel's upper left corner. Some parts of it are missing becuase they would have to be displayed outside the panel. I tried with some graphs of my own, but I keep running into the same phenomenon. I suppose this is