protected Graphics getDefaultContainer()
        {
            if (APEngine.getDefaultContainer() == null)
            {
                String err = "";
                err += "You must set the defaultContainer property of the APEngine class ";
                err += "if you wish to use the default paint methods of the constraints";
                throw new Error1();
            }
            Graphics parentContainer = APEngine.getDefaultContainer();

            return(parentContainer);
        }
        public Graphics getDefaultContainer()
        {
            if (APEngine.getDefaultContainer() == null)
            {
                String err = "";
                err += "You must set the defaultContainer property of the APEngine class ";
                err += "if you wish to use the default paint methods of the particles";
                throw new Error1();
                //](err)
            }
            Graphics parentContainer = APEngine.getDefaultContainer();

            return(parentContainer);
        }