Text limits in a text frame - hopefully a quick solution

Is there anyway for me to prevent overrun of text in a fixed size text frame (let alone, a presentation slide)? Ideally, I am interested in creating a presentation for if the characters of text go beyond a fix-sized text frame (or slide) I will be able to implement code in Java to generate a new slide within that presentation (with the same features of the previous slide) to be inserted into the fix-sized text frame of the newly created slide. Of course, this will be based upon font type and font size. I've look through the available documentation here on your website and I wasn't able to find anything. If there is something available, please direct me to it.

Thanks,

Jason