Introduction - If you have any usage issues, please Google them yourself
typing game code
jf = new JFrame("dz");
jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
jf.setBounds(100, 100, 500, 500);
jf.setLayout(null);
set4Str();
jf.addKeyListener(this);
jf.setVisible(tru