frame
frame class in Pakage "Screen"unknown
plain_text
2 years ago
406 B
4
Indexable
package Screen; import javax.swing.JFrame; import Game.player; public class frame extends JFrame { public frame() { player player = new player(); panel panel = new panel(); this.add(panel); this.setDefaultCloseOperation(EXIT_ON_CLOSE); this.pack(); this.setTitle("A.i"); this.setLayout(null); this.addKeyListener(player); this.setVisible(true); } }
Editor is loading...