![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
The import statements I have are:
That should be fine. The only thing I can think of is that the compiler doesn't know where to look for the packages java.awt and javax.swing. When I installed the SDK, I set the PATH, but that's it. Should I have set something else as well? Any help is greatly appreciated. Thanks Hiran > How do I add an action listener to JButton? I've done this before, but I must be doing something wrong, because I'm getting an error message. Here's my code:
> Thanks in advance. > Hiran
Replies:
|
Sponsored Links
|