* @param file
* @param password
*/
public void addTab(File file, String password){
try{
if (file!=null && file.exists() && new PdfFilter(false).accept(file)){
JVisualPdfPageSelectionPanel inputPanel = new JVisualPdfPageSelectionPanel(JVisualPdfPageSelectionPanel.HORIZONTAL_ORIENTATION, true, false, false, JVisualPdfPageSelectionPanel.STYLE_TOP_PANEL_HIDE, JVisualPdfPageSelectionPanel.DND_SUPPORT_NONE, JVisualPdfPageSelectionPanel.MULTIPLE_INTERVAL_SELECTION);
inputPanel.getThumbnailList().setTransferHandler(new ClosableTabTransferHandler(this));
if(outputPathPropertyChangeListener!=null){
inputPanel.enableSetOutputPathMenuItem();
inputPanel.addPropertyChangeListener(outputPathPropertyChangeListener);