All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.apple.eawt.CocoaComponent Maven / Gradle / Ivy

Go to download

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) {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy