You can use the newly created look and feel in any Swing application by invoking the following line in the main method before the first widget is created.
通过在main方法中第一个窗口小部件创建之前调用下面一行代码,您便可以在任何Swing应用程序中使用新创建的lookandfeel。
We have a similar constructor in all our other widget classes so that we can find and construct any type of widget dynamically.
其他所有窗口小部件中都有相似的构造函数,以便动态查找和构造任何类型的窗口小部件。
The Translator widget allows you to hover over the translated content and see the original English sentence in context as well as suggest a new translation or pick from any of the suggested ones.
翻译器组件允许您悬停在翻译的文章内容上,您可以查看上下文中的英文原版内容,并且可以提供新的翻译或从建议的翻译中挑选任何一个出来。
The code in this file is responsible for initializing the widget when it is first loaded, and for publishing and handling any events for communicating with other widgets.
该文件中的代码负责在初次装载小部件时初始化小部件,并发布和处理事件,以便与其他小部件通信。
The widget has been implemented to display the related error message and to change the look and feel in case any error occurs while setting its value.
这个小部件能够显示相关的错误消息,如果在设定其值时发生错误,还能改变观感。
In short, a gadget or widget is any mini-application that's easy to build, easy to deploy, and easy to consume.
简而言之,gadget或widget就是易于构建、易于部署和易于使用的迷你应用程序。
The code snippet shown in Listing 2 specifies that any element (Dojo widget) that needs to be rendered is created in this method and added to the DOM node of the container div.
清单2中显示的代码片段规定:要呈现的任何元素(Dojowidget)都在此方法中创建,并且添加到容器div的DOM节点上。
In addition to the normal operations that would be expected of any table widget, NatTable can scale to have over a million rows and 500 columns.
除了现在任何表格都具备的常用功能外,NatTable还具有扩展到100万行和500列的能力。
In addition to the normal operations that would be expected of any table widget, NatTable can scale to have over a million rows and 500 columns.
除了现在任何表格都具备的常用功能外,NatTable还具有扩展到100万行和500列的能力。
应用推荐