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

FR: allow tooltips as baloons too #766

Open
mlaggner opened this issue Nov 20, 2023 · 2 comments
Open

FR: allow tooltips as baloons too #766

mlaggner opened this issue Nov 20, 2023 · 2 comments

Comments

@mlaggner
Copy link

mlaggner commented Nov 20, 2023

In addition to the classic tooltips, more modern (web like) balloon like tooltips would be nice.

E.g. Visual Studio Code
image

or DarkLaf tooltips: https://github.com/weisJ/darklaf/wiki/Tooltips

@DevCharly
Copy link
Collaborator

Well, maybe in the (not so near) future...

At the moment, tooltips (and popups) use native borders with nice native drop shadows on nearly all platforms (except on Windows 10).

Not sure whether native balloon like popups/windows are supported/provided by Windows/macOS/Linux.

So it would be necessary to implement them in Java.
This would be no problem for "light weight" tooltips that fit into the main window.
But there are some technical issues for "heavy weight" tooltips, which are partly/fully out of the main window.
(transparent window and font rendering)

If you need some kind of ballon component now, here is some code used in the FlatLaf demo:

@mlaggner
Copy link
Author

Thanks for the response - I already implemented this for a few tooltips/hints in my app, but having this for all popups would be perfect ;)

At the moment adding them is very cumbersome...

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