I am getting some errors/warnings that I don't understand. This code is in
a Java app that uses Swing J Components with an ActionListener. The
code/errors/warnings follow. Thanks for any help, Mike
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
public class GraphicalImp extends UIImp implements ActionListener
{
....//snipped code
public void actionPerformed(ActionEvent e)
{
String input = userInput.getText().trim();
choice = Integer.parseInt(input);
String searchKey = otherInput.getText().trim();
int userSelection = facade.getUserSelection();
String[] resultSet = facade.
processUserSelection(userSelection,searchKey);
facade.displayResultSet(resultSet);
}
....//snipped
ERRORS/WARNINGS
..\java\awt\Frame.java:72: class$ is reserved for internal use
Class class$(String arg0)
^
..\java\awt\Font.java:240: package AttributedCharacterIterator does not exist
public AttributedCharacterIterator.Attribute[] getAvailableAttributes()
^
..\java\awt\AWTEvent.java:30: cannot resolve symbol
symbol : constructor EventObject ()
location: class java.util.EventObject
{
^
..\java\awt\AWTEvent.java:40: cannot resolve symbol
symbol : constructor EventObject ()
location: class java.util.EventObject
{
^
..\java\awt\AWTEvent.java:49: cannot resolve symbol
symbol : constructor EventObject ()
location: class java.util.EventObject
{
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
5 errors
Tool completed with exit code 1