This is my fault. I sent you the wrong test source code. I'm running
a number of test cases for Sun. Anyway attached is the correct source
code that produced the image listed in my previous email.
I tried with both the constructor and with using setTitle, both
produced the same results.
Brad Giaccio wrote:
>
> When I run this with 1.3 or 1.2 FvwmIdentify reports no name or icon
> label as would be expected. If you run win.setTitle("to some title");
> I don't know how you could be getting the title you depict in your
> screenshot.
>
> On Mon, Jul 16, 2001 at 07:31:59AM -0500, [EMAIL PROTECTED] wrote:
> > Full_Name: Keith Spainhour
> > Version: 2.4.0
> > CVS_Date:
> > OS: Solaris 8
> > X_Server:
> > Submission from: (NULL) (64.102.86.89)
> >
> >
> > Using Java 1.3.1 and Java 1.4 Beta, all Java Windows, (JFrame, JWindow)
> > begin with >(B and then the window title. Sun claims this is a FVWM bug.
> > I have not seen this on any other window manager.
> >
> > Here is a url to a picture of a window:
> > http://www.employees.org/~keiths/WindowTest.gif
> >
> > Here is ths java source code to reproduce:
> >
> > import javax.swing.*;
> >
> > public class WindowTest
> > {
> > static void main (String[] args)
> > {
> > JFrame win = new JFrame ();
> > win.getContentPane().add (new JLabel ("Test the JWindow"));
> > win.setSize (200, 200);
> > win.pack();
> > win.show ();
> > }
> > }
> >
> >
> >
>
> --
> --- There are two kinds of knowledge, you either know the answer or
> you know where to find it
> -Kane, Johnson, and anonymous
--
Keith Spainhour 919-392-5673
Software Engineer [EMAIL PROTECTED]
Cisco Systems http://www.cisco.com
import javax.swing.*;
public class WindowTest
{
static void main (String[] args)
{
JFrame win = new JFrame ("This is the window Title");
//win.setTitle ("Window Title 2");
win.getContentPane().add (new JLabel ("Test the JWindow"));
win.setSize (200, 200);
win.pack();
win.show ();
}
}