return ( double ) screenSize.getWidth() / ( double ) screenSize.getHeight();
return screenSize.getWidth() / screenSize.getHeight();
    public double getAspectRatio()    {        Toolkit tk = Toolkit.getDefaultToolkit();        Dimension screenSize = tk.getScreenSize();        return ( double ) screenSize.getWidth() / ( double ) screenSize.getHeight();    }