Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

Counter.java

Language: Editor: Layout:
+ ] Show input
Compilation time: 0.72 sec, absolute service time: 0,82 sec 
fork mode |  history  | discussion
Error(s), warning(s):
source_file.java:5: error: class Counter is public, should be declared in a file named Counter.java
public class Counter extends JPanel implements ActionListener   // wait for an action
       ^
source_file.java:5: warning: [serial] serializable class Counter has no definition of serialVersionUID
public class Counter extends JPanel implements ActionListener   // wait for an action
       ^
1 error
1 warning