If you file Chapter 7 or Chapter 13 you have to appear at a "Meeting of Creditors". Your appearance is required. The Bankruptcy Trustee, who is appointed by the Bankruptcy Court to oversee your case, presides over the Meeting of Creditors. There is no judge or jury present.
The Meeting of Creditors is more like a "meeting" than a trial or court hearing. Generally the Trustee wants to go over the paperwork you filed with the Bankruptcy Court for accuracy and honesty. These "meetings" usually only last for a few minutes. Your lawyer will be present with you at the Meeting of Creditors. Usually, none of your creditors show up for these meetings.