⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 12_7.htm

📁 翁剀JAVA语言那门课程的教案 很多人都看多他的视频教程可惜没有ppt的教案
💻 HTM
字号:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="Author" content="Weng Kai">
   <meta name="GENERATOR" content="Mozilla/4.5 [en] (Win95; I) [Netscape]">
   <title>Windowed applications</title>
</head>
<body>

<h2>
12.7 Windowed applications</h2>

<hr WIDTH="100%">
<br>It's possible to see that for safety's sake you can have only limited
behavior within an applet. In a real sense, the applet is a temporary extension
to the Web browser so its functionality must be limited along with its
knowledge and control. There are times, however, when you'd like to make
a windowed program do something else than sit on a Web page, and perhaps
<br>you'd like it to do some of the things a "regular" application can
do and yet have the vaunted instant portability provided by Java. In previous
chapters in this book we've made command-line applications, but in some
operating environments (the Macintosh, for example) there isn't a command
line. So for any number of reasons you'd like to build a windowed, non-applet
program using Java. This is certainly a reasonable desire.
<p>A Java windowed application can have menus and dialog boxes (impossible
or difficult with an applet), and yet if you're using an older version
of Java you sacrifice the native operating environment's look and feel.
The JFC/Swing library allows you to make an application that preserves
the look and feel of the underlying operating environment. If you want
to build
<br>windowed applications, it makes sense to do so only if you can use
the latest version of Java and associated tools so you can deliver applications
that won't confound your users. If for some reason you're forced to use
an older version of Java, think hard before committing to building a significant
windowed application.
<p>
<hr WIDTH="100%">
<div align=right><a href="12_7_1.htm">Next Page</a></div>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -