Subject is much too long and could be shortened from:
Why does my program return the error, The method createScreenCapture(java.awt.Rectangle) in the type Robot is not applicable for the arguments (Rectangle)?
To:
Help with error in Robot class and createScreenCapture() method
one of the important things about topic titles is that they include “searchable” keywords so that others who may have a similar question at a later date can find previous topics in the database of topics.
It saves time for people seeking answers as well as those providing answers.
Your topic line is now super generic and not really findable for others. GLV’s suggested topic line uses relevant keywords and is therefore findable.
Just something to keep in mind going forward…