Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JPopupMenu lose focus when its bounds outside of window #273

Closed
weimsh opened this issue Mar 22, 2021 · 5 comments
Closed

JPopupMenu lose focus when its bounds outside of window #273

weimsh opened this issue Mar 22, 2021 · 5 comments
Milestone

Comments

@weimsh
Copy link

weimsh commented Mar 22, 2021

Hi author,
I have a question about JPopupMenu focus, that is when I show it inside of window(or Frame), its children components can request focus in window(in snapshot #1), but when it is showing outside of window(or Frame), its children components cannot request focus any more(in snapshot #2).
Can you give some suggestions?

1


2

@DevCharly
Copy link
Collaborator

Thanks for reporting.

Is it just the missing blue focus border?
Or is it not possible to enter text in the popup?

Tried this with a simple form in a JPopupMenu.
In my case the blue border is missing, but it is possible to enter text.

@weimsh
Copy link
Author

weimsh commented Mar 23, 2021

Yes, only the blue border of textfield is missing, the table, the table cells are also missing too.

the control of all the components are ok!

@DevCharly
Copy link
Collaborator

Fixed in main branch.

Please try the latest 1.2-SNAPSHOT and let me know whether it now works:
https://github.com/JFormDesigner/FlatLaf#snapshots

@DevCharly DevCharly added this to the 1.1.1 milestone Mar 24, 2021
@weimsh
Copy link
Author

weimsh commented Mar 24, 2021

It indeed works, the textfield's focus border, the table's focus border and its row selection are ok now!
Thank you!

1


3

@DevCharly
Copy link
Collaborator

Great 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants