Page 1 of 1
Hmmm, text box issues in oXygen v5 with J2SE 5.0
Posted: Fri Nov 19, 2004 1:09 am
by dnedrow
I was attempting to perform a search and replace in oXygen, when I found that nothing I type in the entry field for the search string appeared. However, when I clicked in the "replace" field, the text I had previously typed magically appeared. After checking several dialogs, I've found that I am unable to enter text in any dialog text fields.
I don't believe I have this problem on my Mac, but I'll test after bit.
Here are the details:
- Fedora Core 3
- Linux penguin 2.6.9-1.678_FC3smp #1 SMP Mon Nov 15 18:40:47 EST 2004 i686 athlon i386 GNU/Linux
- oXygen v5.0
- J2SE 5.0
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
-David
Posted: Fri Nov 19, 2004 2:16 pm
by george
Hi David,
Thanks, we will look into this.
Please use Java 1.4.2 on Linux, that should work without problems.
Best Regards,
George
Confirm: 5.0 oXygen OK with JDK 1.4.2, not with JDK 5.0
Posted: Sat Nov 20, 2004 6:37 am
by dnedrow
George,
Thanks for the info. I switched Oxygen 5 to use the 1.4.2 version of the JDK and it's working fine.
Switched back to JDK 5.0 and the text field problems come back, so it's definitely something new with JDK 5.
I'm fine for now. Thanks again.
-David
Posted: Wed Nov 24, 2004 7:06 pm
by george
Hi David,
FYI we managed to change the implementation so that it works ok also with J2SE 5.0 on Linux. Thanks for reporting it. The fix will be available in the next release.
Best Regards,
George
Posted: Thu Nov 25, 2004 6:41 am
by dnedrow
Great.
Thanks.
-David
Posted: Thu Dec 30, 2004 11:14 pm
by Aronek
Hi George,
If you wouldn't mind, what turned out to be the 1.5 problem? I am also seeing the text input issue with another app (the Java Console for Sun Management Center) ... i.e. you don't see what you typed until you click on a field and it gets pasted in.
If it's a flag I can pass 1.5 on the CLI as a workaround it'd be great. If its a coding issue I can probably get through to the developers to report it.
Any details would help alot.
Thanks!
Aronek
Posted: Thu Dec 30, 2004 11:16 pm
by Aronek
Oh yeah, this is using 1.5.0.1 from Sun on a Linux x86 32bit box. It seemed to work correctly with 1.5.0 on Windows.. not sure why that is.
Regards,
Aronek
Posted: Tue Jan 04, 2005 12:54 pm
by george
Hi,
We had something like
Code: Select all
public void focusGained(FocusEvent e) {
toFindComboBox.getEditor().selectAll();
}
and this cased the text to became invisible.
The workaround solution was to replace it with something like:
Code: Select all
public void focusGained(FocusEvent e) {
if (toFindComboBox.getSelectedItem() != null) {
JTextComponent editor = (JTextComponent)toFindComboBox.getEditor().getEditorComponent();
editor.setCaretPosition(0);
editor.moveCaretPosition(doc.getLength());
}
}
Hope that helps,
George
Odd UI problems
Posted: Wed Jan 12, 2005 11:28 pm
by pdrivas
If it's any help, we also see this focus problem on Windows XP SP2 with Java 1.5.0.10. Any idea when we could pick up the next release with this fix?
Posted: Wed Jan 12, 2005 11:51 pm
by george
We made a beta version available on the oxygen-user list, please try that and let us know if you have problems with it.
http://www.oxygenxml.com/pipermail/oxyg ... 00345.html
Best Regards,
George
Posted: Thu Jan 13, 2005 8:01 am
by dnedrow
Looks like that fixes the text field problem I was having with Sun's JDK 5 under Linux.
-David
Beta 5.1
Posted: Thu Jan 13, 2005 4:34 pm
by pdrivas
Thanks. I installed the beta and have been using it for a while without a problem.