It's just 2 while statements. There is no significance to the second while being on the same line as the closing bracket of the first while loop. Whitespace, for the most part, doesn't matter. Your code would do the same thing if there were blank lines between the two while statements.
Edit: since you edited your code to include an empty while loop, you should notice that your second while loop doesn't actually do anything other than loop. So if you loop once, you'll be looping forever. You might be confusing this with a do-while loop, in which case you should consult the tutorials: http://docs.oracle.com/javase/tutorial/java/nutsandbolts/while.html