📄 lookandfeel.html
字号:
<!DOCTYPE HTML PUBLIC "-//SoftQuad Software//DTD HoTMetaL PRO 6.0::19990601::extensions to HTML 4.0//EN" "hmpro6.dtd"><HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY> <P></P> <H3>Look And Feel</H3> <P> Abeille Forms Designer has support for multiple look and feels. It supports operating system specific look and feels such as Windows and Mac OS X. Additionally, Abeille provides the Alloy Look And Feel from INCORS. Please note that the Alloy product is intended to be used only within the designer. If you wish to use this product with your own applications, you must purchase a license from INCORS.</P> <P>Also keep in mind that Abeille does not store any look and feel information in the forms themselves. When you load a form in your own application, the form will assume the current look and feel of your application. It is up to the application to set the look and feel. It is trivial to set the look and feel during application startup. For example, to set your look and feel to Windows (this only works on Windows operating systems), make the following call before showing any windows:</P><BR> <TABLE BORDER="1"> <TR> <TD> <PRE> try { UIManager.setLookAndFeel( "com.sun.java.swing.plaf.windows.WindowsLookAndFeel" ); } catch (Exception e) { }</PRE></TD> </TR> </TABLE><BR> <H4>Registering New Look and Feels</H4> <P ALIGN="LEFT">You can register new look and feels for the designer by editing (or creating) the <FONT FACE="Courier">swing.properties</FONT> file. This file is located in the <FONT FACE="Courier">lib</FONT> directory of the Java release. The following <FONT FACE="Courier">swing.properties</FONT> file registers two new look and feels (Abeille will automatically include these when restarted):</P><BR> <TABLE BORDER="1"> <TR> <TD> <PRE>swing.installedlafs = liquid,kunststoffswing.installedlaf.liquid.name = Liquidswing.installedlaf.liquid.class = com.birosoft.liquid.LiquidLookAndFeel swing.installedlaf.kunststoff.name = Kunststoffswing.installedlaf.kunststoff.class = com.incors.plaf.kunststoff.KunststoffLookAndFeel </PRE></TD> </TR> </TABLE> <BR> <P ALIGN="LEFT"><B><I>Any installed look and feels must be included in the classpath of Abeille.</I></B></P> <P ALIGN="LEFT">You can get more information on working with look and feels from the Java tutorial</P> <P ALIGN="LEFT"><A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/plaf.html">http://java.sun.com/docs/books/tutorial/uiswing/misc/plaf.html</A></P> <P ALIGN="LEFT"></P> <P ALIGN="LEFT"></P> </BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -