这是indexloc提供的服务,不要输入任何密码
Skip to content

Double focus problem with Swing #16

@spike83

Description

@spike83

I got a prblem when using noa-libre with Swing.
When I'm focusing the Writer and typing and then klick on swing component like JTextField there are two cursors blinking one in Writer and another in JTextField. Text input is appended to the writer.

This happens with Java > 1.6 on Windows even with the latest Java 1.8 and latest LibreOffice 5.2.6.2.

I used the SimpleApp and added the JTextField to demonstrate:

    noaPanel = new JPanel();
    JTextField field = new JTextField();
    getContentPane().add(noaPanel);
    getContentPane().add(field);

The problem does not appear with Java 6.

Any ideas how to fix or work around.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions