JDK-4231436 : When using fvwm & fvwm2, Swing JFrame titles are prefixed with "(B".
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1.7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.5.1
  • CPU: sparc
  • Submitted: 1999-04-20
  • Updated: 2002-07-30
  • Resolved: 2002-07-30
Related Reports
Duplicate :  
Description

Name: krT82822			Date: 04/20/99


This problem seems to occur with all versions of swing (at least
since swing-1.0.2.

I was tested also with multiple version of JDK (1.1.5 and later).

The basic problem is that all JFrames created with a title of 
at least a character, are automatically prefixed with a "(B" when
running the application under fvwm and fvwm2.

The following code brings up the problem :-

import com.sun.java.swing.*;
import java.io.*;

public class Test
{
    public void main(String args[])
    {
        JFrame frame = new JFrame("Test");
        frame.resize(300, 200);
        frame.show();
        frame.setVisble(true);
    }
}


The title bar will now look like :-

    (BTest

This problem does not occur on the NT machines, running a shell
and does not happen with some other window managers.

This is a damn nuisnace.
(Review ID: 57176) 
======================================================================

Comments
EVALUATION As JFrame(String) is simply passed to super, this sounds more like an AWT issue. Reassgining to awt. scott.violet@eng 1999-05-05 Not Reproducible on JDK1.1.7 or JDK1.1.8, sol2.5.1, swing-1.0.2 or swing-1.1. mike.bronson@eng 1999-05-10 Not Reproducible on JDK1.3. mike.bronson@eng 1999-07-26 I reopened this bug because of JDC comments indicating that people are still seeing it with 1.3.1. One comment indicates that it does not happen in the C locale, which may explain why we weren't able to reproduce it. It would be helpful to know in which locales this problem is seen. This is not a high priority bug, since fvwm is not one of our core configurations. eric.hawkes@eng 2001-08-10
10-08-2001