AWTEvents errors and deprecated methods
From: Michael G (mike-g_at_montana.com)
Date: 11/30/03
- Next message: Michael G: "Re: AWTEvents errors and deprecated methods"
- Previous message: johnny: "Q about java arrays"
- Next in thread: Michael G: "Re: AWTEvents errors and deprecated methods"
- Reply: Michael G: "Re: AWTEvents errors and deprecated methods"
- Reply: Michael G: "Re: AWTEvents errors and deprecated methods"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 Nov 2003 21:40:16 -0700
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
- Next message: Michael G: "Re: AWTEvents errors and deprecated methods"
- Previous message: johnny: "Q about java arrays"
- Next in thread: Michael G: "Re: AWTEvents errors and deprecated methods"
- Reply: Michael G: "Re: AWTEvents errors and deprecated methods"
- Reply: Michael G: "Re: AWTEvents errors and deprecated methods"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|