You are on page 1of 2

Implementation

Program

Package swingloggingsscce:

Import java.io.IOException:

Import java.util.logging.FileHandler;

Import java.util.logging.Level;

Import java.util.logging.Logger;

Mport javax.swing.JFrame:

Import restaurantsystem.component.auth.Login:

Public class Main extends JFrame(

Public static void main(String[] args) {

// At first, show the login page and show menu after

// the authentication process completed

createRequired FilelfDoes NotExist();

Login im= new Login();

Im setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Im set Visible(true);

Private static void createRequiredFile!!Does NotExist() {

String fileNames[];

You might also like