Hi,
I added about 50 BButtons with icons to a scrollpane,
The Application freezes for about 2-5 seconds if i press one of the Buttons.
Why does this happen and what can i do against it?
drysens
Update: the problem seems to be createText() in com.jmex.bui.text.AWTTextFactory
Can you post or email me the code to recreate the issue? (standtrooper AT gmail DOT com)
I've not seen this issue, it could be something to do with the listeners and/or since createText is there there could be something that the app thinks should be there but isn't so it's running through all 50 buttons to perform a task…still shouldn't take 2-5 seconds and shouldn't freeze, but…
I've got a sample in tests I'll modify, but I'd like to see your code to see what is going on from your world.
timo
standtrooper said:
Can you post or email me the code to recreate the issue? (standtrooper AT gmail DOT com)
I fixed it:
I called rootnode.updateGeometricstate() in every update();
gbui doenst seem to like that.
drysens