fd.show();
fd.setVisible(true);
    public void boardLoad() {        FileDialog fd = new FileDialog(this, "Load Board...", FileDialog.LOAD);        fd.setDirectory("data" + File.separator + "boards");        if ( boardName.getText().length() > 0 ) {            fd.setFile( boardName.getText() );        }        fd.setLocation(this.getLocation().x + 150, this.getLocation().y + 100);        fd.show();                if(fd.getFile() == null) {            // I want a file, y'know!            return;        }        String curpath = fd.getDirectory();        String curfile = fd.getFile();        // load!        try {            InputStream is = new FileInputStream(new File(curpath, curfile));            board.load(is);            // okay, done!            is.close();            // Record the file's name.            boardName.setText( curfile );            // Enable the send button.            butSend.setEnabled( true );        } catch(IOException ex) {            System.err.println("error opening file to save!");            System.err.println(ex);        }    }