FVWM Bug Tracking notification

new message incoming/954

Message summary for PR#954
        From: [EMAIL PROTECTED]
        Subject: Java Swing issue with IBM Java 1.3.1
        Date: Wed, 06 Nov 2002 13:54:12 -0600
        0 replies       0 followups

====> ORIGINAL MESSAGE FOLLOWS <====

>From [EMAIL PROTECTED] Wed Nov 06 13:54:13 2002
Received: from util2.math.uh.edu ([129.7.128.23])
        by malifon.math.uh.edu with esmtp (Exim 3.20 #1)
        id 189WFh-0002Dp-00
        for [EMAIL PROTECTED]; Wed, 06 Nov 2002 13:54:13 -0600
Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail)
        by util2.math.uh.edu with esmtp (Exim 4.10)
        id 189WFh-0003UR-00
        for [EMAIL PROTECTED]; Wed, 06 Nov 2002 13:54:13 -0600
Received: from localhost ([127.0.0.1] ident=65534)
        by malifon.math.uh.edu with esmtp (Exim 3.20 #1)
        id 189WFg-0002Dl-00
        for [EMAIL PROTECTED]; Wed, 06 Nov 2002 13:54:12 -0600
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Java Swing issue with IBM Java 1.3.1
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 06 Nov 2002 13:54:12 -0600

Full_Name: Paul Powell
Version: 2.4.4
CVS_Date: 
OS: 
X_Server: XFree86 4.0.3
Submission from: (NULL) (64.94.3.42)


If a non-resizable JDialog is created, the dialog becomes super huge (32000
x 32000 pixels).  If the JDialog is made resizable the problem goes away.

This problem occurs on our boot CD running linux at 640x480 resolution.

Sample Code:

import javax.swing.*;
import javax.swing.border.EmptyBorder;
import java.awt.BorderLayout;
import java.awt.event.*;
import java.awt.Graphics;
import java.io.*;

public class FVWMDbg extends JDialog
{
   public FVWMDbg(JFrame f)
   {
      super(f, "Title", true);
      this.getContentPane().add(new JButton("Hello World!"));
      this.setResizable(false);
      this.pack();
   }

   public static void main(String argv[])
   {
      JFrame f = new JFrame();
      FVWMDbg r = new FVWMDbg(f);
      f.setSize(200,200);
      f.setVisible(true);
      r.setVisible(true);      
   }
}



--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to