private static void readPreferences()
 {
     InputStream iss = null;
     try
     {
         iss = new FileInputStream();
         setPreferences(new Properties(getPreferences()));
         getPreferences();
     }
     catch (IOException e)
     {
         try
         {
             if (iss != null)
                 iss.close();
         }
         catch (IOException e1)
         {
         }
     }
 }
        private static void readPreferences()
        {
            InputStream iss = null;

            try
            {
                iss = new FileInputStream();
                setPreferences(new Properties(getPreferences()));
                getPreferences();
            }
            catch (IOException e)
            {
                try
                {
                    if (iss != null)
                    {
                        iss.close();
                    }
                }
                catch (IOException e1)
                {
                }
            }
        }