问题
I am running a javaFx application. When I click on some buttons it show the following error:
Can't create transparent stage, because your screen doesn't support alpha channel. You need to enable XComposite extension.
I am not able to find the problem. I almost spent an hour but still no output. Please help.
Thanks on advance!
回答1:
It's a known issue for Linux systems without XComposite extension installed: https://javafx-jira.kenai.com/browse/RT-19700
Unfortunately you need to install XCompoiste extension to work with JavaFX applications using transparency.
来源:https://stackoverflow.com/questions/19064944/showing-an-error-when-running-javafx-application