如何获得“丝带"?UI组件(如Office 2007中的Java程序中的组件)? [英] How to get a "ribbon" UI component, like in Office 2007, in a Java program?

查看:38
本文介绍了如何获得“丝带"?UI组件(如Office 2007中的Java程序中的组件)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个基于功能区的GUI.关于Java接口,我几乎是一个新手,我已经使用了基本的Swing工具包,仅此而已.

任何人都可以为我指出正确的方向,该怎么做以提高UI的灵活性,尤其是能够创建功能区"?

解决方案

使用 .

更新2013-11-05:不幸的是,虽然我认为它们已经完成并可以投入生产,但是目前并没有积极维护Substantial及其后续产品.

当前代码可以在Github上的 Instantial/instanstantial 中找到.(其中火烈鸟"已集成到非实质"包中)

似乎还存在一个相对最新的Maven文物.(请参见 http://mvnrepository.com/artifact/com.github.insubstantial )

更新2018-09-17:它于2016年12月重新启用,自2017年2月以来有维护更新,并且现在,火烈鸟已成为光辉计划"的一部分.

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"?

解决方案

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.

这篇关于如何获得“丝带"?UI组件(如Office 2007中的Java程序中的组件)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆