public LateralSkull(Container pane, Color correctcolor, Color wrongcolor)
	{
		JPanel panel = this;
		setLayout(null);
		setBackground(Color.WHITE);
		pane.setBackground(Color.WHITE);
		cc = correctcolor;
		wc = wrongcolor;
		
		try {
			File f = new File("resources" + File.separator + "LateralSkull.jpg");
			bi = ImageIO.read(f);
			
			css = "Coronal suture";
			pbs = "Parietal bone";
			tbs = "Temporal bone";
			lss = "Lambdoid suture";
			sss = "Squamous suture";
			obs = "Occipital bone";
			zps = "Zygomatic process";
			eams = "External auditory meatus";
			mps = "Mastoid process";
			sps = "Styloid process";
			mrs = "Mandibular ramus";
			mas = "Mandibular angle";
			fbs = "Frontal bone";
			sbs = "Sphenoid bone";
			ebs = "Ethmoid bone";
			lbs = "Lacrimal bone";
			nbs = "Nasal bone";
			zbs = "Zygomatic bone";
			mxs = "Maxilla";
			ams = "Alveolar processes";
			ms = "Mandible";
			mfs = "Mental foramen";
			
			cs = new JTextField();
			cs.setBackground(Color.WHITE);
			cs.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(cs.getText().equalsIgnoreCase(css))
						{
							
							cs.setForeground(cc);
							cs.setBorder(null);
							cs.setEditable(false);
							
						}
						else
						{
							
							cs.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			cs.setBounds(95,108,110,25);
			add(cs);
			
			pb = new JTextField();
			pb.setBackground(Color.WHITE);
			pb.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(pb.getText().equalsIgnoreCase(pbs))
						{
							
							pb.setForeground(cc);
							pb.setBorder(null);
							pb.setEditable(false);
							
						}
						else
						{
							
							pb.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			pb.setBounds(95,142,110,25);
			add(pb);
			
			tb = new JTextField();
			tb.setBackground(Color.WHITE);
			tb.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(tb.getText().equalsIgnoreCase(tbs))
						{
							
							tb.setForeground(cc);
							tb.setBorder(null);
							tb.setEditable(false);
							
						}
						else
						{
							
							tb.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			tb.setBounds(100,192,110,25);
			add(tb);
			
			ls = new JTextField();
			ls.setBackground(Color.WHITE);
			ls.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(ls.getText().equalsIgnoreCase(lss))
						{
							
							ls.setForeground(cc);
							ls.setBorder(null);
							ls.setEditable(false);
							
						}
						else
						{
							
							ls.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			ls.setBounds(60,225,120,25);
			add(ls);
			
			ss = new JTextField();
			ss.setBackground(Color.WHITE);
			ss.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(ss.getText().equalsIgnoreCase(sss))
						{
							
							ss.setForeground(cc);
							ss.setBorder(null);
							ss.setEditable(false);
							
						}
						else
						{
							
							ss.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			ss.setBounds(60,265,125,25);
			add(ss);
			
			ob = new JTextField();
			ob.setBackground(Color.WHITE);
			ob.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(ob.getText().equalsIgnoreCase(obs))
						{
							
							ob.setForeground(cc);
							ob.setBorder(null);
							ob.setEditable(false);
							
						}
						else
						{
							
							ob.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			ob.setBounds(50,295,110,25);
			add(ob);
			
			zp = new JTextField();
			zp.setBackground(Color.WHITE);
			zp.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(zp.getText().equalsIgnoreCase(zps))
						{
							
							zp.setForeground(cc);
							zp.setBorder(null);
							zp.setEditable(false);
							
						}
						else
						{
							
							zp.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			zp.setBounds(90,330,140,25);
			add(zp);
			
			eam = new JTextField();
			eam.setBackground(Color.WHITE);
			eam.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(eam.getText().equalsIgnoreCase(eams))
						{
							
							eam.setForeground(cc);
							eam.setBorder(null);
							eam.setEditable(false);
							
						}
						else
						{
							
							eam.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			eam.setBounds(45,390,170,25);
			add(eam);
			
			mp = new JTextField();
			mp.setBackground(Color.WHITE);
			mp.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(mp.getText().equalsIgnoreCase(mps))
						{
							
							mp.setForeground(cc);
							mp.setBorder(null);
							mp.setEditable(false);
							
						}
						else
						{
							
							mp.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			mp.setBounds(90,420,120,25);
			add(mp);
			
			sp = new JTextField();
			sp.setBackground(Color.WHITE);
			sp.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(sp.getText().equalsIgnoreCase(sps))
						{
							
							sp.setForeground(cc);
							sp.setBorder(null);
							sp.setEditable(false);
							
						}
						else
						{
							
							sp.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			sp.setBounds(100,450,110,25);
			add(sp);
			
			mr = new JTextField();
			mr.setBackground(Color.WHITE);
			mr.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(mr.getText().equalsIgnoreCase(mrs))
						{
							
							mr.setForeground(cc);
							mr.setBorder(null);
							mr.setEditable(false);
							
						}
						else
						{
							
							mr.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			mr.setBounds(255,505,130,25);
			add(mr);
			
			ma = new JTextField();
			ma.setBackground(Color.WHITE);
			ma.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(ma.getText().equalsIgnoreCase(mas))
						{
							
							ma.setForeground(cc);
							ma.setBorder(null);
							ma.setEditable(false);
							
						}
						else
						{
							
							ma.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			ma.setBounds(460,545,120,25);
			add(ma);
			
			fb = new JTextField();
			fb.setBackground(Color.WHITE);
			fb.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(fb.getText().equalsIgnoreCase(fbs))
						{
							
							fb.setForeground(cc);
							fb.setBorder(null);
							fb.setEditable(false);
							
						}
						else
						{
							
							fb.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			fb.setBounds(715,100,110,25);
			add(fb);
			
			sb = new JTextField();
			sb.setBackground(Color.WHITE);
			sb.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(sb.getText().equalsIgnoreCase(sbs))
						{
							
							sb.setForeground(cc);
							sb.setBorder(null);
							sb.setEditable(false);
							
						}
						else
						{
							
							sb.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			sb.setBounds(715,130,110,25);
			add(sb);
			
			eb = new JTextField();
			eb.setBackground(Color.WHITE);
			eb.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(eb.getText().equalsIgnoreCase(ebs))
						{
							
							eb.setForeground(cc);
							eb.setBorder(null);
							eb.setEditable(false);
							
						}
						else
						{
							
							eb.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			eb.setBounds(715,170,110,25);
			add(eb);
			
			lb = new JTextField();
			lb.setBackground(Color.WHITE);
			lb.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(lb.getText().equalsIgnoreCase(lbs))
						{
							
							lb.setForeground(cc);
							lb.setBorder(null);
							lb.setEditable(false);
							
						}
						else
						{
							
							lb.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			lb.setBounds(715,200,110,25);
			add(lb);
			
			nb = new JTextField();
			nb.setBackground(Color.WHITE);
			nb.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(nb.getText().equalsIgnoreCase(nbs))
						{
							
							nb.setForeground(cc);
							nb.setBorder(null);
							nb.setEditable(false);
							
						}
						else
						{
							
							nb.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			nb.setBounds(715,295,110,25);
			add(nb);
			
			zb = new JTextField();
			zb.setBackground(Color.WHITE);
			zb.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(zb.getText().equalsIgnoreCase(zbs))
						{
							
							zb.setForeground(cc);
							zb.setBorder(null);
							zb.setEditable(false);
							
						}
						else
						{
							
							zb.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			zb.setBounds(715,330,110,25);
			add(zb);
			
			mx = new JTextField();
			mx.setBackground(Color.WHITE);
			mx.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(mx.getText().equalsIgnoreCase(mxs))
						{
							
							mx.setForeground(cc);
							mx.setBorder(null);
							mx.setEditable(false);
							
						}
						else
						{
							
							mx.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			mx.setBounds(715,365,110,25);
			add(mx);
			
			am = new JTextField();
			am.setBackground(Color.WHITE);
			am.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(am.getText().equalsIgnoreCase(ams))
						{
							
							am.setForeground(cc);
							am.setBorder(null);
							am.setEditable(false);
							
						}
						else
						{
							
							am.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			am.setBounds(715,420,130,25);
			add(am);
			
			m = new JTextField();
			m.setBackground(Color.WHITE);
			m.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(m.getText().equalsIgnoreCase(ms))
						{
							
							m.setForeground(cc);
							m.setBorder(null);
							m.setEditable(false);
							
						}
						else
						{
							
							m.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			m.setBounds(715,460,110,25);
			add(m);
			
			mf = new JTextField();
			mf.setBackground(Color.WHITE);
			mf.addActionListener(
				
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(mf.getText().equalsIgnoreCase(mfs))
						{
							
							mf.setForeground(cc);
							mf.setBorder(null);
							mf.setEditable(false);
							
						}
						else
						{
							
							mf.setForeground(wc);
							
						}
						
					}
					
					
				}
					
			);
			
			mf.setBounds(715,490,110,25);
			add(mf);
			
			back = new JButton("Back");
			back.setBounds(750,600,100,50);
			back.addActionListener(
					
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						Quiz.setPanel(panel, BonesMenu.panel);
						
					}
					
				}
			
			);
			add(back);
			
			JTextField[] fields = new JTextField[]{cs,pb,tb,ls,ss,ob,zp,eam,mp,sp,mr,ma,mf,m,am,mx,zb,nb,lb,eb,sb,fb};
			String[] strings = new String[]{css,pbs,tbs,lss,sss,obs,zps,eams,mps,sps,mrs,mas,mfs,ms,ams,mxs,zbs,nbs,lbs,ebs,sbs,fbs};
			for(JTextField field : fields)
			{
				field.setBorder(BorderFactory.createLineBorder(Color.BLACK));
				field.addActionListener(
					new ActionListener()
					{
						
						public void actionPerformed(ActionEvent e)
						{
							for(int i = 0; i < fields.length; i++)
							{
								
								if((JTextField) e.getSource() == fields[i])
								{
									if(fields[i].getText().equalsIgnoreCase(strings[i]))
									{
										boolean found = false;
										
										for(int ii = i; ii < fields.length; ii++)
										{
											
											if(!found)
											{
												if(fields[ii].getText().equalsIgnoreCase(""))
												{
													fields[ii].requestFocusInWindow();
													found = true;
													
												}
											}
											
										}
										if(!found)
										{
											for(int ii = 0; ii < i; ii++)
											{
												if(!found)
												{
													if(fields[ii].getText().equals(""))
													{
														
														fields[ii].requestFocusInWindow();
														found = true;
														
													}
												}
												
											}
											
										}
									}
									
								}
								
							}
							
						}
						
					}
				);
			}
			
			answers = new JButton("Answers");
			answers.setBounds(640,600,100,50);
			answers.addActionListener(
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						for(int i = 0; i < fields.length; i++)
						{
							
							fields[i].setText(strings[i]);
							fields[i].setForeground(Color.BLACK);
							fields[i].setBorder(null);
							fields[i].setEditable(false);
							
						}
						
					}
					
					
					
				}
			);
			add(answers);
			
			reset = new JButton("Reset");
			reset.setBounds(530,600,100,50);
			reset.addActionListener(
				new ActionListener()
				{

					@Override
					public void actionPerformed(ActionEvent e) {
						
						for(JTextField field : fields)
						{
							
							field.setText("");
							field.setBorder(BorderFactory.createLineBorder(Color.BLACK));
							field.setForeground(Color.BLACK);
							field.setEditable(true);
							
						}
						
					}
					
					
					
				}
			);
			add(reset);
			
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}