BeidaJadeBirdJavaPPT

所属分类:Java编程
开发工具:Java
文件大小:5030KB
下载次数:4
上传日期:2010-04-15 21:36:00
上 传 者yaowwwww707
说明:   北大青鸟的java培训课件 Java环境可用来开发能在任何计算平台上运行的应用软件。它实际上是一种非常基本且结构紧凑的技术,而它对WorldWide Web以及商业的总体影响已可同电子表格对PC机的影响相比拟。 在此献上北大青鸟的java培训课件,希望有所用处。
(java training courseware of Beida Jade Bird Java development environment can be used to run on any computing platform applications. It is actually a very basic and compact technology, and its WorldWide Web and the overall impact of business are already on the PC with a spreadsheet of comparable machines. Now I provide the java training courseware of Beida Jade Bird , in the hope that it will come in handy)

文件列表:
TP\Transparancy 1.ppt (420352, 2003-08-01)
TP\Transparancy 10.ppt (520192, 2003-08-01)
TP\Transparancy 11.ppt (271872, 2003-08-01)
TP\Transparancy 2.ppt (327680, 2003-08-01)
TP\Transparancy 3.ppt (317440, 2003-08-01)
TP\Transparancy 4.ppt (209408, 2003-08-01)
TP\Transparancy 5.ppt (307712, 2003-08-01)
TP\Transparancy 6.ppt (371712, 2003-08-01)
TP\Transparancy 7.ppt (284160, 2003-08-01)
TP\Transparancy 8.ppt (326656, 2003-08-01)
TP\Transparancy 9.ppt (498688, 2003-08-01)
1\1.ppt (316928, 2004-06-26)
1\case\ArrayProblem.class (773, 2004-06-15)
1\case\ArrayProblem.java (394, 2001-01-17)
1\case\FruitDemo.java (1085, 2001-01-17)
1\case\FruitDemo2.java (690, 2001-01-17)
1\case\HelloWorld.java (113, 2004-06-27)
1\case\InnerClassDemo.java (951, 2001-01-17)
1\case\Overloading.java (757, 2004-09-23)
1\case\OverrideDemo.java (553, 2004-02-08)
2\2.ppt (348160, 2010-04-12)
2\Assignment.class (865, 2005-07-19)
2\Assignment.java (448, 2004-05-23)
2\HelloWorld.class (2249, 2003-02-20)
2\HelloWorld.java (3455, 2003-02-20)
2\Number.class (206, 2005-07-19)
3\3.ppt (350720, 2010-04-15)
3\case\equals\EqualsDemo.class (421, 2005-10-20)
3\case\equals\EqualsDemo.java (204, 2005-10-20)
3\case\equals\Test.class (842, 2005-10-20)
3\case\equals\xx.class (413, 2005-10-20)
3\case\instanceof\Graduate.class (175, 2005-06-08)
3\case\instanceof\ST.class (576, 2005-06-08)
3\case\instanceof\ST.java (457, 2004-07-03)
3\case\instanceof\Student.class (183, 2005-06-08)
3\case\instanceof\UndergraduateStudent.class (187, 2005-06-08)
3\case\toString\Circle.class (255, 2005-06-08)
3\case\toString\Downcast.class (318, 2005-06-08)
3\case\toString\Downcast.java (303, 2004-05-23)
3\case\toString\Shape.class (606, 2005-06-08)
... ...

The classes for the Java2D demo are contained in the Java2Demo.jar file. To run the Java2D demo: % java -jar Java2Demo.jar - or - % appletviewer Java2Demo.html Although it's not necessary to unpack the Java2Demo.jar file to run the demo, you may want to extract its contents if you plan to modify any of the demo source code. To extract the contents of Java2Demo.jar, run this command from the Java2D directory: jar xvf Java2Demo.jar Note: These instructions assume that the 1.4 versions of the java, appletviewer, and jar commands are in your path. If they aren't, then you should either specify the complete path to the commands or update your PATH environment variable as described in the installation instructions for the Java 2 SDK. ----------------------------------------------------------------------- Introduction ----------------------------------------------------------------------- This Java2D demo consists of a set of demos housed in one GUI framework that uses a JTabbedPane. You can access different groups of demos by clicking the tabs at the top of the pane. There are demo groups for Arcs_Curves, Clipping, Colors, Composite, Fonts, Images, Lines, Mix, Paint, Paths and Transforms. On the right-hand side of the pane, the GUI framework features individual and global controls for changing graphics attributes. There's also a memory-usage monitor, and a monitor for tracking the performance, in frames per second, of animation demos. ----------------------------------------------------------------------- Tips on usage ----------------------------------------------------------------------- Click on one of the tabs at the top of the pane to select a demo group. When you select a group, a set of surfaces is displayed, each of which contains one of the group's demos. At the bottom of each surface is a set of tools for controlling the demo. The tools can be displayed by selecting the Tools checkbox in the Global Controls panel or by clicking on the slim strip of gray bumps at the bottom of the demo panel. If you click on a demo surface, that demo is laid out by itself. A new icon button will appear in the demo's tools toolbar one that enables you to create new instances of that demo's surface. To run the demo continuously without user interaction, select the Run Window item in the Options menu and press the run button in the new window that's displayed. To do this from the command line: java -jar Java2Demo.jar -runs=10 To view all the command line options for customizing demo runs: java -jar Java2Demo.jar -help Parameters that can be used in the Java2Demo.html file inside the applet tag to customize demo runs: You can run the demos in stand-alone mode by issuing a command like this from the Java2D directory: java -cp Java2Demo.jar java2d.demos.Clipping.ClipAnim You can run the demos in groups by issuing a command like this from the Java2D directory: java -cp Java2Demo.jar java2d.DemoGroup Clipping To recompile a demo, first extract the contents of the Java2Demo.jar file, then issue this command from the Java2D directory: For Win32: javac src\java2d\demos\Clipping\ClipAnim.java -d . For Solaris: javac src/java2d/demos/Clipping/ClipAnim.java -d . To increase or decrease the Memory Monitor sampling rate click on the Memory Monitor's title border, a panel with a TextField will appear. The Java2Demo Intro (the 'Java2D' tab) contains a scene table, click in the gray border and a table will appear. Animated demos have a slider to control the animation rate. Bring up the animated demo toolbar, then click in the gray area of the toolbar panel, the toolbar goes away and the slider appears. Demos that have Custom Controls can have their Custom Control Thread activated and stopped by clicking in the gray area of the demos Custom Control panel. For less garbage collection and smoother animation for the Intro and other animated demos run with command line argument: java -jar -ms48m Java2Demo.jar To allow printing of surfaces while running the demo in applet mode, you must first run policytool to change your .java.policy file. In policytool, add the permission for java.lang.RuntimePermission with a target name of queuePrintJob. The .java.policy file should then include the following: grant { permission java.lang.RuntimePermission "queuePrintJob"; }; ----------------------------------------------------------------------- NOTE about demo surfaces ----------------------------------------------------------------------- The demo groups are in separate packages with their class files stored in directories named according to the demo group name. All drawing demos extend either the Surface, AnimatingSurface, ControlsSurface or AnimatingControlsSurface classes. Surface is the base class, demos must implement the Surface's render method. All animated demos extend either the AnimatingSurface or the AnimatingControlsSurface classes. Animated demos must implement the reset and step methods. The demos with gui controls extend either the ControlsSurface or the AnimatingControlsSurface classes. Demos with controls must implement the methods in the CustomControlsContext interface. ----------------------------------------------------------------------- Known Issue ----------------------------------------------------------------------- This problem is present on Microsoft Windows 95 with DirectX and Windows *** and ***SE operating systems. Solaris(TM) and Windows NT operating systems are not affected. Java2Demo exhibits random lockups in lengthy looping runs or in runs having "custom Thread" activated specific tabs such as Transform. This lockup occurs mostly on slower machines, PII233 and below, but is also seen less frequently on faster machines. The cause is possibly DirectDraw and/or videocard driver or combination thereof. Please do one of the following to either prevent or reduce the chances of a lockup: Run with following parameter: -Dsun.java2d.noddraw=true java -Dsun.java2d.noddraw=true -jar Java2Demo.jar and/or visit Microsoft's DirectX and dnload the latest as well as the latest of your videocard driver. ====================================================================== Most of the Java2Demo demos can be found as stand-alone Samples: http://java.sun.com/products/java-media/2D/samples/ For a Java2D API Guide & Tutorial: http://java.sun.com/j2se/1.4/docs/guide/2d/spec/j2d-bookTOC.doc.html http://java.sun.com/docs/books/tutorial/2d/ For the latest version of the Java2D demo: http://java.sun.com/products/java-media/2D/ You may send comments via the java2d-comments@sun.com alias, which is a one-way alias to Sun's Java 2D API developers, or via the java2d-interest@sun.com alias, which is a public discussion list.

近期下载者

相关文件


收藏者