Yes the act was a little extreme, but in the end it was justified. The Jedi attempted an illegal coup against the legal head of state of the Republic just because of his religion. To make that even worse Windu was going to kill the guy without a trial just because "he's to dangerous" and mainly because of his religion.
-
Totally justified