gcc/libjava/gnu/java/awt/peer/gtk
Hans Boehm 56bba8cf57 XToolkit.java (getFontMetrics): initialize if necessary.
2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>

	* gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
	if necessary.

	* gnu/java/awt/peer/gtk/GtkButtonPeer.java,
	gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
	gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
	(setFont, gtkSetFont): add.
	gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
	Propagate font to peer.  (setFont): add FIXME comment.

	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
	(gtkTextGetSize): fix height, width computation.

	* gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
	Make X font name a bit less bogus.

	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
	(post_adjustment_event): Pass on GTK_SCROLL_NONE.

	* java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
	(processAdjustmentEvent): Adjust value.

	* java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
	logic errors.

	* java/awt/Component.java (setVisible, show, hide): Call show and
	hide methods in subclasses.
	(getPreferredSize): don't set prefSize before we have peer.

	* java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
	Guess (0,0) if we don't have peer.

From-SVN: r63077
2003-02-19 00:35:35 +00:00
..
GdkFontMetrics.java
GdkGraphics.java
GtkArg.java
GtkArgList.java
GtkButtonPeer.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
GtkCanvasPeer.java
GtkCheckboxGroupPeer.java
GtkCheckboxMenuItemPeer.java
GtkCheckboxPeer.java
GtkChoicePeer.java
GtkClipboard.java
GtkComponentPeer.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
GtkContainerPeer.java
GtkDialogPeer.java
GtkFileDialogPeer.java
GtkFontPeer.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
GtkFramePeer.java
GtkGenericPeer.java
GtkImage.java
GtkImagePainter.java
GtkLabelPeer.java
GtkListPeer.java
GtkMainThread.java
GtkMenuBarPeer.java
GtkMenuComponentPeer.java
GtkMenuItemPeer.java
GtkMenuPeer.java
GtkOffScreenImage.java
GtkPanelPeer.java
GtkPopupMenuPeer.java
GtkScrollbarPeer.java
GtkScrollPanePeer.java
GtkTextAreaPeer.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
GtkTextComponentPeer.java
GtkTextFieldPeer.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
GtkToolkit.java
GtkWindowPeer.java
Test.java
TestAWT.java