hi, i always encounter an error when i try to compile a java application that use implements keyword. first it works fine then when i used it again on my next file it generates an error always even if i copy and paste it from my first java app to the new java app. help pls. thank you. here is the code(actually its from the website of sunjava, i'm a novice in java):
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class SwingApplication implements ActionListener {
... */code under swingapplication
}
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class SwingApplication implements ActionListener {
... */code under swingapplication
}