showing an error when running javaFx application

Deadly 提交于 2020-01-24 09:34:38

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!