J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame^] | 1 | NetBeans Project Files for JDK Demos |
| 2 | |
| 3 | This directory contains project files for the NetBeans IDE for the all-Java |
| 4 | JDK demos (some of the demos involve C code; no NetBeans project files are |
| 5 | provided for them at this time). For example, to bring up the Java2D demo |
| 6 | in NetBeans, do the following: |
| 7 | |
| 8 | 1. If you do not already have NetBeans, download it from |
| 9 | http://www.netbeans.org/ |
| 10 | and follow the directions for installation. |
| 11 | 2. Start NetBeans. |
| 12 | 3. From the main menu, choose File -> Open Project. |
| 13 | 4. In the popup window, navigate to the JDK distribution and within that to |
| 14 | the "demo" directory. |
| 15 | 5. Press the "Open Project Folder" button. That will open all of the demos |
| 16 | (for which there are project files) as subprojects. |
| 17 | 6. There should now be a Java2D project in the Projects tab of the IDE. |
| 18 | Right-click on the project name and choose an appropriate action, e.g. |
| 19 | Clean and Build Project |
| 20 | and then |
| 21 | Run Project |
| 22 | Some, but not all, of the projects can be run as applets as well. |
| 23 | |
| 24 | Documentation and support for NetBeans is available at the NetBeans web site: |
| 25 | http://www.netbeans.org/ |
| 26 | |
| 27 | Notes: |
| 28 | 1. jconsole-plugin is a special kind of project, a plugin for jconsole. |
| 29 | Therefore it is not possible to run the project directly from the IDE. |