gcc/libjava/gnu/java
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
..
awt GtkComponentPeer.java (insets): New field. 2003-10-02 18:34:56 +00:00
beans [multiple changes] 2002-03-24 21:32:14 +00:00
io Engine.java, [...]: New files from classpath. 2003-04-30 07:23:42 +00:00
lang 2003-08-02 Michael Koch <konqueror@gmx.de> 2003-08-02 09:15:05 +00:00
locale 2003-07-13 Michael Koch <konqueror@gmx.de> 2003-07-13 15:00:20 +00:00
math Add license clarification. 2002-01-22 22:40:42 +00:00
net 2003-09-25 Michael Koch <konqueror@gmx.de> 2003-09-25 19:22:32 +00:00
nio re PR java/12426 (gcj allows access to private members from superclass) 2003-09-26 22:02:05 +00:00
rmi UnicastRef.java: make constructor public and check if serverobject is compatible in case client... 2003-09-20 21:23:47 +00:00
security 2003-06-19 Michael Koch <konqueror@gmx.de> 2003-06-19 09:45:44 +00:00
text SentenceBreakIterator.java (next): Skip all java white space characters. 2002-05-12 01:11:18 +00:00
util FileBasedFactory.java, [...]: New files, all merged from classpath. 2003-02-13 07:45:58 +00:00