Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Desktop application Not Responding when returning focus

User_N9CNBOct 28 2021

On a long serving Java app running on Windows 10 and on JRE 8 the user base started reporting a performance issue in the last couple of months. (32 bit)
I have found out that there is a pattern when the app is left to go to another program then there is a lag upon return to the Java app.
It feels like the JRE goes into some sort of sleep mode when losing focus and then needs some time to pick up again. In task manager the corresponding line - Java (TM) Platform SE binary - show Power Usage - High or Very High at that moment. There is no Thread doing any business logic at that time so it is related to returning the focus.
Is anybody aware of such a situation?
thank you,
Alex

Comments

Scott Wesley
Answer

The native Popup Lov facilitates multi-value selection (from 19.x), or the Select2 plugin can do the same. This would be from a known set of values.
They will store the values in a delimited string for that field, which you than then use apex_string.split to break it up as necessary.
If you need to dynamically add tags, then you may consider the United Codes List Extension plugin

Marked as Answer by SteveQuinlivan · Apr 21 2021
SteveQuinlivan

Thanks @scott-wesley, the Popup Lov will give me what i need

Regards

1 - 2

Post Details

Added on Oct 28 2021
0 comments
447 views