Commit e1efcdfc authored by marc.sheppard's avatar marc.sheppard

Add new file

parents
import java.util.Scanner;
/**
* Main function
*
* @author Marc.
* Created 17 Nov 2019.
*/
public class Main {
static Scanner input = new Scanner(System.in);
public static void main(String[] args) {
Translator translator = new Translator();
GUI gui = new GUI();
while(true) {
//update text with translated input
gui.updateText(translator.translate(gui.getTextInput(),gui.getInputLanguage(),gui.getOutputLanguage()));
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment