Open spike83 opened 7 years ago
Hi, I also have this issue. Currrently I am using the workaround below:
private int delta = 1;
public void releaseFocus() {
if (officeFrame != null) {
try {
officeFrame.getXFrame().getContainerWindow().setVisible(false);
officeFrame.getXFrame().getContainerWindow().setVisible(true);
noaPanel.setSize(noaPanel.getWidth() + delta, noaPanel.getHeight());
delta *= -1;
} catch (Exception e) {
}
}
}
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:
The problem does not appear with Java 6.
Any ideas how to fix or work around.