Hi all, I decided to have a go at writing a gui for today for a quiz program, in swing, and I can't get my head around the errors I've tried every combination of extra brackets possible and none seem to many any difference. I Just want the gui to appear for now, but i'm getting this error
g@(gizywig) javac test.java
test.java:20: '{' expected
public class GuiQuiz()
^
test.java:57: '}' expected
^
2 errors
and I cant for the devil of me work it out, if someone could point me in the right direction I would be very grateful. here's my source code:


Code:
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;

public class GuiQuiz extends JFrame
{
	
	private JLabel MenuLabel;
	private JLabel QuestionsLabel;
	private JTextArea Display;
	private JScrollPane jScrollPane1;
	private JTextArea jTextArea2;
	private JScrollPane jScrollPane2;
	private JButton BeginQuiz;
	private JPanel contentPane;

	public class GuiQuiz()
	{
	
		setTitle("SwingQuiz");
		setLocation(new Point(2, 5));
		setSize(new Dimension(471, 535));
                MenuLabel.setBounds(75,11,80,18);
		MenuLabel = new JLabel();
		QuestionsLabel = new JLabel();
		Display = new JTextArea();
		jScrollPane1 = new JScrollPane();
		jTextArea2 = new JTextArea();
		jScrollPane2 = new JScrollPane();
		BeginQuiz = new JButton();
		contentPane = (JPanel)this.getContentPane();
         	MenuLabel.setText("Menu Selection");
		QuestionsLabel.setText("Questions");
                BeginQuiz.setText("Begin Quiz");
		jScrollPane1.setViewportView(Display);
		jScrollPane2.setViewportView(jTextArea2);
		contentPane.setLayout(null);
		contentPane.MenuLabel.setBounds(75,11,80,18);
		contentPane.QuestionsLabel.setBounds(270,13,60,18);
		contentPane.jScrollPane1.setBounds(228,40,214,265);
		contentPane.jScrollPane2.setBounds(29,341,403,160);
		contentPane.BeginQuiz.setBounds(58,36,133,42);

this.setVisible(true);
}
public static void main(String args[])
{
new GuiQuiz();
}
}
thanks alot mr.gizm0