Working off of the Java samples I'm able to load and display CAD files within a JFrame but I get just a black screen when I try to do the same exact thing using the same code within a JDialog. It still tells me the number of loaded entities after loading the file and when I click and drag on the panel it still displays the selection rectangle but the panel is black and doesn't display the loaded entities. Does anyone have any idea what might cause this or if there's a way around it? Thanks.
Java: Can display in a JFrame but get black screen in a JDialog