gcc/libjava/java/awt
Thomas Fitzsimmons b59b508138 GtkComponentPeer.java (insets): New field.
2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
	field.
	(initializeInsets): New method.
	(GtkComponentPeer): Call initializeInsets.  Call setCursor and
	setBounds unconditionally.
	(setBounds): Convert coordinates if parent is a Window.
	* gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
	field to GtkComponentPeer.
	(GtkContainerPeer): Don't initialize insets.
	* gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
	New method.
	(create): Call new GtkWindowPeer create method.
	* gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
	New method.
	(create): Call new GtkWindowPeer create method.
	(setBounds): Remove method.
	(postConfigureEvent): Likewise.
	* gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
	type constants with GDK window type constants.
	(create(int,boolean,int,int,GtkWindowPeer)): New method.
	(create(int,boolean)): Likewise.
	(create()): Call create(int,boolean).
	(nativeSetBounds): New native method declaration.
	(setBounds): Call native method declaration.
	(setSize): New native method declaration.
	(setBoundsCallback): Likewise.
	(postConfigureEvent): Handle change in insets.  Call setSize and
	setBoundsCallback methods.
	* java/awt/Window.java (Window): Set visible to false.
	(setBoundsCallback): New method.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
	(gtkWidgetGetLocationOnScreen): If this component is not a
	container, adjust the location returned based on the peer's
	allocation.
	(set(String,boolean)): Revert change from 2003-09-19.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
	(awt_event_handler): Fix inset calculation.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
	glue for Window.setBoundsCallback.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
	Set up stacking order, window decorations and window manager
	hints.
	(setBoundsCallback): New method.
	(setSize): New method.
	(nativeSetBounds): New method.
	* jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.

From-SVN: r72043
2003-10-02 18:34:56 +00:00
..
color Font.java, [...]: New versions from classpath. 2003-06-24 10:50:21 +00:00
datatransfer Font.java, [...]: New versions from classpath. 2003-06-24 10:50:21 +00:00
dnd Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
event GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter. 2003-08-05 18:04:09 +00:00
font [multiple changes] 2003-09-25 14:38:02 +00:00
geom RoundRectangle2D.java (getPathIterator): Wrote. 2003-09-26 15:14:21 +00:00
im SharedLibLoader.java: Fix misspelling. 2003-07-11 18:27:54 +00:00
image IndexColorModel.java: Reformated. 2003-09-29 11:28:58 +00:00
peer Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
print Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
ActiveEvent.java
Adjustable.java
AlphaComposite.java
AttributeValue.java
AWTError.java
AWTEvent.java
AWTEventMulticaster.java
AWTException.java
AWTKeyStroke.java
AWTPermission.java
BasicStroke.java Component.java: Indentation cleanup from Classpath. 2003-09-20 21:30:39 +00:00
BorderLayout.java
BufferCapabilities.java
Button.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
Canvas.java
CardLayout.java CardLayout.java (show): Rewrote. 2003-01-15 22:47:04 +00:00
Checkbox.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
CheckboxGroup.java
CheckboxMenuItem.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
Choice.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
Color.java Color.java (getAlpha): Prevent sign-extended alpha values. 2003-08-13 03:20:04 +00:00
ColorPaintContext.java
Component.java Component.java: Indentation cleanup from Classpath. 2003-09-20 21:30:39 +00:00
ComponentOrientation.java
Composite.java
CompositeContext.java
Container.java 2003-08-10 Jeroen Frijters <jeroen@frijters.net> 2003-08-12 20:23:22 +00:00
ContainerOrderFocusTraversalPolicy.java 2003-03-24 Michael Koch <koqnueror@gmx.de> 2003-03-24 13:50:32 +00:00
Cursor.java
DefaultFocusTraversalPolicy.java
DefaultKeyboardFocusManager.java
Dialog.java GtkDialogPeer.java (create()): Create a top-level GTK window. 2003-09-19 19:27:59 +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 EventQueue.java (currentEvent, lastWhen): New fields. 2003-08-11 18:26:08 +00:00
FileDialog.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
FlowLayout.java XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
FocusTraversalPolicy.java 2003-03-10 Michael Koch <konqueror@gmx.de> 2003-03-10 13:21:38 +00:00
Font.java Font.java: Stub out more recent API. 2003-08-13 16:49:58 +00:00
FontFormatException.java
FontMetrics.java
Frame.java GtkDialogPeer.java (create()): Create a top-level GTK window. 2003-09-19 19:27:59 +00:00
GradientPaint.java
Graphics2D.java 2003-02-19 Michael Koch <konqueror@gmx.de> 2003-02-19 09:46:43 +00:00
Graphics.java Frame.java, [...]: New versions from classpath. 2003-06-11 10:37:48 +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 [multiple changes] 2003-07-25 12:50:44 +00:00
GridBagLayoutInfo.java [multiple changes] 2003-07-25 12:50:44 +00:00
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 Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
LayoutManager2.java
LayoutManager.java
List.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
MediaTracker.java [multiple changes] 2003-07-25 12:50:44 +00:00
Menu.java Frame.java, [...]: New versions from classpath. 2003-06-11 10:37:48 +00:00
MenuBar.java
MenuComponent.java 2003-03-02 Michael Koch <konqueror@gmx.de> 2003-03-02 19:24:49 +00:00
MenuContainer.java
MenuItem.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
MenuShortcut.java
PageAttributes.java
Paint.java
PaintContext.java
Panel.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
Point.java
Polygon.java
PopupMenu.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
PrintGraphics.java
PrintJob.java
Rectangle.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
RenderingHints.java
Robot.java Frame.java, [...]: New versions from classpath. 2003-06-11 10:37:48 +00:00
Scrollbar.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
ScrollPane.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
ScrollPaneAdjustable.java Checkbox.java, [...]: New versions from classpath. 2003-05-25 11:24:27 +00:00
Shape.java
Stroke.java
SystemColor.java
TextArea.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
TextComponent.java 2003-02-15 Michael Koch <konqueror@gmx.de> 2003-02-15 09:21:55 +00:00
TextField.java Button.java, [...]: New versions from Classpath. 2003-06-05 19:58:40 +00:00
TexturePaint.java
Toolkit.java Toolkit.java (getSystemEventQueue, [...]): Replace UTF-8 characters in Javadoc by XML/HTML escape sequence. 2003-09-18 22:37:48 +00:00
Transparency.java
Window.java GtkComponentPeer.java (insets): New field. 2003-10-02 18:34:56 +00:00