Problems
Problem
#1: (GUI Interface: Frames and Panels)
GUI-Phase-I-GB (zip file) folder for
JavaApplication4 NetBeans illustration—updated
1-30-08.
Problem
#2: (More Advanced GUI Interface)
GUI-Phase-II-GB (zip file) folder for
JavaApplication5 NetBeans illustration—updated
1-30-08.
FileChooser-Open NetBeans
Project Zip file
Problem #3: (Database Integration)
FileChooser-Save NetBeans
Project Zip file
DMEApplet1 NetBeans Project
Zip file
XML Illustration (zip file)
MurachEmail4 Example of a non-native NetBeans project implementation
Problem #4: (Introduction to JSP and servlets)
WebApp1 test application (JSP) for Tomcat integration
DMEWebJSP Sample HTML/JSP
application for NetBeans (zip file)
DMEWebJSP2 Sample HTMP/JSP application with embedded
functions; date enhanced (zip file)
DMEWebServlet Sample HTML/Servlet application (zip file)
DMEWebServlet2 Sample HTML/Servlet application with extended class for editing (zip file)
Problem
#5: (Cookies, MySQL
and JavaBeans)
DMEWebCookie Sample cookie and session deployment--altered to include “no cookie” try/catch (zip file)
DMEWebDB Sample application
using MySQL developed database. File also includes DMEBuild.sql and the MySQL driver currently active in the code. You will need to
execute the script and install the driver in the NetBeans
project library to execute. (zip file)
MySQL-Scripts Scripts to build, list, add to and delete records from the MySQL version of DentonMunicipal (zip file)
DMEWebJSP-Bean1 Simple illustration of JavaBean deployment across JSP’s (zip file)
DMEWebJSP-Bean2 Multiple JavaBean
deployment with integrated Vector storage (zip file)
IDE Support Link
NetBeans For
Fall 2008, select the first option for downloading NetBeans. This will include NetBeans
6.1, Java 6.04, Web extensions and Tomcat 6.0.16. After installation, you will be prompted to
complete a series of updates (as of 8/27/08 this was 23, in 2 sets). Once NetBeans has
been installed and updated, select Tools from the primary menu and click Plugins. If
necessary, click on the “Available Updates” tab and select UML by placing a
check in the adjacent Install column.
Then click the Install button and follow the remaining prompts to
complete addition of the UML component to NetBeans.
Tomcat (See note above)
Code Samples
Generic code samples (background)
o DME3 Visio Documentation (html format)
o DME3 Visio Documentation (vsd file)
· Code Sample 4b: User Package creation and usage. Package in subdirectory
o DME4BPaneApp and DME4BCustomer
· Code Sample 4c: Using
JavaDoc to document Java Code
o DME4CCustomer
and supporting documentation.
· Code Sample 5: Inheritance and incorporating “hidden” class
files for database support)
· Code Sample 6: do/while and for loops; switch/case statement
o DME6BCustomer
(replaced 03/11 to support code sample 11)
· Code Sample 7: One and two dimension arrays, array sort,
nested for loops
Code
Samples more specifically related to
· Code Sample 8: GUI Interface (Part I): Frame, JLabel, JTextField, JButton, JRadioButton, JCheckBox, JList
o DME5AFrame
(Slightly modified from the in-class version)
· Code Sample 9: GUI Interface (Part II): Menus
· Code Sample 10: Sequential File Processing
· Code Sample 11: Direct Access File Processing
· Code Sample 12: Database Manipulations
o Customer
o DateItem
Last Updated: 09/04/2008.