public Sample3D(Listener listener, URL url){ this(url); this.listener=listener;
public Sample3D(String file){ LoggingSystem.getLogger().log(Level.INFO,"Load file:"+file); buffer=SampleLoader.loadBuffer(file); generateSource();
    public Sample3D(Listener listener, URL url){                this(url);        this.listener=listener;    }