You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Main.java 442B

1234567891011121314151617181920212223
  1. package com.rthoni.uqac.pigeon;
  2. import javax.swing.*;
  3. /**
  4. * Created by robin on 10/29/16.
  5. */
  6. public class Main {
  7. static void initGui()
  8. {
  9. JFrame frame = new JFrame("Threads Over Pigeons");
  10. frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  11. frame.pack();
  12. frame.setVisible(true);
  13. }
  14. public static void main(String... argv)
  15. {
  16. SwingUtilities.invokeLater(Main::initGui);
  17. }
  18. }