Commit b9901162 by Michael Koch Committed by Michael Koch

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
parent 7948a9ea
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> 2003-06-24 Michael Koch <konqueror@gmx.de>
* java/net/URL.java: * java/net/URL.java:
......
...@@ -48,7 +48,7 @@ import javax.swing.JComponent; ...@@ -48,7 +48,7 @@ import javax.swing.JComponent;
*/ */
public class AncestorEvent extends AWTEvent 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_ADDED = 0;
public static int ANCESTOR_MOVED = 1; public static int ANCESTOR_MOVED = 1;
......
...@@ -102,7 +102,8 @@ public class HyperlinkEvent extends EventObject ...@@ -102,7 +102,8 @@ public class HyperlinkEvent extends EventObject
* @param url The URL this link pointing too. * @param url The URL this link pointing too.
* @param description The description for this link. * @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); this (source, type, url, description, null);
} }
...@@ -116,7 +117,8 @@ public class HyperlinkEvent extends EventObject ...@@ -116,7 +117,8 @@ public class HyperlinkEvent extends EventObject
* @param description The description for this link. * @param description The description for this link.
* @param element The element in the document representing the anchor. * @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); super(source);
this.type = type; this.type = type;
......
...@@ -46,7 +46,7 @@ import javax.swing.JInternalFrame; ...@@ -46,7 +46,7 @@ import javax.swing.JInternalFrame;
*/ */
public class InternalFrameEvent extends AWTEvent public class InternalFrameEvent extends AWTEvent
{ {
private static final serialVersionUID = 9195444901064686684L; private static final long serialVersionUID = 9195444901064686684L;
/** /**
* Internal frame activated event * Internal frame activated event
...@@ -109,6 +109,6 @@ public class InternalFrameEvent extends AWTEvent ...@@ -109,6 +109,6 @@ public class InternalFrameEvent extends AWTEvent
*/ */
public JInternalFrame getInternalFrame() public JInternalFrame getInternalFrame()
{ {
return source; return (JInternalFrame) source;
} }
} }
...@@ -46,7 +46,7 @@ import java.util.EventObject; ...@@ -46,7 +46,7 @@ import java.util.EventObject;
*/ */
public class ListDataEvent extends 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 CONTENTS_CHANGED = 0;
public static int INTERVAL_ADDED = 1; public static int INTERVAL_ADDED = 1;
......
...@@ -46,7 +46,7 @@ import javax.swing.table.TableModel; ...@@ -46,7 +46,7 @@ import javax.swing.table.TableModel;
*/ */
public class TableModelEvent extends EventObject 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 ALL_COLUMNS = -1;
public static int DELETE = -1; public static int DELETE = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment