com.apple.eawt.CocoaComponent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of orange-extensions Show documentation
Show all versions of orange-extensions Show documentation
A pluggable jar containing stubs for the Apple Java Extensions, updated for Java 5 & 6
The newest version!
package com.apple.eawt;
import java.awt.Canvas;
import java.awt.Dimension;
import java.awt.Graphics;
public abstract class CocoaComponent extends Canvas {
public CocoaComponent() {}
@Deprecated
public abstract int createNSView();
public long createNSViewLong() {
return 0L;
}
@Override
public void update(Graphics g) {}
@Override
public void paint(Graphics g) {}
@Override
public abstract Dimension getMaximumSize();
@Override
public abstract Dimension getMinimumSize();
@Override
public abstract Dimension getPreferredSize();
public final void sendMessage(int messageID, Object message) {}
}