import java.util.Scanner;

class Data {
	public Scanner userInput = new Scanner(System.in);
}

import java.util.Scanner;
import java.awt.*;
import javax.swing.*;

class Data {
	public Scanner userInput = new Scanner(System.in);
	JFrame mainFrame = new JFrame("Francois");
	mainFrame.setDefaultCloseOperation(EXIT_ON_CLOSE);
	
	public void createFrame(input, output) {
		
	}
}

Update Data.java