Guest User

Untitled

a guest
Jun 13th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.79 KB | None | 0 0
  1. import javax.swing.JFrame;
  2. import javax.swing.UIManager;
  3.  
  4. public class MCAIOMain extends JFrame {
  5.         public static void main(String[] args) {
  6.                 try {
  7.                     UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
  8.                 } catch (Exception e) {
  9.                     System.err.println("Could not set look and feel");
  10.                 }
  11.                 final MCAIOMain f = new MCAIOMain();
  12.                 f.setBounds(100, 100, 600, 400);
  13.                 f.setVisible(true);
  14.                 f.setDefaultCloseOperation(EXIT_ON_CLOSE);
  15.  
  16.         }
  17.  
  18. }
  19.  
  20.  
  21.  
  22. Description Resource    Path    Location    Type
  23. The serializable class MCAIOMain does not declare a static final serialVersionUID field of type long    MCAIOMain.java  /MCAIO/src  line 3  Java Problem
Add Comment
Please, Sign In to add comment