To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49452
                  Issue #:|49452
                  Summary:|OOoBean:scrunched menu bar.
                Component:|api
                  Version:|680m100
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|jl
              Reported by:|jl





------- Additional comments from [EMAIL PROTECTED] Wed May 18 05:11:23 -0700 
2005 -------
When Running a test where the bean is repetedly added and removed to a Java
frame, sometimes the menu bar is scrunched. It seemed that all menu names are
written one above the other. However, the menus can be activated by the 
keyboard.

final OOoBean bean = new OOoBean();
java.awt.Frame frame = new java.awt.Frame("OpenOffice.org Demo");
frame.add(bean, BorderLayout.CENTER);
frame.pack();
frame.setSize(600,300);
frame.show();
bean.loadFromURL("private:factory/swriter", null);
 
for (int i = 0; i < 100; i++)
 {
     bean.releaseSystemWindow();
     frame.remove(bean);
     frame.add(bean, BorderLayout.CENTER);
     bean.aquireSystemWindow();
}
frame.addWindowListener( new WindowAdapter() {
    public void windowClosing( java.awt.event.WindowEvent e) {
         try {
              bean.stopOOoConnection();
        } catch (Exception exc) {
        }
        ((java.awt.Window)e.getSource()).dispose();
   }
               
 });

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to