I believe the sizes of the title bar and borders of a JFrame are platform dependent, and I am not sure you can retrieve those dimensions (unless perhaps you create your own default look and feel -...