Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.swing.JFrame;
- import javax.swing.JOptionPane;
- public class Krogi
- {
- public static void main(String[] args)
- {
- JFrame frame = new JFrame("Osem Krogov");
- KrogiK panel = new KrogiK();
- frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- frame.add(panel);
- frame.setLocationRelativeTo(null);
- frame.setSize(500,500);
- frame.setVisible(true);
- }
- }
Add Comment
Please, Sign In to add comment