Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package nw;
- import javax.swing.*;
- public class game {
- public static void main(String[] args) {
- String rez =
- JOptionPane.showInputDialog(null,"1:","difficilty",1);
- int slogn = rez.charAt(0)-'0';
- if ((slogn>=1)&&(slogn<=7))
- {
- okno window = new okno(slogn);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement