Labels position, front to back

If I hit the Alt key (as I would to get a menu item, or to toggle to another application), labels are moved to front, obscuring other elements, like fields and buttons.

It may be just a local issue and not a bug. Can anyone else reproduce this?

In case you’re wondering why on earth I have a label overlaps a field or button, see this thread: http://forum.servoy.com/viewtopic.php?t … styleclass

Versions, etc.:
Microsoft Windows 2000 5.00.2195 Service Pack 4
Servoy Developer Version R2 2.1.1-build 313
Java version 1.4.1_02-b06 (Windows 2000)
Adaptive Server Anywhere 9, version 9.0.1.1751
Sybase Central 4.3.0.2184

Chris,

Why not just LOCK your labels used for drawing purposes?

Um… Bob, I DID lock it. Doesn’t seem to matter.

Can anyone else reproduce this behavior?

it looks like youre labels are repaiting somehow
maybe because they think they have a mnemonic or something like that

I can’t reproduce it at my place when i place a field over a label and then press alt. They label just stays where it is.

You did upgrade youre java version? Still the same problem?

Yes and yes.

Any further thoughts on this? Can no one reproduce this?

I’d like to use faux labels for backgrounds in certain cases, but can’t, because the Alt key consistently moves the label to the front.

What’s a mnemonic in this context, anyway?

i can’t reproduce it as i said
Did you try other look and feels?

a mnemonic is the char in a label or menu with a _ in the name where you can jump to by using the ALT key. Thats why i think it will somehow dray the mnemonic char of the label and because of that it is comming to front. But our labels don’t have a mnemonic.

Are you sure that you are running servoy with the new java version? Does about box in servoy confirm this?

The label has the text ‘company_name’ in it, but different names aren’t changing behavior.

From the ‘about’ box:

Servoy Developer
Version R2 2.1.2-build 315
Java version 1.4.2_06-b03 (Windows 2000)

Aha! This behavior only seems to occur with Windows LAF.

Can you reproduce it with the Windows LAF, and the trigger example solution I sent you previously?

Assuming you can, is there just something inherent in the Windows LAF, or can this be prevented?

now i also see it
I tested more lnf and java versions:

java 1.5.0 with the Windows lnf or the Windows Classic lnf: NO problems
java 1.4.2 with the windows lnf does have the problem but other lnf not.

I don;t think we can fix this. These things are burried in the specific lnf code of the java implentation.

It seems to be fixed in 1.5.0. So if you really want that it also gets fixed in 1.4.2 then you could contact sun. (java.sun.com)

Thanks, Johan!

Can anyone point me to where I can download 1.5? I’ve looked, but only found 1.4.2.

Are there any known issues with upgrading to 1.5?

its pretty easy to be found on java.sun.com
only sometimes the say it is 1.5.0 and the 5.0 (numbering is quite confusing)

http://java.sun.com/j2se/1.5.0/download.jsp

then the JDK (if you want to use the developer/server) or the jre (only needed for the client)

i am running with 1.5.0 for quite sometime now and there where some minor bugs but they are all fixed in the latest release. We fully support servoy on 1.5. (or 5.0)

Wow, I can point you (and I did earlier to Jan B.) some differences between 1.4.2 and 1.5 that are still not fixed. Mostly print-issues.