faderPortWas=faderPort;
faderPortWas=appConfig.getFaderPort();
    public void init ()    {        installedLF =  UIManager.getInstalledLookAndFeels ();        try        {UIManager.setLookAndFeel (installedLF[lookAndFeel].getClassName ());}catch (Exception e)        {};        JPanel container= new JPanel ();        container.setLayout (new BorderLayout ());        JTabbedPane jtp=new JTabbedPane ();        jtp.addTab ("General",makeCard0 ());        jtp.addTab ("Directories",makeCard1 ());        jtp.addTab ("Midi",makeCard2 ());        jtp.addTab ("Fader Box",makeCard3 ());                jtp.addChangeListener (new ChangeListener ()        {            public void stateChanged (ChangeEvent e)            {                //System.out.println ("Tab changed: "+((JTabbedPane)e.getSource ()).getSelectedIndex ());            }        });        container.add (jtp,BorderLayout.NORTH);        JPanel buttonPanel = new JPanel ();        buttonPanel.setLayout ( new FlowLayout (FlowLayout.CENTER) );                JButton ok = new JButton ("OK");        ok.addActionListener (new ActionListener ()        {            public void actionPerformed (ActionEvent e)            {                OKPressed ();            }        });        buttonPanel.add ( ok );                        getRootPane ().setDefaultButton (ok);                container.add (buttonPanel, BorderLayout.SOUTH);        getContentPane ().add (container);        // setSize(400,300);        pack ();        centerDialog ();        faderPortWas=faderPort;    }