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

HUD window flicker on resize #176

Open
GoogleCodeExporter opened this issue May 4, 2015 · 1 comment
Open

HUD window flicker on resize #176

GoogleCodeExporter opened this issue May 4, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

My project uses macwidgets, and one of the windows uses HudWindow, but when you 
resize the whole thing gets repainted repeatedly causing massive flicker:

http://code.google.com/p/jarzilla/
http://code.google.com/p/jarzilla/source/browse/trunk/jarzilla/src/main/java/com
/googlecode/jarzilla/ui/ResourceExplorer.java

Original issue reported on code.google.com by [email protected] on 18 Feb 2011 at 5:50

@GoogleCodeExporter
Copy link
Author

Thought I'd mention that since the HUD looks like it probably uses the 
setUndecorated(true) method on the JFrame(?) this will cause resize flicker on 
the mac currently. I was recently playing around with writing a custom 
JRootPane and found that when I went to set the window to undecorated, I 
understandably lost the growbox in the bottom right corner, I didn't think this 
was a big deal at first, but resizing the frame any other way caused nasty 
flickering, you can also see this if you try to use a third party LAF that 
replaces the rootpane (i.e. Substance). it doesn't appear that there is a good 
way around this:

http://lists.apple.com/archives/Java-dev/2006/Mar/msg00179.html

http://lists.apple.com/archives/java-dev/2008/sep/msg00280.html

My guess is that the HUD window isn't really meant to be resized. I say all of 
this without having used it :P but hoping to help point out why it might be 
happening

Original comment by [email protected] on 23 Mar 2011 at 2:58

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

No branches or pull requests

1 participant