Guest User

Main

a guest
Feb 12th, 2019
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.54 KB | None | 0 0
  1. package com.company;
  2.  
  3.  
  4. public class Main {
  5.  
  6.     public static void main(String[] args) {
  7.         Menu menu = new Menu();
  8.         Login login = new Login();
  9.         RestApiGet restApiGet = new RestApiGet();
  10.         String restCall = login.getApiCall();
  11.         login.setUsername();
  12.         login.setPassword();
  13.         restApiGet.restLogin(login.getUsername(),login.getPassword(),restCall);
  14.         if(restApiGet.restLogin(login.getUsername(),login.getPassword(),restCall))
  15.         {
  16.             menu.setOpcja();
  17.         }
  18.  
  19.     }
  20.  
  21.  
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment