I am using JUNG to generate some graphs, however I found something weird with the final product where the graph does not paint anything after I click the button to execute on the given data. But it will show up after I resize the frame, or after I click on maximize.
I re-use Tom Nelson's sample code and enhance it a little bit to be able to read input data from database. It has >1k line of codes and am unsure how to paste my code here to give the actual example.
here is the original code: http://logic.cse.unt.edu/tarau/teaching/GraphTheory/jung/src/jung2/jung-samples/src/main/java/edu/uci/ics/jung/samples/EdgeLabelDemo.java
Any advise?