If you ever have to go to court, here are a few guides that you might want to look into for courtroom etiquette.
Proper Behavior in Court, A Defendant's Guide
A Guide to Proper Courtroom Behavior
Court room behavior can influence your case!
Courts Zap Plaintiffs, Their Lawyers for Bad Behavior
What is Contempt of Court?