theme.html
来自「Besides enhanced looks and advanced feat」· HTML 代码 · 共 37 行
HTML
37 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Themes Demo</title>
<meta name="AUTHOR" content="Manish Hatwalne">
</head>
<body>
<font color="#000066" size="7"><img src="tf.gif" width="28" height="32" ALIGN="MIDDLE" hspace="5">Themes Demo</font>
<p>Besides enhanced looks and advanced features, one of the best things about Swing is its pluggable
look and feel. This application shows how to use different themes for Swing's default Metal Look and Feel (L&F). The metal look and feel, which is also known as Java look and feel is supported on all Java 2 platforms.</p>
<p>Theme mechanism allows a developer to easily specify the default colors, fonts and icons used by
the L&F. It allows developers to write their own themes; giving them a choice to show their
application GUI the way they want it, rather than depending on the defaults provided by the system.</p>
<p>Moreover, these themes can be configured as property files rather than hard coding them in your source code.
This gives choice to the user of your application to change looks of the application as per his preferences
and as frequently as he desires. As a developer, this gives you flexibility of adding new visual look
and appeal to your application whenever you want, without changing the compiled code.</p>
<h2><font color="#000066">Explore</font></h2>
<ul>
<li><a href="usetheme.html">Using themes</a></li>
<li><a href="imptheme.html">Implementing themes</a></li>
<li><a href="themeformat.html">Theme file format</a></li>
</ul>
<br><hr>
<!--
<center><a href="theme.html"><img src="images/home.gif" width="64" height="64" alt="Home" border="0"><br><b>Home</b></a></center>
-->
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?