AncestorEvent.java [...]: Compile fixes.

2003-06-25  Michael Koch  <konqueror@gmx.de>

	* javax/swing/event/AncestorEvent.java
	javax/swing/event/HyperlinkEvent.java
	javax/swing/event/InternalFrameEvent.java
	javax/swing/event/ListDataEvent.java
	javax/swing/event/TableModelEvent.java:
	Compile fixes.

From-SVN: r68455
This commit is contained in:
Michael Koch 2003-06-25 04:16:18 +00:00 committed by Michael Koch
parent 7948a9eac2
commit b990116248
6 changed files with 18 additions and 7 deletions

View File

@ -1,3 +1,12 @@
2003-06-25 Michael Koch <konqueror@gmx.de>
* javax/swing/event/AncestorEvent.java
javax/swing/event/HyperlinkEvent.java
javax/swing/event/InternalFrameEvent.java
javax/swing/event/ListDataEvent.java
javax/swing/event/TableModelEvent.java:
Compile fixes.
2003-06-24 Michael Koch <konqueror@gmx.de>
* java/net/URL.java:

View File

@ -48,7 +48,7 @@ import javax.swing.JComponent;
*/
public class AncestorEvent extends AWTEvent
{
private static final serialVersionUID = 4799843792513591457L;
private static final long serialVersionUID = 4799843792513591457L;
public static int ANCESTOR_ADDED = 0;
public static int ANCESTOR_MOVED = 1;

View File

@ -102,7 +102,8 @@ public class HyperlinkEvent extends EventObject
* @param url The URL this link pointing too.
* @param description The description for this link.
*/
public HyperlinkEvent(Object source, EventType type, URL url, String description)
public HyperlinkEvent(Object source, EventType type, URL url,
String description)
{
this (source, type, url, description, null);
}
@ -116,7 +117,8 @@ public class HyperlinkEvent extends EventObject
* @param description The description for this link.
* @param element The element in the document representing the anchor.
*/
public HyperlinkEvent(Object source, EventType type, URL url, String description)
public HyperlinkEvent(Object source, EventType type, URL url,
String description, Element element)
{
super(source);
this.type = type;

View File

@ -46,7 +46,7 @@ import javax.swing.JInternalFrame;
*/
public class InternalFrameEvent extends AWTEvent
{
private static final serialVersionUID = 9195444901064686684L;
private static final long serialVersionUID = 9195444901064686684L;
/**
* Internal frame activated event
@ -109,6 +109,6 @@ public class InternalFrameEvent extends AWTEvent
*/
public JInternalFrame getInternalFrame()
{
return source;
return (JInternalFrame) source;
}
}

View File

@ -46,7 +46,7 @@ import java.util.EventObject;
*/
public class ListDataEvent extends EventObject
{
private static final serialVersionUID = -7131487416250401903L;
private static final long serialVersionUID = -7131487416250401903L;
public static int CONTENTS_CHANGED = 0;
public static int INTERVAL_ADDED = 1;

View File

@ -46,7 +46,7 @@ import javax.swing.table.TableModel;
*/
public class TableModelEvent extends EventObject
{
private static final serialVersionUID = -7037680193569691706L;
private static final long serialVersionUID = -7037680193569691706L;
public static int ALL_COLUMNS = -1;
public static int DELETE = -1;