View difference between Paste ID: F7LZXzbj and DUjkKSih
SHOW: | | - or go back to the newest paste.
1
import java.util.Scanner;
2
import java.net.*;
3
import java.io.*;
4
public class Xbmcremote
5
{
6
	public static void main(String[] args)
7
	{
8
		Scanner kb = new Scanner(System.in);
9
		String direction = "";
10-
		System.out.print("Up Down, Left, or Right?");
10+
		System.out.print("Up, Down, Left, or Right? ");
11
		direction = kb.nextline();
12
		switch(direction)
13
		{
14
			case "up":