[kaffe] bug: java.awt.Component.getComponentOrientation() is missing

Matthias Pfisterer Matthias.Pfisterer at web.de
Thu Dec 18 23:49:01 PST 2003


Hi,

subject say it all...
Here is an example program:
--(ComponentOrientationTest.java)--
import java.awt.Component;
import java.awt.ComponentOrientation;
import java.awt.Label;

public class ComponentOrientationTest
{
	public static void main(String[] args)
	{
		Component c = new Label();
		ComponentOrientation co = c.getComponentOrientation();
	}
}
----

The error I get is:
----
 >/usr/local/kaffe/bin/javac ComponentOrientationTest.java
ComponentOrientationTest.java:10: error:Cannot find method 
"java.awt.Component.getComponentOrientation()"
----

This error does not happen with javac of the Sun JDK 1.4.2.

Matthias


-- 
Matthias Pfisterer	<mailto:Matthias.Pfisterer at web.de>
Reuchlinstrasse 28	phone ++49-711-62 87 12
D-70176 Stuttgart	(in Deutschland 0711-62 87 12)
GERMANY

Work like you don't need the money.
Love like you've never been hurt.
Dance like nobody is watching.

Java Sound Resources (examples, FAQ, applications):
http://www.jsresources.org/

Tritonus, the open source implementation of the Java Sound API:
http://www.tritonus.org/
--------------------------------------------------------------





More information about the kaffe mailing list