ScrollPane.java: Wrote.

* java/awt/ScrollPane.java: Wrote.
	* java/awt/peer/ScrollPanePeer.java (setBlockIncrement): New
	method.

	* java/awt/Panel.java (Panel()): Fixed.

	* java/awt/Component.java (isShowing): Return false if no peer
	exists, and true if component is visible and no parent exists.
	(getLocationOnScreen): Wrote.
	(getPreferredSize): Removed FIXME comment.
	(getMinimumSize): Likewise.
	(getAlignmentX, getAlignmentY): Wrote.
	(list): Wrote.
	(requestFocus): Wrote.
	(transferFocus): Wrote.
	(findNextFocusComponent): New method.
	(hasFocus()): Wrote.
	(checkImage): Wrote.
	(enableEvents): Call setEventMask on the peer.

	* java/awt/Container.java (list): Use super.list() to print self.
	(findNextFocusComponent): New method.
	(setLayout): Call invalidate.
	(findComponentAt): Wrote.

From-SVN: r38639
This commit is contained in:
Tom Tromey 2001-01-03 00:07:13 +00:00 committed by Tom Tromey
parent 4f78b9a896
commit f5826791be
7 changed files with 547 additions and 98 deletions

View file

@ -10,16 +10,13 @@ package java.awt;
import java.awt.peer.ComponentPeer;
/* An incomplete placeholder. */
/* This class is complete to 1.2. */
public class Panel extends Container
{
public Panel()
{
this(
// should be: new FlowLayout()
null // FIXME
);
this (new FlowLayout ());
}
public Panel(LayoutManager layout)