diff -r cf1fcdf438a0 -r ed7db6a12c2a jdk/src/share/demo/jfc/Metalworks/MetalworksInBox.java --- a/jdk/src/share/demo/jfc/Metalworks/MetalworksInBox.java Thu Aug 25 17:18:12 2011 -0700 +++ b/jdk/src/share/demo/jfc/Metalworks/MetalworksInBox.java Wed Aug 31 13:48:04 2011 +0200 @@ -29,6 +29,15 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +/* + * This source code is provided to illustrate the usage of a given feature + * or technique and has been deliberately simplified. Additional steps + * required for a production-quality application, such as security checks, + * input validation and proper error handling, might not be present in + * this sample code. + */ + + import javax.swing.JInternalFrame; import javax.swing.JScrollPane;