【正文】
這個可選的包擴展了 J2SE 平臺的多媒體功能。 Java 3D Java 3D API 提供了一套面向?qū)ο蟮慕涌?,支持一種簡單的、高級的編程模型,讓開發(fā)人員可以構(gòu)建、著色和控制 3D 對象的行為和可視環(huán)境。 AffineTransform 類的實例可以直接從一個浮點值的矩陣中創(chuàng)建,盡管通常情況下是通過規(guī)定一個或多個平移、旋轉(zhuǎn)、縮放或剪切操作來創(chuàng)建。 包 包提供一些有關(guān)二維幾何的類,如 Arc2D、 Line2D、Rectangle2D、 Ellipse2D 和 CubicCurve2D。 這個 API的核心是由 類提供的,該類是 的一個子類。當(dāng)您為高度專門化的應(yīng)用程序制作一個 lookandfeel,或為一系列應(yīng)用程序提 供一個共同的 lookandfeel 時,這是一種強大的功能 獨立于平臺的拖放 增加了一個通用機制,這種機制放在 包中,實現(xiàn)了應(yīng)用程序之間和應(yīng)用程序內(nèi)部的數(shù)據(jù)傳輸,以及對系統(tǒng)剪貼板的操作能力。相反,它通過提供一個可以返回本機平臺的橋梁,把兩種方法的精華部分結(jié)合起來了。一個典型的示例就是鼠標(biāo)鍵。 當(dāng)集成有優(yōu)先權(quán)時 在 JDK 首次發(fā)行時,與本機平臺的集成被認(rèn)為具有優(yōu)先權(quán),于是 AWT 提供了一些組件,這些組件使用各平臺的本機組件(在 Java 編程術(shù)語中,這些被稱為重量級組件)來實現(xiàn)。請點擊文章頂部或底部的討論,在論壇與本文作者和其他讀者分享您對本文的看法。s take a look at an example. Enabling the disabled: Accessibility The JFC Accessibility API equips Java applications so they can be accessed by users of all abilities, including people with sight, hearing, or dexterityrelated difficulties. These might include the inability to discern visible or auditory cues or to operate a pointing device. Two of the most important features of accessibility support are screen readers and magnifiers. Screen readers allow users to interact with a GUI by creating an offscreen representation of the interface and passing this to a speech synthesizer or a Braille terminal. Screen magnifiers provide an enlarged window of the screen, typically from 2 to 16 times the normal size. They generally keep track of pointer movements and changes in input focus and adjust the enlarged view accordingly. In addition, techniques such as font smoothing may be used to create a clearer picture. The Java Accessibility Bridge Some host systems, such as Microsoft Windows, provide their own accessibility features. By default, Java applications do not fully support them. For example, with native applications the screen magnifier detects when the input focus is switched to a different user interface ponent, such as by using the Tab key, and it adjusts the portion of the screen that is being magnified to show the ponent that now has the input focus. However, Swing applications use lightweight ponents, which are treated as images by the operating system, instead of discrete ponents. This means the screen magnifier cannot track changes in input focus in the same way as with native applications. This is exactly the problem the Java Accessibility Bridge for Windows solves. It creates a map between events relating to lightweight ponents and native system events. By using the Bridge, Java applications that support the Accessibility API are then fully integrated with the Windows accessibility support. From primitive to advanced: Java 2D Before the Java 2 platform, graphical capabilities in the language were rather primitive, limited to solid lines of singlepixel thickness。 畢業(yè)設(shè)計說明書 英文文獻(xiàn)及中文翻譯 班 級: 學(xué)號: 姓 名: 學(xué) 院: 專 業(yè): 指導(dǎo)教師: The Java 2 user interface Graphical and user interface capabilities have progressed in leaps and bounds since the early days of the Java language. The Java 2 platform contains a sophisticated crossplatform user interface architecture that consists of numerous highlevel ponents, an advanced featurerich deviceindependent graphics system, and a host of multimedia extensions. In this article, we39。 a few geometric shapes such as ovals, arcs, and polygons。 在 Java2 平臺發(fā)行之前,抽象窗口工具包( Abstract Window Toolkit, AWT)是 Java 平臺的圖形功能的范圍。例如,在 UNIX 平臺上, 類是用窗口小部件 Motif PushButton 實現(xiàn)的。在以前的 中,是無 法區(qū)分鼠標(biāo)