Update of /cvsroot/ordweb/uop/pos407/team/week3
In directory sc8-pr-cvs1:/tmp/cvs-serv13509/pos407/team/week3
Modified Files:
Calculation.java
Added Files:
cwW2.psp teamW3.pjt teamW3.sbl tw3.html tw3.java
Log Message:
init; Added header commentsto Calculation.java
--- NEW FILE: cwW2.psp ---
;Codewright Project Space File (do not remove or modify this line)
[State]
StateWindowFrame=0,0,768,537,0x43097fca
_StateHistory=PROJECTS,'.\w2.pjt','.\teamW3.pjt'
_RestoreProject='.\teamW3.pjt'
ProjSpaceFlags=0x00000001, 1
ProjViewSetShow=ABCcccccb
[Project]
ConfigSetUserWorkspace=''
ConfigSetUserWorkspaceParser=''
ConfigSetUserWorkspaceTimeStamp=0
ConfigSetUserWorkspaceAutoSync=0
[Project.".\teamW3.pjt"]
[Project.".\w2.pjt"]
--- NEW FILE: teamW3.pjt ---
;Codewright Project File (do not remove or modify this line)
[ProjInit]
ConfigSetExtMode=2
ProjSetConfigFlags=0x0c110940
[State]
SysSetCwd='H:\uop\pos407\team\week3'
SrchSetFlags=0x0410680a
SrchSetAgainFlags=0x04100003,0
SrchSetAgainFlags=0x06100003,1
SrchSetAttrElements=
SrchSetAgainAttrElements=
FileSortMode=0x0
_StateView='H:\uop\pos407\team\week3\tw3.java',44,44,690,266,-1,-1,24,5,17,1,1,'',0x00100018,0,80,0,0,'',0,1
_StateView='H:\uop\pos407\team\week3\Calculation.java',66,66,690,266,-1,-1,10,61,10,1,2,'',0x00100008,0,80,0,0,'',0,2
_StateBuffer='H:\uop\pos407\team\week3\tw3.java',0x0400048e,24,5,25,'5 9','',0x0,'',1,72,1,0,'',''
_StateBuffer='H:\uop\pos407\team\week3\Calculation.java',0x0c00048e,10,61,25,'5 9','',0x0,'',1,72,0,0,'',''
_StateHistory=FILELIST,'H:\uop\pos407\team\week3\tw3.java','H:\uop\pos407\team\week3\Calculation.java','H:\uop\pos407\poulh\week2\JSmileFace.java','H:\uop\pos407\team\week3\tw3.html'
_StateHistory=EDITFILE,'H:\uop\pos407\team\week3\tw3.html','H:\uop\pos407\team\week3\tw3.java','C:\j2sdk14\src.zip'
_StateHistory=DOSHISTORY,'dir','cd ../../team','dir','cd week2','dir','cd week3','javac tw3.java'
_StateHistory=DOCUMENTVISIT,'40 52 H:\uop\pos407\poulh\week2\JSmileFace.java','27 11 H:\uop\pos407\team\week3\tw3.java','40 52 H:\uop\pos407\poulh\week2\JSmileFace.java','25 27 H:\uop\pos407\team\week3\tw3.java','7 1 H:\uop\pos407\poulh\week2\JSmileFace.java','27 23 H:\uop\pos407\team\week3\tw3.java','19 71 H:\uop\pos407\poulh\week2\JSmileFace.java','36 6 H:\uop\pos407\team\week3\tw3.java','6 23 H:\uop\pos407\team\week3\tw3.html','19 71 H:\uop\pos407\poulh\week2\JSmileFace.java'
_StateDocumentVisit=10
[Files]
.\Calculation.java
.\tw3.html
.\tw3.java
[Editor]
_RestoreSysFlags=0x43097fca, 0xfffffffc, 0
FilterProjDeleteList
FilterProjAdd='Source Files','*.c;*.cs;*.cpp;*.cxx;*.hxx;*.prg;*.pas;*.asm;*.bas;*.sc;*.jav*',-1
FilterProjAdd='Header Files','*.h;*.hpp;*.inc',-1
FilterProjAdd='Web Files','*.htm;*.html;*.shtm;*.asp;*.css',-1
FilterProjAdd='XML Files','*.xml;*.xsl;*.dtd;*.xhtml;*.xdr;*.dcd',-1
FilterProjAdd='Resources','*.rc;*.bmp;*.ico;*.cur;*.dlg',-1
FilterProjAdd='Other Files','*.*',-1
VCSProject=''
VCSProjectPath=''
VCSProjectLocalPath=''
ScrapSetCount=1
ClipboardSetCount=1
ClipboardEnableSepStr=1
ClipboardSetSepStr='\r\n',0
ClipboardEnableTermStr=1
ClipboardSetTermStr='\r\n',0
[Tools]
ToolDeleteList
ToolAddCmd='$_custom_tool_$_1','exec Applet',1342177600,''
[Compiler]
CompilerNewExt=Release|.asp
CompilerNewExt=Release|.java
CompilerNewExt=.v
CompilerNewExt=.htm
CompilerNewExt=Release|.txt
CompilerNewExt=.mac
CompilerNewExt=Debug|.rul
CompilerNewExt=Debug|.rc
CompilerNewExt=Release|.nrx
CompilerNewExt=.bas
CompilerNewExt=Debug|.awk
CompilerNewExt=.awk
CompilerNewExt=.c
CompilerNewExt=Release|.tk
CompilerNewExt=Debug|.php
CompilerNewExt=Release|.php
CompilerNewExt=.jsp
CompilerNewExt=.cfml
CompilerNewExt=Release|.bat
CompilerNewExt=.adb
CompilerAssign='Sun Java','Debug|.java'
CompilerNewExt=Debug|.jav
CompilerNewExt=Release|.awk
CompilerNewExt=.vhd
CompilerNewExt=.pl
CompilerNewExt=.h
CompilerNewExt=.pas
CompilerNewExt=Release|.xml
CompilerNewExt=Release|.bas
CompilerNewExt=Release|.cfml
CompilerNewExt=Release|.adb
CompilerNewExt=Release|.rc
CompilerNewExt=Debug|.txt
CompilerNewExt=Debug|.bas
CompilerNewExt=.tk
CompilerNewExt=Release|.tcl
CompilerNewExt=Release|.pas
CompilerNewExt=.asp
CompilerNewExt=Release|.cs
CompilerNewExt=Release|.jav
CompilerNewExt=Release|.htm
CompilerNewExt=Debug|.tk
CompilerNewExt=Debug|.tcl
CompilerNewExt=.rul
CompilerNewExt=Debug|.html
CompilerNewExt=Debug|.pas
CompilerNewExt=Release|.pl
CompilerNewExt=Debug|.cob
CompilerNewExt=Release|.ini
CompilerNewExt=Release|.v
CompilerNewExt=Debug|.nrx
CompilerNewExt=Debug|.js
CompilerNewExt=.js
CompilerNewExt=.cob
CompilerNewExt=Debug|.jsp
CompilerNewExt=Release|.js
CompilerNewExt=.tcl
CompilerNewExt=Debug|.sqlj
CompilerNewExt=.rc
CompilerNewExt=.php
CompilerNewExt=Release|.html
CompilerNewExt=.ini
CompilerNewExt=Debug|.htm
CompilerNewExt=Release|.sqlj
CompilerNewExt=Debug|.cs
CompilerNewExt=.cs
CompilerNewExt=Debug|.v
CompilerNewExt=Release|.jsp
CompilerNewExt=Release|.vhd
CompilerNewExt=Debug|.pl
CompilerNewExt=Release|.cob
CompilerNewExt=.html
CompilerNewExt=.bat
CompilerNewExt=.*
CompilerNewExt=.cpp
CompilerNewExt=Debug|.vhd
CompilerNewExt=Debug|.bat
CompilerNewExt=.cxx
CompilerNewExt=Debug|.ini
CompilerNewExt=Debug|.asp
CompilerNewExt=Debug|.adb
CompilerNewExt=.hpp
CompilerNewExt=.asm
CompilerNewExt=.txt
CompilerNewExt=.nrx
CompilerNewExt=Debug|.xml
CompilerNewExt=.xml
CompilerNewExt=.java
CompilerNewExt=.jav
CompilerNewExt=Debug|.cfml
CompilerNewExt=Release|.rul
CompilerNewExt=.sqlj
TagSetCmd='"${HOME}${WTAGS}" -oc -d -t"${TAGFILE}.tag" -p"${TAGFILE}.ptg"',0x8000060
BrowseSetFile='D:\CodeWright\tagfile.ptg'
TagSetFile='D:\CodeWright\tagfile.tag'
CompilerAddCmdEx='Debug|$_cw_proj_hash_$','',1073741824,'',0,'javac tw3.java',432,'${FTEE} nmake',0,'${FTEE} javac %b%e',432,'${FTEE} nmake',0,'${FTEE} jdb %y.java',0,'${FTEE} appletviewer %b.html',320,'_ErrorInfoDefault','','','proj.err','%x'
CompilerAddResponse='Debug|$_cw_proj_hash_$',
CompilerAddCmdEx='Sun Java','${FTEE} javac -O %r%e',1073741936,'javac %r%e',1073742161,'',144,'',144,'',144,'',144,'',0,'',0,'_JAVAErrorInfo','','','',''
CompilerAddResponse='Sun Java',
CompilerAddCmdEx='Release|$_cw_proj_hash_$','',1073741824,'',0,'javac %y',176,'${FTEE} nmake',0,'${FTEE} nmake',176,'${FTEE} nmake',0,'',0,'',0,'_ErrorInfoDefault','','','proj.err','%x'
CompilerAddResponse='Release|$_cw_proj_hash_$',
CFGSetActive='Debug'
[VersionControl:RCS]
VCSSetCmd=VCS_CHECKIN_ID,'ci -f -I "%b%e" <"%Q"',0x8000040
VCSSetCmd=VCS_CHECKINLOCK_ID,'ci -f -I -l "%b%e" <"%Q"',0x8000040
VCSSetCmd=VCS_CHECKOUT_ID,'co -f "%b%e"',0x8000040
VCSSetCmd=VCS_CHECKOUTLOCK_ID,'co -f -l "%b%e"',0x8000040
VCSSetCmd=VCS_CHECKLOCK_ID,'rcs -l "%b%e"',0x8000040
VCSSetCmd=VCS_CHECKUNLOCK_ID,'rcs -u "%b%e"',0x8000040
VCSSetCmd=VCS_CHECKLABEL_ID,'rcs -N"${VCSLABEL}": "%b%e"',0x8000040
VCSSetCmd=VCS_CHECKLOG_ID,'rlog "%b%e"',0x8000040
VCSSetCmd=VCS_CHECKPROP_ID,'rlog -t "%b%e"',0x8000040
VCSSetCmd=VCS_CHECKDIFF_ID,'rcsdiff -r "%b%e"',0x8000040
VCSSetCmd=VCS_CHECKMENU_ID,'mksrcs',0x8000000
VCSSetCmd=VCS_ADD_ID,'ci -f -t -I "%b%e" <"%Q"',0x8000040
VCSSetCmd=VCS_REMOVE_ID,'del /f "%b%%e,v"',0x8000040
[Project]
ConfigSetUserMakefile=''
ConfigSetUserMakefileParser=''
ConfigSetUserMakefileTimeStamp=0
ConfigSetUserMakefileAutoSync=0
ConfigSetLinkDBFilename='D:\CodeWright\cwright.ldb'
ConfigSetMarkDBFilename='D:\CodeWright\cwright.mrk'
ConfigSetSymbolDBFilename='H:\uop\pos407\team\week3\teamW3.sbl'
EditSetPath=''
--- NEW FILE: teamW3.sbl ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: tw3.html ---
<HTML>
<HEAD>
<TITLE>Applet HTML Page</TITLE>
</HEAD>
<BODY>
<H3><HR WIDTH="100%">Applet HTML Page<HR WIDTH="100%"></H3>
<P>
<APPLET code="tw3.class" width=350 height=200></APPLET>
</P>
<HR WIDTH="100%"><FONT SIZE=-1><I>Generated by Team 3</I></FONT>
</BODY>
</HTML>
--- NEW FILE: tw3.java ---
/*
* Class: tw3.java
* Author: poulh, bmeier
*
* Date: 7/14/2003
* Time: 10:26:08 AM
* Purpose: Application Entry Point
*/
import java.awt.*;
import java.applet.*;
import javax.swing.*;
import java.awt.event.*;
public class tw3 extends Applet
{
/*
* Name of Method: init
* Date: 7/10/2003
* Notes: Application driver
*/
public void init(){
super.init();
}
/**
* Name of Method: paint
* Date: 7/14/2003
* Notes: Paints the container. This forwards the paint to any lightweight
* components that are children of this container.
*/
public void paint (Graphics g) {
Font bigFont = new Font("Arial", Font.BOLD + Font.ITALIC, 20);
g.setFont(bigFont);
g.setColor(new Color(165, 165, 0));
}
}
Index: Calculation.java
===================================================================
RCS file: /cvsroot/ordweb/uop/pos407/team/week3/Calculation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Calculation.java 13 Jul 2003 04:18:37 -0000 1.1
--- Calculation.java 14 Jul 2003 19:26:35 -0000 1.2
***************
*** 1,2 ****
--- 1,12 ----
+ /*
+ * Class: tw3
+ * Method: tw3
+ * Author: whernandex *
+ * Date: 7/14/2003
+ * Time: 10:26:08 AM
+ * Purpose: Calculation implementation
+ */
+
+
public class Calculation {
/* display result */
|