Subject: Notification: incoming/954

From: [email-masked]
Date: Wed, 06 Nov 2002 13:54:13 -0600

FVWM Bug Tracking notification

new message incoming/954

Message summary for PR#954
	From: [email-masked]
	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-masked] Wed Nov 06 13:54:13 2002
From: [email-masked]
To: [email-masked]
Subject: Java Swing issue with IBM Java 1.3.1
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-masked].
To report problems, send mail to [email-masked]