How to get a “ribbon” UI component, like in Office 2007, in a Java program? [closed]

被刻印的时光 ゝ 提交于 2019-11-28 21:15:25

问题


I want to create a ribbon-based GUI. I am pretty much a newbie when it comes to Java interfaces, I have used the basic Swing toolkit, but that's it.

Can anyone point me in the right direction regarding what to do to get more flexibility with my UI and in particular being able to create a "ribbon"?


回答1:


Use Flamingo for the Ribbon and Substance for the Office 2007 look.

Here's a small preview from Pushing Pixels:

PS: Not directly related to your question, but if you are new to Java UI programming, make sure you don't miss out on MigLayout.

Update 2013-11-05: Unfortunately Substantial and its successors are not actively maintained at the moment, although in my experience they are complete and production ready.

The current code can be found at Github at Insubstantial/insubstantial. (Where "Flamingo" has been integrated into the "Insubstantial" package)

Also there seems to be a relatively up-to-date version available as a Maven artefact. (See http://mvnrepository.com/artifact/com.github.insubstantial)

Update 2018-09-17: It was reanimated in December 2016, there were Maintenance Updates since February 2017 and now Flamingo is part of Project Radiance.



来源:https://stackoverflow.com/questions/1530363/how-to-get-a-ribbon-ui-component-like-in-office-2007-in-a-java-program

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