public Hand(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 + "Hand.jpg");
			bi = ImageIO.read(f);
			
			phs = "Phalanges";
			ds = "Distal";
			ms = "Middle";
			ps = "Proximal";
			mcs = "Metacarpals";
			cs = "Carpals";
			hs = "Hamate";
			pfs = "Pisiform";
			tts = "Triquetrum";
			ls = "Lunate";
			us = "Ulna";
			rs = "Radius";
			tms = "Trapezium";
			tds = "Trapezoid";
			ss = "Scaphoid";
			cts = "Capitate";
			
			ph = new JTextField();
			ph.setBackground(Color.WHITE);
			ph.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(ph.getText().equalsIgnoreCase(phs))
						{
							
							ph.setForeground(cc);
							ph.setBorder(null);
							ph.setEditable(false);
							
						}
						else
						{
							
							ph.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			ph.setBounds(155,217,100,25);
			add(ph);
			
			d = new JTextField();
			d.setBackground(Color.WHITE);
			d.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(d.getText().equalsIgnoreCase(ds))
						{
							
							d.setForeground(cc);
							d.setBorder(null);
							d.setEditable(false);
							
						}
						else
						{
							
							d.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			d.setBounds(270,170,80,25);
			add(d);
			
			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(280,200,80,25);
			add(m);
			
			p = new JTextField();
			p.setBackground(Color.WHITE);
			p.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(p.getText().equalsIgnoreCase(ps))
						{
							
							p.setForeground(cc);
							p.setBorder(null);
							p.setEditable(false);
							
						}
						else
						{
							
							p.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			p.setBounds(290,260,80,25);
			add(p);
			
			mc = new JTextField();
			mc.setBackground(Color.WHITE);
			mc.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(mc.getText().equalsIgnoreCase(mcs))
						{
							
							mc.setForeground(cc);
							mc.setBorder(null);
							mc.setEditable(false);
							
						}
						else
						{
							
							mc.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			mc.setBounds(205,350,100,25);
			add(mc);
			
			c = new JTextField();
			c.setBackground(Color.WHITE);
			c.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(c.getText().equalsIgnoreCase(cs))
						{
							
							c.setForeground(cc);
							c.setBorder(null);
							c.setEditable(false);
							
						}
						else
						{
							
							c.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			c.setBounds(150,450,100,25);
			add(c);
			
			h = new JTextField();
			h.setBackground(Color.WHITE);
			h.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(h.getText().equalsIgnoreCase(hs))
						{
							
							h.setForeground(cc);
							h.setBorder(null);
							h.setEditable(false);
							
						}
						else
						{
							
							h.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			h.setBounds(270,417,80,25);
			add(h);
			
			pf = new JTextField();
			pf.setBackground(Color.WHITE);
			pf.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(pf.getText().equalsIgnoreCase(pfs))
						{
							
							pf.setForeground(cc);
							pf.setBorder(null);
							pf.setEditable(false);
							
						}
						else
						{
							
							pf.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			pf.setBounds(270,445,80,25);
			add(pf);
			
			tt = new JTextField();
			tt.setBackground(Color.WHITE);
			tt.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(tt.getText().equalsIgnoreCase(tts))
						{
							
							tt.setForeground(cc);
							tt.setBorder(null);
							tt.setEditable(false);
							
						}
						else
						{
							
							tt.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			tt.setBounds(290,475,80,25);
			add(tt);
			
			l = new JTextField();
			l.setBackground(Color.WHITE);
			l.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(l.getText().equalsIgnoreCase(ls))
						{
							
							l.setForeground(cc);
							l.setBorder(null);
							l.setEditable(false);
							
						}
						else
						{
							
							l.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			l.setBounds(275,502,80,25);
			add(l);
			
			u = new JTextField();
			u.setBackground(Color.WHITE);
			u.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(u.getText().equalsIgnoreCase(us))
						{
							
							u.setForeground(cc);
							u.setBorder(null);
							u.setEditable(false);
							
						}
						else
						{
							
							u.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			u.setBounds(255,530,80,25);
			add(u);
			
			r = new JTextField();
			r.setBackground(Color.WHITE);
			r.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(r.getText().equalsIgnoreCase(rs))
						{
							
							r.setForeground(cc);
							r.setBorder(null);
							r.setEditable(false);
							
						}
						else
						{
							
							r.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			r.setBounds(455,555,80,25);
			add(r);
			
			tm = new JTextField();
			tm.setBackground(Color.WHITE);
			tm.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(tm.getText().equalsIgnoreCase(tms))
						{
							
							tm.setForeground(cc);
							tm.setBorder(null);
							tm.setEditable(false);
							
						}
						else
						{
							
							tm.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			tm.setBounds(560,417,80,25);
			add(tm);
			
			td = new JTextField();
			td.setBackground(Color.WHITE);
			td.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(td.getText().equalsIgnoreCase(tds))
						{
							
							td.setForeground(cc);
							td.setBorder(null);
							td.setEditable(false);
							
						}
						else
						{
							
							td.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			td.setBounds(560,444,80,25);
			add(td);
			
			s = new JTextField();
			s.setBackground(Color.WHITE);
			s.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(s.getText().equalsIgnoreCase(ss))
						{
							
							s.setForeground(cc);
							s.setBorder(null);
							s.setEditable(false);
							
						}
						else
						{
							
							s.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			s.setBounds(560,472,80,25);
			add(s);
			
			ct = new JTextField();
			ct.setBackground(Color.WHITE);
			ct.addActionListener(
				new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent e) {
						
						if(ct.getText().equalsIgnoreCase(cts))
						{
							
							ct.setForeground(cc);
							ct.setBorder(null);
							ct.setEditable(false);
							
						}
						else
						{
							
							ct.setForeground(wc);
							
						}
						
					}
					
				}
					
			);
			
			ct.setBounds(560,502,80,25);
			add(ct);
			
			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[]{ph,d,m,p,mc,c,h,pf,tt,l,u,r,tm,td,s,ct};
			String[] strings = new String[]{phs,ds,ms,ps,mcs,cs,hs,pfs,tts,ls,us,rs,tms,tds,ss,cts};
			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();
			
		}
		
		
	}