gcc/libjava/java/awt
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
..
color 2003-02-13 Michael Koch <konqueror@gmx.de> 2003-02-13 19:28:32 +00:00
datatransfer 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 13:26:26 +00:00
dnd 2003-02-17 Michael Koch <konqueror@gmx.de> 2003-02-17 15:26:30 +00:00
event Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
font 2003-02-17 Michael Koch <konqueror@gmx.de> 2003-02-17 15:26:30 +00:00
geom 2003-01-14 Michael Koch <konqueror@gmx.de> 2003-01-14 21:21:35 +00:00
im Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
image ColorModel.java: Re-merged with Classpath. 2003-02-18 00:57:26 +00:00
peer
print 2003-02-17 Michael Koch <konqueror@gmx.de> 2003-02-17 15:26:30 +00:00
ActiveEvent.java
Adjustable.java
AlphaComposite.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
AttributeValue.java
AWTError.java
AWTEvent.java
AWTEventMulticaster.java
AWTException.java
AWTKeyStroke.java
AWTPermission.java
BasicStroke.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
BorderLayout.java
BufferCapabilities.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
Button.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
Canvas.java
CardLayout.java CardLayout.java (show): Rewrote. 2003-01-15 22:47:04 +00:00
Checkbox.java
CheckboxGroup.java
CheckboxMenuItem.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
Choice.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
Color.java
ColorPaintContext.java
Component.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
ComponentOrientation.java
Composite.java
CompositeContext.java
Container.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
ContainerOrderFocusTraversalPolicy.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
Cursor.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
DefaultFocusTraversalPolicy.java
DefaultKeyboardFocusManager.java
Dialog.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
Dimension.java
DisplayMode.java 2003-01-10 Michael Koch <konqueror@gmx.de> 2003-01-11 00:51:29 +00:00
Event.java
EventDispatchThread.java
EventQueue.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
FileDialog.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
FlowLayout.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
FocusTraversalPolicy.java
Font.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
FontFormatException.java
FontMetrics.java
Frame.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
GradientPaint.java
Graphics2D.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
Graphics.java 2003-02-13 Michael Koch <konqueror@gmx.de> 2003-02-13 19:26:57 +00:00
GraphicsConfigTemplate.java
GraphicsConfiguration.java
GraphicsDevice.java
GraphicsEnvironment.java
GridBagConstraints.java GridBagConstraints.java (FIRST_LINE_ENT, [...]): New constants. 2003-02-13 07:02:12 +00:00
GridBagLayout.java
GridLayout.java
HeadlessException.java
IllegalComponentStateException.java
Image.java
ImageCapabilities.java
Insets.java
ItemSelectable.java
JobAttributes.java
KeyboardFocusManager.java GridBagConstraints.java (FIRST_LINE_ENT, [...]): New constants. 2003-02-13 07:02:12 +00:00
KeyEventDispatcher.java
KeyEventPostProcessor.java
Label.java 2003-02-13 Michael Koch <konqueror@gmx.de> 2003-02-13 19:28:32 +00:00
LayoutManager2.java
LayoutManager.java
List.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
MediaTracker.java
Menu.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
MenuBar.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
MenuComponent.java GridBagConstraints.java (FIRST_LINE_ENT, [...]): New constants. 2003-02-13 07:02:12 +00:00
MenuContainer.java
MenuItem.java
MenuShortcut.java
PageAttributes.java
Paint.java
PaintContext.java
Panel.java
Point.java
Polygon.java
PopupMenu.java 2003-02-13 Michael Koch <konqueror@gmx.de> 2003-02-13 19:28:32 +00:00
PrintGraphics.java
PrintJob.java
Rectangle.java
RenderingHints.java
Robot.java
Scrollbar.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
ScrollPane.java 2003-02-13 Michael Koch <konqueror@gmx.de> 2003-02-13 19:28:32 +00:00
ScrollPaneAdjustable.java
Shape.java
Stroke.java
SystemColor.java
TextArea.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
TextComponent.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
TextField.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
TexturePaint.java
Toolkit.java GridBagConstraints.java (FIRST_LINE_ENT, [...]): New constants. 2003-02-13 07:02:12 +00:00
Transparency.java
Window.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00