import javax.swing.*;
import java.awt.*;

public class Frame_make {
	
	public static void main(String[] ar){

	Frame_make_sub fms = new Frame_make_sub();
	
	}
}

class Frame_make_sub extends JFrame{ 
<<<<<<< HEAD

	int f_width = 800; 
	int f_height = 600;
	
	Frame_make_sub(){ 
	
		init();
		start(); 
	
		setTitle("Frame Test");
		setSize(f_width, f_height); 
		
		Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
		
		int f_xpos = (int)(screen.getWidth() / 2 - f_width / 2);
		int f_ypos = (int)(screen.getHeight() / 2 - f_height / 2);
		
		setLocation(f_xpos, f_ypos);	//set frame location 
		
		setResizable(false);
		setVisible(true); 
	}

	public void init(){ 
	}
	
	public void start(){
=======
	
	int f_width = 800; 
	int f_height = 600; 
	
	Frame_make_sub(){
	
		init(); 
		start();
	
		setTitle("test frame"); 
		setSize(f_width, f_height); 
		
		
		Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
		
		
		int f_xpos = (int)(screen.getWidth() / 2 - f_width / 2);
		int f_ypos = (int)(screen.getHeight() / 2 - f_height / 2);
		

		setLocation(f_xpos, f_ypos);
		setResizable(false); 
		setVisible(true); 
	}

	public void init(){
		
	}
	
	public void start(){ 

>>>>>>> 98e5fa297460f10b91b24651aa4b107d37799ea6
	}
}

@@ -197,525 +197,8 @@
 e%7B %0A
-%3C%3C%3C%3C%3C%3C%3C HEAD%0A%0A%09int f_width = 800; %0A%09int f_height = 600;%0A%09%0A%09Frame_make_sub()%7B %0A%09%0A%09%09init();%0A%09%09start(); %0A%09%0A%09%09setTitle(%22Frame Test%22);%0A%09%09setSize(f_width, f_height); %0A%09%09%0A%09%09Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();%0A%09%09%0A%09%09int f_xpos = (int)(screen.getWidth() / 2 - f_width / 2);%0A%09%09int f_ypos = (int)(screen.getHeight() / 2 - f_height / 2);%0A%09%09%0A%09%09setLocation(f_xpos, f_ypos);%09//set frame location %0A%09%09%0A%09%09setResizable(false);%0A%09%09setVisible(true); %0A%09%7D%0A%0A%09public void init()%7B %0A%09%7D%0A%09%0A%09public void start()%7B%0A=======%0A
 %09%0A%09i
@@ -682,57 +682,8 @@
 %7B %0A%0A
-%3E%3E%3E%3E%3E%3E%3E 98e5fa297460f10b91b24651aa4b107d37799ea6%0A
 %09%7D%0A%7D

delete comment