if(PlatformManager.JAVA_VERSION>=PlatformManager.JAVA_1_4)
if(PlatformManager.JAVA_VERSION>=PlatformManager.JAVA_1_5)
    public void popup() {        // Update root folders in case new drives were mounted        rootFolders = RootFolders.getRootFolders();        popupMenu = new JPopupMenu();        popupMenu.addPopupMenuListener(this);        menuItems = new Vector();        // Add root 'drives'        int nbRoots = rootFolders.length;        // Retreive and use system drives icons under Windows only, icons looks like crap under Mac OS X,        // and most likely also look like crap under Linux (untested though)        if(PlatformManager.isWindowsFamily()) {            FileSystemView fileSystemView = FileSystemView.getFileSystemView();            for(int i=0; i<nbRoots; i++) {                Icon driveIcon = null;                // FileSystemView.getSystemIcon is only available in Java 1.4 and up                if(PlatformManager.JAVA_VERSION>=PlatformManager.JAVA_1_4)                    driveIcon = fileSystemView.getSystemIcon(new java.io.File(rootFolders[i].getAbsolutePath()));                addMenuItem(rootFolders[i].getName(), driveIcon);            }        }        // For any OS other than Windows        else {            for(int i=0; i<nbRoots; i++)                addMenuItem(rootFolders[i].getName());        }        popupMenu.add(new JSeparator());        // Add boookmarks		        this.bookmarksOffset = menuItems.size();		        this.bookmarks = BookmarkManager.getBookmarks();        int nbBookmarks = bookmarks.size();		        if(nbBookmarks>0) {            for(int i=0; i<nbBookmarks; i++)                addMenuItem(((Bookmark)bookmarks.elementAt(i)).getName());        }        else {            // No bookmark : add a disabled menu item saying there is no bookmark            addMenuItem(Translator.get("bookmarks_menu.no_bookmark")).setEnabled(false);        }        popupMenu.add(new JSeparator());        // Add 'connect to server' shortcuts        this.serverShortcutsOffset = menuItems.size();        addMenuItem("SMB...");        addMenuItem("FTP...");        addMenuItem("SFTP...");        addMenuItem("HTTP...");        // Popup up the menu underneath under this button        popupMenu.show(this, 0, getHeight());        // Focus MUST NOT be requested on the popup menu because        // a/ it's not necessary, it grabs focus itself        // b/ creates a weird bug under windows which prevents enter key from selecting any menu item        //		FocusRequester.requestFocus(popupMenu);    }