jdk/make/netbeans/swing/README
author amurillo
Fri, 21 Sep 2012 14:02:58 -0700
changeset 13763 f75a1b3efb69
parent 2 90ce3da70b43
permissions -rw-r--r--
Added tag hs25-b02 for changeset b3b50cc0cb4d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
Working on Swing Using the NetBeans IDE
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
This Swing NetBeans project allows a developer interested in making changes to
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
and/or fixing bugs in swing to modify, build, run and test swing in a
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
standalone manner as well as generating the javadoc for the swing classes.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
README FIRST
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
  make/netbeans/README to get started with NetBeans IDE and OpenJDK, and
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
  working with the OpenJDK NetBeans projects.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
WORKING WITH SWING
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
Swing doesn't contain native code; it's pure java. You don't need to
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
have all the Java SE sources to work on Swing but just the following subset:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
            make/netbeans/ 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
            javax/swing/
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
            com/sun/swing/
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
            com/sun/java/swing/
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
            sun/swing/
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
The set of actions supported by this project are:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
* Build Project:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
  - Compiles Swing's source files and puts the class files under
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
    build/${platform}-${arch}/classes.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
  - Generates swing.jar file under dist/lib/swing.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
    This new jar file could be used to patch an existing JDK installation
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
    by using -Xbootclasspath/p:$MYSRC/dist/lib/swing.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
* Generate Javadoc for Project
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
  - Generates the javadoc for the Swing source files,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
  - The javadoc is generated under build/${platform}-${arch}/javadoc/swing.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
* Run Project
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
  - Builds and runs the SampleTree demo.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
* Debug Project
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
  - Builds and then runs the debugger on the SampleTree demo.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
* Clean Project
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
  - Cleans the files created by this project under build, dist, and demo.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
IMPORTANT NOTE
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
  Please make sure to follow carefully the governance rules documented at
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
  http://openjdk.dev.java.net/
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
KNOWN ISSUES
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
  When debugging the project, breakpoints set in SampleTree's code will be
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
  stopped at, but the editor display will not update correctly.  Breakpoints
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
  outside of the constructor work as expected.