You are not cocky when you can back it up. The truly great people in life, the ones who can actually change the world or the extremely confident ones. The ones who are great and humble just have a way of hiding their cockiness. You can't expect someone to be a great at anything and not be extremely confident. It was natural for mace windu character to be cocky. Just as han solo is cocky. Most people who have a problem with cocky confident people are the ones who are low in confidence themselves. I suggest therapy.