0N/AWorking on Swing Using the NetBeans IDE
0N/A
0N/AThis Swing NetBeans project allows a developer interested in making changes to
0N/Aand/or fixing bugs in swing to modify, build, run and test swing in a
0N/Astandalone manner as well as generating the javadoc for the swing classes.
0N/A
0N/AREADME FIRST
0N/A
0N/A make/netbeans/README to get started with NetBeans IDE and OpenJDK, and
0N/A working with the OpenJDK NetBeans projects.
0N/A
0N/AWORKING WITH SWING
0N/A
0N/ASwing doesn't contain native code; it's pure java. You don't need to
0N/Ahave all the Java SE sources to work on Swing but just the following subset:
0N/A
0N/A make/netbeans/
0N/A javax/swing/
0N/A com/sun/swing/
0N/A com/sun/java/swing/
0N/A sun/swing/
0N/A
0N/AThe set of actions supported by this project are:
0N/A
0N/A* Build Project:
0N/A
0N/A - Compiles Swing's source files and puts the class files under
0N/A build/${platform}-${arch}/classes.
0N/A
0N/A - Generates swing.jar file under dist/lib/swing.jar
0N/A
0N/A This new jar file could be used to patch an existing JDK installation
0N/A by using -Xbootclasspath/p:$MYSRC/dist/lib/swing.jar
0N/A
0N/A* Generate Javadoc for Project
0N/A
0N/A - Generates the javadoc for the Swing source files,
0N/A
0N/A - The javadoc is generated under build/${platform}-${arch}/javadoc/swing.
0N/A
0N/A* Run Project
0N/A
0N/A - Builds and runs the SampleTree demo.
0N/A
0N/A* Debug Project
0N/A
0N/A - Builds and then runs the debugger on the SampleTree demo.
0N/A
0N/A* Clean Project
0N/A
0N/A - Cleans the files created by this project under build, dist, and demo.
0N/A
0N/AIMPORTANT NOTE
0N/A
0N/A Please make sure to follow carefully the governance rules documented at
0N/A http://openjdk.dev.java.net/
0N/A
0N/AKNOWN ISSUES
0N/A
0N/A When debugging the project, breakpoints set in SampleTree's code will be
0N/A stopped at, but the editor display will not update correctly. Breakpoints
0N/A outside of the constructor work as expected.