2021222324252627282930
public adtJ3DVisual(adt rADTFile) { obj = rADTFile; setLayout(new BorderLayout()); if(hasJ3D()) { add(new Display3D( obj ), BorderLayout.CENTER); } else { add( new JLabel("Unable to show preview because J3D is not installed"), BorderLayout.CENTER