public void setAsset(String relativePath) {
        audioPanel.clearAudio();
        audioPanel.setVisible(false);
        scriptPanel.setVisible(false);
        graphicsPanel.setVisible(false);
        //assetContainer.removeAll();
        if(relativePath == null){
            return;
        }
        //textAreaScrollPane.setVisible(false);
        //audioContainer.setVisible(false);
        //String relativePath = ((FilePathTreeItem)assetTree.getCurrentItem()).getFilePath();
        //String assetPath = new File(ProjectMgr.getAssetsPath(), relativePath).getAbsolutePath();

        //boolean isSound = folderList.getCurrentItem().getText().equals("Sounds");
        
        File file = new File(ProjectMgr.getAssetsPath(), relativePath);
        
        String ext = FilenameUtils.getExtension(file.getName());
        
        if(Cst.VALID_IMAGE_FORMAT.contains(ext)){
            graphicsPanel.setAsset(file);
        }
        else if(Cst.VALID_SOUND_FORMAT.contains(ext)){
            boolean isSound = folderList.getCurrentItem().getText().equals("Sounds");
            audioPanel.setAsset(file, isSound);
        }
        else if(Cst.VALID_SCRIPT_FORMAT.contains(ext)){
            scriptPanel.setAsset(file);
        }
        
    }