You have a mass of syntax and spelling errors which are preventing this from working.
I've fixed them mostly, but I'm not sure about the SetDefaultCloseOperation method, so I've just commented it out for now. This compiles and runs though, so should get you going again.
CODE
import javax.swing.*;
import java.awt.*;
public class Gui extends JFrame
{
private JLabel label1,label2,label3;
private JTextField text1,text2,text3;
private JButton button1,button2;
public Gui(String title)
{
//SetTitle("Animal Capturing");
super(title);
Container pane = this.getContentPane();
pane.setLayout(new FlowLayout());
this.setSize(400, 300);
label1 =new JLabel("ANIMAL HABITAT");
label2 =new JLabel("SPECIES");
label3 =new JLabel("life's span");
text1 =new JTextField(10);
text2 =new JTextField();
text3 =new JTextField();
button1 =new JButton("ok");
button2 =new JButton("ok");
pane.add(label1);
pane.add(text1);
pane.add(label2);
pane.add(text2);
pane.add(label3);
pane.add(text3);
pane.add(button1);
pane.add(button2);
//SetDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
}
public static void main(String args[])
{
Gui gui = new Gui("Animal Capturing");
gui.setVisible(true);
}
}