The java.awt
and the java.awt.image
packages are enhanced.
New packages are java.awt.color,
java.awt.font, java.awt.geom,
and java.awt.print.
java.awt
package includes the new Graphics2D
class for better geometry, transformation, color, and text rendering,
and has enhanced color and font capabilities. The
Color
class supports a full range of color spaces,
and the Font
class supports any font on the system. You also get more texture map
and fill pattern options; image compositing and transparency
capabilities; more line s, end caps, line styles, and dash
patterns; and a flexible device model.
java.awt.color
package supports high-quality color output, using profiles and a full
array of color spaces for defining device-dependent and
device-independent color attributes.
java.awt.font
package supports glyphs and text with multiple fonts that can be
transformed and drawn into a graphics context.
java.awt.geom
package lets you create a wide range of shapes, including arbitrary and
point-by-point paths; perform affine transformations (transformations
that maintain parallel lines); and use float and/or double precision in
most cases.
java.awt.image
package supports a full range of image-processing capabilities,
including affine transformation, amplitude scaling, lookup-table
modification, color conversions, and convolutions.
The BufferedImage
class describes an image with an accessible buffer of image data
consisting of color model and data layout information.
java.awt.print
package introduces for the Microsoft Windows and Solaris platforms a printing model
whereby the printing system drives the printing process to give you
more control, power, and flexibility in application-level printing. The
Java 2D printing system can print all Java 2D regular and composite
graphics, and supports soft collating, reverse-order printing, and
booklet printing.
Applet
class method, newAudioClip, that enables all kinds of
programs to load and play sounds. The Sound engine in JDK 1.2 adds
support for several sound formats, including AIFF, WAV, MIDI, and RMF.
Drag-and-drop support means that Java and non-Java applications can
readily share data. JavaBeans Drag and Drop works with the JFC
accessibility API and can be extended to support diverse input
devices.
Bhopal news
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100