import java.awt.Dimension;
import java.awt.Toolkit;
import java.io.IOException;

import javax.swing.JFrame;


public class POS {
	public static void main(String[] sa) throws IOException{
		doIt();
	}

	private static void doIt() throws IOException 
	{
		JFrame POS = new JFrame("Point of Sales System");
		Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
		screenSize.setSize(800, 600);
		POS.setExtendedState(JFrame.MAXIMIZED_BOTH);
		POS.setSize(screenSize);
		POS.setResizable(false);
		POS.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		Login LI = new Login(POS);
		LI.setOpaque(true);
		POS.setContentPane(LI);
		POS.setVisible(true);
		
	}
}

@@ -241,18 +241,16 @@
 ception 
-%0A%09
 %7B%0A%09%09JFra
@@ -390,15 +390,56 @@
 ize(
-800, 60
+screenSize.getWidth(), screenSize.getHeight()- 4
 0);%0A
@@ -642,24 +642,26 @@
 ue(true);%0A%09%09
+//
 POS.setConte

Update POS.java