public static void configure()
    {
        /**
         * Loads the config file
         */

        String line;
        try
        {
            BufferedReader reader = new BufferedReader(new InputStreamReader(STTheme.class.getResourceAsStream(getRootPath()
                + "/config.txt")));
            while ((line = reader.readLine()) != null)
            {
                String split[] = line.split("=");

                if (split[0].equals("width"))
                    setWidth(Integer.parseInt(split[1]));
                else if (split[0].equals("height"))
                    setHeight(Integer.parseInt(split[1]));
            }
        } catch (FileNotFoundException e)
        {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } catch (IOException e)
        {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

    }