void RemovePressed () {
private void RemovePressed () {
    void RemovePressed ()    {        table=table2;        if ((table2.getSelectedRow ()==-1)) return;        if (JOptionPane.showConfirmDialog (null,"Do you really want to do this? Are you sure?","Remove Driver?",JOptionPane.YES_NO_OPTION) == JOptionPane.NO_OPTION) return;        try        {            device.removeDriver(table2.getSelectedRow ());	   ((DeviceDetailsTableModel)table.getModel ()).fireTableDataChanged ();            table2.repaint ();	    revalidateLibraries();        }catch (Exception e)        {}    }