Hi mailing-list,

Anybody can tell me why this code fragment doesn't works?

public class OpenFileController {

  private ModelLoader dxfLoader;
  private MyInternalFrame frame;

  public OpenFileController(String archiveName) {

  dxfLoader = new ModelLoader();

  Scene sceneExported = null;

  try {
      sceneExported = dxfLoader.load(archiveName); //here the compiler
  }                                //says:java.lang.NullPointerException
  catch(FileNotFoundException e){
    System.err.println( e );
    System.exit(1)
.....}

I'm using every important(an necessary packages) packages of NCSA portfolio
but the ModelLoader doesn't work when i want ot load DXF
(AutoCad release 12)Files.

Thanx!!!

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to