Subject: $250k in coverage / No Exam necessary

From: Support <[email-masked]>
Date: Fri, 23 May 2014 07:00:36 -0700

Hello Atompub-archive,

If you think about it for a minute, you insure everything that's significant in your life; why not insure yourself? 

You are priceless after all (or at least pretty close to priceless). Life coverage helps provide you peace of mind and can provide your family with financial stability and security when it matters most.

No exam necessary | $250k Coverage for $15/month|
http://www.sonoslightuser.com/policy-25-6543738/mrt.html

Thank You.

This is from LIL Life Agency -1107 Valeria Dr-Marion-TX-78124-

-To easily-end updates from our publications Write or you can navigate to this URL http://www.sonoslightuser.com/cv/ -

/
/
/
/
/
/
/
/
/
/
I run into a bit of a problem with some code today, what it is supposed to do is detect mouse clicks and then update the frame. Now this starts off fine, however when I want it to do two functions upon one mouseclick, it only wants to update the frame if I resize the screen and return. I'm not sure what's causing it, this is my main method.

(Toggle Plain Text)
import javax.swing.JFrame;

public class Main {
	
	//Technical stuff
	static JFrame frame = new JFrame();
	public static boolean waitingInput = true;
	public static int whatInput = 0;
	static Menu menu = new Menu();
	static CountryInput CI = new CountryInput();
	
	//Player info
	public String pName = null;
	public String cName = null;
	
	public static void main(String[] args) throws InterruptedException{
		Functions.nameGenerate();
		frame.setVisible(true);
		frame.setSize(600, 400);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.add(menu);
		menu.setVisible(true);
		
		check();
	}
	
	//Used to handle when something is clicked
	
	public static void check() throws InterruptedException{
		while(waitingInput == true){ //Before/After something is clicked
			Thread.sleep(10);
			frame.repaint();
		}
		if(whatInput == 1){ //When menu is pressed
			frame.remove(menu);
			frame.add(CI);
			whatInput = 2;
		}
		else if(whatInput == 2){
			frame.add(CI);
		}
	}
	
}

I normally don't answer questions in this forum, but looks to me like you have reversed lines 7 and 8 and lines 10 and 11. If the program returns on line 7 how can line 8 be executed?? same with lines 10 and 11.

Line 7 does recursion -- calls function pa again. When it's called the second time it should ask you to enter the sentence all over again. I think you need to remove line 2 from that function and put it just before calling pa for the first time.
I just spent more then 30 seconds in a debugger it crashed the compiler, and then it restarted it. I don't know how to debug for this reason that is all it ever does. The only thing it lets me do is run & compile code. If there is an Error or Warning I try to fix it. Even so I don't know what you are saying I should do to that for loop anyways. However I tried this with the code, but it gives me an extra line. Plus when I go to the second room I looks identical to the first when I should not.