I have sent mail to [EMAIL PROTECTED] describing the problem. I
included this code to test the menus as well:
import java.awt.*;
import java.awt.event.*;
import com.sun.java.swing.*;
import com.sun.java.swing.event.*;
public class Test extends JFrame
{
public static void main (String argv[]) throws Exception
{
Test t = new Test ();
t.show ();
}
public Dimension getPreferredSize ()
{
return new Dimension (640, 480);
}
public Test ()
{
super ("Test");
// add window event hooks
addWindowListener (new WindowAdapter () {
public void windowClosing (WindowEvent e) {
dispose ();
System.exit (0);
}
});
// set the size and location
Dimension frameSize = getPreferredSize();
Dimension screenSize =
java.awt.Toolkit.getDefaultToolkit().getScreenSize();
setSize (frameSize);
setLocation (screenSize.width / 2 - frameSize.width / 2,
screenSize.height / 2 - frameSize.height / 2);
// Menu bar
JMenuBar bar = new JMenuBar ();
setJMenuBar (bar);
JMenuItem item;
JMenu menu;
// PMS Menu
menu = new JMenu ("WindowMaker");
bar.add (menu);
{
item = new JMenuItem ("Quit");
item.addActionListener (new ActionListener () {
public void actionPerformed (ActionEvent e) {
dispose ();
System.exit (0);
}
});
menu.add (item);
}
// Help menu
menu = new JMenu ("Help");
menu.setMnemonic ('H');
bar.add (menu);
menu.add (new JMenuItem ("About..."));
pack ();
}
}
--jason
On 30-Sep-98 Michael Sinz wrote:
> On Wed, 30 Sep 1998 16:33:30 -0700 (PDT), Jason Dillon wrote:
>
>>Do you have an specifics that I could give them that would make it easier for
>>them to fix? I don't know much about window manager (internals that is).
>
> I don't know that much either. Given that they do WM development,
> they must have some tools to see what is happening. The best thing
> would be to give them a small program that shows the problem.
> A simple Java program with information as to where to download
> Java and the fact that it does not have this problem in mwm, fvwm, fvwm2,
> etc. would be a relatively good way for them to be able to reproduce
> and fix the problem.
>
>>On 30-Sep-98 Michael Sinz wrote:
>>> On Wed, 30 Sep 1998 14:56:25 -0700 (PDT), Jason Dillon wrote:
>>>
>>>>I am using Window Maker (0.20.1). I do not have this problem with fvwm or
>>>>fvwm2.
>>>
>>> I would suggest that you contact WindowMaker about this problem.
>>> I can not see why it would not work based on the code.
>>>
>>> Michael Sinz -- Director of Research & Development, NextBus Inc.
>>> mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
>>> My place on the web ---> http://www.users.fast.net/~michael_sinz
>>
>
>
> Michael Sinz -- Director of Research & Development, NextBus Inc.
> mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
> My place on the web ---> http://www.users.fast.net/~michael_sinz