Skip to content

Pop Up Frame

neta-r edited this page Dec 19, 2020 · 1 revision

popUp

Functions:

  • getId is the function that creat the first pop up window of the id request. It creats a JOptionPane as the pop up that returns a String that then will be cast to an integer and returned in the end. Also check if the input is valid- if not send an error.
  • getSen is the function that creat the second pop up window of the scenario request. It creats a JOptionPane as the pop up that returns a String that then will be cast to an integer and returned in the end. Also check if the input is valid- if not send an error.

Menu

Clone this wiki locally