[4536] in java-interest

home help back first fref pref prev next nref lref last post

Re: Help with Dialog boxes

daemon@ATHENA.MIT.EDU (Kevin Conner)
Fri Jan 5 11:38:57 1996

Date: Fri, 5 Jan 96 14:55:05 GMT
From: knrc@impmh.uucp.sun.com (Kevin Conner)
To: aim@scndprsn.eng.sun.com
Cc: java-interest@java.sun.com
Reply-To: knrc@impltd.com


Hi Amy.

I've done some playing about since my last email and this is
what I have found.

The instance of Insets being returned to the BorderLayout class
is from the sun.awt.motif.MDialogPeer class, so it is correctly
querying the peer object.  For some reason the peer object is
creating an Insets object of (0,0,0,0) and returing it to the
BorderLayout class, this appears to be the problem.

Unfortunately I do not have access to the source for this but
here is the start of the backtrace :-

java.awt.Insets.<init> (Insets.java:63)
sun.awt.motif.MDialogPeer.insets (MDialogPeer.java:104)
java.awt.Container.insets (Container.java:94)
java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:179)
...

The backtrace from the BorderLayout.layoutContainer is the same.

I'll do some more investigating this weekend.

	Kev

P.S. For the list, I'm running what I believe to be the prebeta
version of java (Oct 30 - Nov 2) on a Sparc Station 10 using
Solaris 2.3.

------------------------------------------------------------------------------
Kevin Conner                 knrc@impltd.com         Integrated Micro Products
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post