Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4231436

When using fvwm & fvwm2, Swing JFrame titles are prefixed with "(B".

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.7
    • client-libs
    • sparc
    • solaris_2.5.1



      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)
      ======================================================================

            uwesunw Uwe Uwe (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: