I am a noob to programing / i need help with exceptions
HI
I am a beginner at programming, and wondering if some one could help me out on this program. Its an address book program I got everything to work the only problem is that I haven�t been able to do this step.
Handle all exceptions properly...
If there is a null in an element in an array.
If the user enters an incorrect data type in a dialog box
(e.g. Enters a letter where a number was expected, or
enters numbers where letters were expected.
I am using the JOptionPane input boxes to receive the info.
If some one could send me a code example on what I am to do that would help a lot.
Also if some one can explain to me what exceptions are and how the code sample works that would be even better.
thanx for all the help
http://java.sun.com/docs/books/tutorial/essential/exceptions/
Similar Messages
-
Extended Program check: Need help with error messages
Hi,
I am getting the following error message several time on different internal table declarations:
"Tables with headers are no longer supported in the OO context."
This is the data declaration that it refers to:
I_ZDAILY_MVMT TYPE TABLE OF ZDAILY_MVMT WITH HEADER LINE.
Also, I am getting the following:
You cannot use the "RANGES" statement within classes. Instead, use the "DATA"
statement with the type "TYPE/LIKE RANGE OF" . . . . . . . . .
This is for the following data declaration:
RANGES: I_WERKS FOR EBAN-WERKS, "PLANT RANGE
I_VTWEG FOR I_TVTW-VTWEG,
I_VTWEG2 FOR I_TVTW-VTWEG,
I_VKORG FOR I_TVKO-VKORG,
I_AUART FOR I_TVAK-AUART.
What do I change and then how do i populate them?
Thanks,
John
Message was edited by:
John DamionWe dont use tables with header lines any more.
Declare a work area and use it transfer the data.
e.g.
types: types_ZDAILY_MVMT TYPE standard table of TABLE OF ZDAILY_MVMT.
data: I_ZDAILY_MVMT TYPE type_ZDAILY_MVMT,
wa_zdaily type zdaily_mvmt.
Now use this work area to move data into the table.
Regards,
Amit
Reward all helpful replies. -
I need help with exception not handled bluescreen.
I've been getting bluescreens for awhile now, and have been doing research to read minidump files to locate the problem and try fixing but they still persist.Crash Dump Analysis provided by OSR Open Systems Resources, Inc.
Online Crash Dump Analysis Service
See http://www.osronline.com for more information
Windows Server 2008/Windows Vista Kernel Version 6002 (Service Pack 2) MP (4 procs) Free x64
Product: WinNt, suite: TerminalServer SingleUserTS Personal
Built by: 6002.18881.amd64fre.vistasp2_gdr.130707-1535
Machine Name:
Kernel base = 0xfffff800`01e18000 PsLoadedModuleList = 0xfffff800`01fdce30
Debug session time: Sat Aug 30 11:37:14.252 2014 (UTC - 4:00)
System Uptime: 0 days 0:40:21.125
* Bugcheck Analysis *
INTERRUPT_EXCEPTION_NOT_HANDLED (3d)
Arguments:
Arg1: 0000000000000000
Arg2: 0000000000000000
Arg3: 0000000000000000
Arg4: fffffa6001385d1b
Debugging Details:
TRIAGER: Could not open triage file : e:\dump_analysis\program\triage\modclass.ini, error 2
DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT
BUGCHECK_STR: 0x3D
PROCESS_NAME: Wow-64.exe
CURRENT_IRQL: 2
EXCEPTION_RECORD: fffffa60005fec28 -- (.exr 0xfffffa60005fec28)
ExceptionAddress: fffffa6001385d1b (USBPORT!USBPORT_Core_UsbDoneDpc_Worker+0x0000000000000167)
ExceptionCode: c000001d (Illegal instruction)
ExceptionFlags: 00000000
NumberParameters: 0
TRAP_FRAME: fffffa60005fecd0 -- (.trap 0xfffffa60005fecd0)
NOTE: The trap frame does not contain all registers.
Some register values may be zeroed or incorrect.
rax=00000000ffffffff rbx=0000000000000000 rcx=fffffa8009e161a0
rdx=000000004f444648 rsi=0000000000000000 rdi=0000000000000000
rip=fffffa6001385d1b rsp=fffffa60005fee60 rbp=fffffa8009e16d78
r8=000000004f444648 r9=0000000000000002 r10=0000000000000000
r11=000000000000000d r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
iopl=0 nv up ei ng nz na po nc
USBPORT!USBPORT_Core_UsbDoneDpc_Worker+0x167:
fffffa60`01385d1b f00fc14310 lock xadd dword ptr [rbx+10h],eax ds:00000000`00000010=????????
Resetting default scope
LAST_CONTROL_TRANSFER: from fffff80001e6eeee to fffff80001e6f150
STACK_TEXT:
fffffa60`005fdc58 fffff800`01e6eeee : 00000000`0000003d 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KeBugCheckEx
fffffa60`005fdc60 fffff800`01e67648 : 00000000`0000040e fffff800`01ee48a9 fffffa80`08c43c20 fffffa60`0f3db000 : nt!KiBugCheckDispatch+0x6e
fffffa60`005fdda0 fffff800`01e9aacd : 00000000`00000000 fffff800`01e18000 fffffa60`0f3e4000 fffff800`02019be8 : nt!KiInterruptHandler+0x28
fffffa60`005fddd0 fffff800`01e9ad8f : fffffa60`00000001 00000000`00000001 fffff800`00000000 fffffa60`0f3e3c20 : nt!RtlpExecuteHandlerForException+0xd
fffffa60`005fde00 fffff800`01ea8522 : fffffa60`005fec28 fffffa60`005fe600 fffffa60`00000000 0000057f`f5f508d8 : nt!RtlDispatchException+0x22f
fffffa60`005fe4f0 fffff800`01e6efa9 : fffffa60`005fec28 fffffa80`09e161a0 fffffa60`005fecd0 fffffa80`09e16050 : nt!KiDispatchException+0xc2
fffffa60`005feaf0 fffff800`01e6d4c3 : fffffa60`005fecd0 fffffa60`061db002 fffffa80`55706d00 fffffa60`00000000 : nt!KiExceptionDispatch+0xa9
fffffa60`005fecd0 fffffa60`01385d1b : fffffa80`4b6f6d74 00000000`00025e3f fffffa80`09e161a0 fffffa80`09e16050 : nt!KiInvalidOpcodeFault+0xc3
fffffa60`005fee60 fffffa60`013721a7 : fffffa80`31656e44 fffffa60`32656e44 fffffa80`09e16d78 fffffa80`33656e44 : USBPORT!USBPORT_Core_UsbDoneDpc_Worker+0x167
fffffa60`005feef0 fffff800`01e73367 : fffffa80`09e16d90 fffffa60`34776478 fffffa60`0f3e3ca0 fffffa60`019db580 : USBPORT!USBPORT_Xdpc_Worker+0x26f
fffffa60`005fef40 fffff800`01e71c35 : fffffa60`01371f38 fffffa60`019d8180 fffffa60`0f3e3ca0 fffffa80`07cfcc00 : nt!KiRetireDpcList+0x117
fffffa60`005fefb0 fffff800`01e71a47 : fffffa80`07cfcc00 fffff800`020fe9d4 fffffa60`00000001 00000000`00000000 : nt!KyRetireDpcList+0x5
fffffa60`0f3e3be0 fffff800`01eb7c33 : 00000000`00000000 fffff800`01e677c9 00000000`00000000 fffffa60`0f3e3ca0 : nt!KiDispatchInterruptContinue
fffffa60`0f3e3c10 fffff800`01e677c9 : 00000000`00000000 fffffa60`0f3e3ca0 00000000`00da7a64 00000000`00000000 : nt!KiDpcInterruptBypass+0x13
fffffa60`0f3e3c20 00000001`3f607849 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiChainedDispatch+0x179
00000000`0021ecf0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x1`3f607849
STACK_COMMAND: kb
FOLLOWUP_IP:
USBPORT!USBPORT_Core_UsbDoneDpc_Worker+167
fffffa60`01385d1b f00fc14310 lock xadd dword ptr [rbx+10h],eax
SYMBOL_STACK_INDEX: 8
SYMBOL_NAME: USBPORT!USBPORT_Core_UsbDoneDpc_Worker+167
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: USBPORT
IMAGE_NAME: USBPORT.SYS
DEBUG_FLR_IMAGE_TIMESTAMP: 51ce4591
FAILURE_BUCKET_ID: X64_0x3D_USBPORT!USBPORT_Core_UsbDoneDpc_Worker+167
BUCKET_ID: X64_0x3D_USBPORT!USBPORT_Core_UsbDoneDpc_Worker+167
Followup: MachineOwner
Crash Code Links
Loaded Module List
start end module name
fffff800`01e18000 fffff800`0232e000 nt ntkrnlmp.exe
fffff800`0232e000 fffff800`02374000 hal hal.dll
fffff960`00070000 fffff960`0032b000 win32k win32k.sys
fffff960`004f0000 fffff960`004fa000 TSDDD TSDDD.dll
fffff960`00620000 fffff960`00631000 cdd cdd.dll
fffff960`00850000 fffff960`008b1000 ATMFD ATMFD.DLL
fffffa60`0060e000 fffffa60`00618000 kdcom kdcom.dll
fffffa60`00618000 fffffa60`0062c000 PSHED PSHED.dll
fffffa60`0062c000 fffffa60`00689000 CLFS CLFS.SYS
fffffa60`00689000 fffffa60`0073b000 CI CI.dll
fffffa60`0073b000 fffffa60`007fd000 Wdf01000 Wdf01000.sys
fffffa60`0080e000 fffffa60`0081e000 WDFLDR WDFLDR.SYS
fffffa60`0081e000 fffffa60`00874000 acpi acpi.sys
fffffa60`00874000 fffffa60`0087d000 WMILIB WMILIB.SYS
fffffa60`0087d000 fffffa60`00887000 msisadrv msisadrv.sys
fffffa60`00887000 fffffa60`008b7000 pci pci.sys
fffffa60`008b7000 fffffa60`008cc000 partmgr partmgr.sys
fffffa60`008cc000 fffffa60`008cf400 compbatt compbatt.sys
fffffa60`008d0000 fffffa60`008dc000 BATTC BATTC.SYS
fffffa60`008dc000 fffffa60`008f0000 volmgr volmgr.sys
fffffa60`008f0000 fffffa60`00956000 volmgrx volmgrx.sys
fffffa60`00956000 fffffa60`0095d000 pciide pciide.sys
fffffa60`0095d000 fffffa60`0096d000 PCIIDEX PCIIDEX.SYS
fffffa60`0096d000 fffffa60`00980000 mountmgr mountmgr.sys
fffffa60`00980000 fffffa60`00988000 atapi atapi.sys
fffffa60`00988000 fffffa60`009ac000 ataport ataport.SYS
fffffa60`009ac000 fffffa60`009f3000 fltmgr fltmgr.sys
fffffa60`00a0a000 fffffa60`00a1e000 fileinfo fileinfo.sys
fffffa60`00a1e000 fffffa60`00a60000 MpFilter MpFilter.sys
fffffa60`00a60000 fffffa60`00ae7000 ksecdd ksecdd.sys
fffffa60`00ae7000 fffffa60`00b37000 msrpc msrpc.sys
fffffa60`00b37000 fffffa60`00b90000 NETIO NETIO.SYS
fffffa60`00b90000 fffffa60`00bde000 ahcix64s ahcix64s.sys
fffffa60`00bde000 fffffa60`00bfb000 tdx tdx.sys
fffffa60`00c0b000 fffffa60`00dce000 ndis ndis.sys
fffffa60`00dce000 fffffa60`00dde000 umbus umbus.sys
fffffa60`00dde000 fffffa60`00df6000 USBSTOR USBSTOR.SYS
fffffa60`00e06000 fffffa60`00f79000 tcpip tcpip.sys
fffffa60`00f79000 fffffa60`00fa5000 fwpkclnt fwpkclnt.sys
fffffa60`00fa5000 fffffa60`00fd1000 ecache ecache.sys
fffffa60`00fd1000 fffffa60`00ffd000 CLASSPNP CLASSPNP.SYS
fffffa60`01000000 fffffa60`0100a000 crcdisk crcdisk.sys
fffffa60`0100c000 fffffa60`0118c000 Ntfs Ntfs.sys
fffffa60`0118c000 fffffa60`011d0000 volsnap volsnap.sys
fffffa60`011d0000 fffffa60`011d8000 spldr spldr.sys
fffffa60`011d8000 fffffa60`011ea000 mup mup.sys
fffffa60`011ea000 fffffa60`011fe000 disk disk.sys
fffffa60`01205000 fffffa60`01262000 storport storport.sys
fffffa60`01262000 fffffa60`012ab000 mrxsmb10 mrxsmb10.sys
fffffa60`012c8000 fffffa60`012d5000 tunnel tunnel.sys
fffffa60`012d5000 fffffa60`012de000 tunmp tunmp.sys
fffffa60`012de000 fffffa60`012f1000 processr processr.sys
fffffa60`012f1000 fffffa60`0136f000 Rtlh64 Rtlh64.sys
fffffa60`0136f000 fffffa60`013b5000 USBPORT USBPORT.SYS
fffffa60`013b5000 fffffa60`013e9000 ks ks.sys
fffffa60`013e9000 fffffa60`013f4000 mssmbios mssmbios.sys
fffffa60`05400000 fffffa60`0540c000 mouclass mouclass.sys
fffffa60`0540f000 fffffa60`0609d000 nvlddmkm nvlddmkm.sys
fffffa60`0609d000 fffffa60`06180000 dxgkrnl dxgkrnl.sys
fffffa60`06180000 fffffa60`06190000 watchdog watchdog.sys
fffffa60`06190000 fffffa60`061a1b00 ohci1394 ohci1394.sys
fffffa60`061a2000 fffffa60`061b1f00 1394BUS 1394BUS.SYS
fffffa60`061b2000 fffffa60`061bc000 johci johci.sys
fffffa60`061bc000 fffffa60`061d8000 cdrom cdrom.sys
fffffa60`061d8000 fffffa60`061e3000 usbohci usbohci.sys
fffffa60`061e3000 fffffa60`061ed000 usbfilter usbfilter.sys
fffffa60`061ed000 fffffa60`061eed80 USBD USBD.SYS
fffffa60`061ef000 fffffa60`06200000 usbehci usbehci.sys
fffffa60`06204000 fffffa60`062f1000 HDAudBus HDAudBus.sys
fffffa60`062f1000 fffffa60`0632a000 msiscsi msiscsi.sys
fffffa60`0632a000 fffffa60`06337000 TDI TDI.SYS
fffffa60`06337000 fffffa60`0635a000 rasl2tp rasl2tp.sys
fffffa60`0635a000 fffffa60`06366000 ndistapi ndistapi.sys
fffffa60`06366000 fffffa60`06397000 ndiswan ndiswan.sys
fffffa60`06397000 fffffa60`063a7000 raspppoe raspppoe.sys
fffffa60`063a7000 fffffa60`063c5000 raspptp raspptp.sys
fffffa60`063c5000 fffffa60`063dd000 rassstp rassstp.sys
fffffa60`063dd000 fffffa60`063f0000 termdd termdd.sys
fffffa60`063f0000 fffffa60`063fe000 kbdclass kbdclass.sys
fffffa60`063fe000 fffffa60`063ff480 swenum swenum.sys
fffffa60`0720c000 fffffa60`07254000 usbhub usbhub.sys
fffffa60`07254000 fffffa60`07268000 NDProxy NDProxy.SYS
fffffa60`07268000 fffffa60`072b1000 HdAudio HdAudio.sys
fffffa60`072b1000 fffffa60`072ec000 portcls portcls.sys
fffffa60`072ec000 fffffa60`0730f000 drmk drmk.sys
fffffa60`0730f000 fffffa60`07314180 ksthunk ksthunk.sys
fffffa60`07315000 fffffa60`0731f000 Fs_Rec Fs_Rec.SYS
fffffa60`0731f000 fffffa60`07328000 Null Null.SYS
fffffa60`07333000 fffffa60`0733ab80 HIDPARSE HIDPARSE.SYS
fffffa60`0733b000 fffffa60`07348000 rzmpos rzmpos.sys
fffffa60`07351000 fffffa60`0735f000 vga vga.sys
fffffa60`0735f000 fffffa60`07384000 VIDEOPRT VIDEOPRT.SYS
fffffa60`07384000 fffffa60`073a0000 usbccgp usbccgp.sys
fffffa60`073a0000 fffffa60`073a9000 hidusb hidusb.sys
fffffa60`073a9000 fffffa60`073bb000 HIDCLASS HIDCLASS.SYS
fffffa60`073bb000 fffffa60`073c4000 RDPCDD RDPCDD.sys
fffffa60`073c4000 fffffa60`073cd000 rdpencdd rdpencdd.sys
fffffa60`073cd000 fffffa60`073d8000 kbdhid kbdhid.sys
fffffa60`073d8000 fffffa60`073e3000 Msfs Msfs.SYS
fffffa60`073e3000 fffffa60`073f4000 Npfs Npfs.SYS
fffffa60`073f4000 fffffa60`073fd000 rasacd rasacd.sys
fffffa60`07a05000 fffffa60`07a20000 smb smb.sys
fffffa60`07a20000 fffffa60`07a2e000 rzendpt rzendpt.sys
fffffa60`07a2e000 fffffa60`07a99000 afd afd.sys
fffffa60`07a99000 fffffa60`07add000 netbt netbt.sys
fffffa60`07add000 fffffa60`07afb000 pacer pacer.sys
fffffa60`07afb000 fffffa60`07b0a000 netbios netbios.sys
fffffa60`07b0a000 fffffa60`07b25000 wanarp wanarp.sys
fffffa60`07b25000 fffffa60`07b30000 mouhid mouhid.sys
fffffa60`07b30000 fffffa60`07b40000 tcpipreg tcpipreg.sys
fffffa60`07b46000 fffffa60`07b70000 rzudd rzudd.sys
fffffa60`07b70000 fffffa60`07bbd000 rdbss rdbss.sys
fffffa60`07bbd000 fffffa60`07bc9000 nsiproxy nsiproxy.sys
fffffa60`07bc9000 fffffa60`07be6000 dfsc dfsc.sys
fffffa60`07be6000 fffffa60`07bf1000 secdrv secdrv.SYS
fffffa60`07e0a000 fffffa60`07eaa000 netr7364 netr7364.sys
fffffa60`07eaa000 fffffa60`07eb5000 HidBatt HidBatt.sys
fffffa60`07eb5000 fffffa60`07ed1000 cdfs cdfs.sys
fffffa60`07ed1000 fffffa60`07edf000 crashdmp crashdmp.sys
fffffa60`07edf000 fffffa60`07ee9000 dump_diskdump dump_diskdump.sys
fffffa60`07ee9000 fffffa60`07f37000 dump_ahcix64s dump_ahcix64s.sys
fffffa60`07f37000 fffffa60`07f43000 Dxapi Dxapi.sys
fffffa60`07f43000 fffffa60`07f56000 monitor monitor.sys
fffffa60`07f56000 fffffa60`07f78000 luafv luafv.sys
fffffa60`07f78000 fffffa60`07f91000 WudfPf WudfPf.sys
fffffa60`07f91000 fffffa60`07fab000 mpsdrv mpsdrv.sys
fffffa60`07fab000 fffffa60`07fd2000 mrxdav mrxdav.sys
fffffa60`07fd2000 fffffa60`07ffb000 mrxsmb mrxsmb.sys
fffffa60`0c40a000 fffffa60`0c4a4000 spsys spsys.sys
fffffa60`0c4a4000 fffffa60`0c4b8000 lltdio lltdio.sys
fffffa60`0c4b8000 fffffa60`0c4ec000 nwifi nwifi.sys
fffffa60`0c4ec000 fffffa60`0c4f7000 ndisuio ndisuio.sys
fffffa60`0c4f7000 fffffa60`0c50f000 rspndr rspndr.sys
fffffa60`0c50f000 fffffa60`0c5b2000 HTTP HTTP.sys
fffffa60`0c5b2000 fffffa60`0c5db000 srvnet srvnet.sys
fffffa60`0c5db000 fffffa60`0c5f9000 bowser bowser.sys
fffffa60`0d009000 fffffa60`0d028000 mrxsmb20 mrxsmb20.sys
fffffa60`0d028000 fffffa60`0d05a000 srv2 srv2.sys
fffffa60`0d05a000 fffffa60`0d0ed000 srv srv.sys
fffffa60`0d0ed000 fffffa60`0d11f000 AODDriver2 AODDriver2.sys
fffffa60`0d11f000 fffffa60`0d140000 NisDrvWFP NisDrvWFP.sys
fffffa60`0d140000 fffffa60`0d1f6000 peauth peauth.sys
fffffa60`0da02000 fffffa60`0da38000 WUDFRd WUDFRd.sys
fffffa60`0da38000 fffffa60`0da5d000 000 000.fcl
Unloaded modules:
fffffa60`01262000 fffffa60`01270000 crashdmp.sys
fffffa60`01270000 fffffa60`0127a000 dump_storpor
fffffa60`0127a000 fffffa60`012c8000 dump_ahcix64
fffffa60`07b30000 fffffa60`07b46000 RzFilter.sys
fffffa60`0733b000 fffffa60`07351000 i8042prt.sys
fffffa60`07328000 fffffa60`07333000 kbdhid.sys
Raw Stack Contents
Dump Header Information
----- 64 bit Kernel Mini Dump Analysis
DUMP_HEADER64:
MajorVersion 0000000f
MinorVersion 00001772
KdSecondaryVersion 00000000
DirectoryTableBase 00000001`500c1000
PfnDataBase fffff800`0203f250
PsLoadedModuleList fffff800`01fdce30
PsActiveProcessHead fffff800`01fbc4a0
MachineImageType 00008664
NumberProcessors 00000004
BugCheckCode 0000003d
BugCheckParameter1 00000000`00000000
BugCheckParameter2 00000000`00000000
BugCheckParameter3 00000000`00000000
BugCheckParameter4 fffffa60`01385d1b
KdDebuggerDataBlock fffff800`01f89f20
ProductType 00000001
SuiteMask 00000310
WriterStatus 00000000
MiniDumpFields 00000cff
TRIAGE_DUMP64:
ServicePackBuild 00000200
SizeOfDump 00040000
ValidOffset 0003fffc
ContextOffset 00000348
ExceptionOffset 00000f00
MmOffset 00002080
UnloadedDriversOffset 000020d0
PrcbOffset 00002228
ProcessOffset 00005d48
ThreadOffset 00006130
CallStackOffset 00006580
SizeOfCallStack 000023a8
DriverListOffset 00008c58
DriverCount 00000090
StringPoolOffset 0000dd58
StringPoolSize 000030a8
BrokenDriverOffset 00000000
TriageOptions ffffffff
TopOfStack fffffa60`005fdc58
BStoreOffset 00000000
SizeOfBStore 00000000
LimitOfBStore 00000000`00000000
DebuggerDataOffset 00008928
DebuggerDataSize 00000330
DataBlocksOffset 00010e00
DataBlocksCount 0000000c
fffff800`01fdd780 - fffff800`01fdd7ff at offset 00010ec0
fffff800`01fc18f8 - fffff800`01fc18fb at offset 00010f40
fffff800`01fc18f4 - fffff800`01fc18f7 at offset 00010f44
fffff800`0203f078 - fffff800`0203f07b at offset 00010f48
fffff800`0203f09c - fffff800`0203f09f at offset 00010f4c
fffffa80`06f5c218 - fffffa80`06f5e217 at offset 00010f50
fffff800`01fa6970 - fffff800`01fa6977 at offset 00012f50
fffff800`01fa6978 - fffff800`01fa697f at offset 00012f58
fffffa60`0f3e3000 - fffffa60`0f3e3fff at offset 00012f60
fffff800`01e67000 - fffff800`01e67fff at offset 00013f60
fffff800`02019000 - fffff800`02019fff at offset 00014f60
fffff800`01e6f000 - fffff800`01e6ffff at offset 00015f60
Max offset 16f60, 306f8 from end of file
Strings
PAGEDU64
PAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGE
PAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGE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AGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGE
crashdmp.sys
dump_storpor
dump_ahcix64
RzFilter.sys
i8042prt.sys
kbdhid.sys
AuthenticAMD
Wow-64.exe
Dne7decEDne8
\SystemRoot\system32\ntoskrnl.exe
\SystemRoot\system32\hal.dll
\SystemRoot\system32\kdcom.dll
\SystemRoot\system32\PSHED.dll
\SystemRoot\system32\CLFS.SYS
\SystemRoot\system32\CI.dll
\SystemRoot\system32\drivers\Wdf01000.sys
\SystemRoot\system32\drivers\WDFLDR.SYS
\SystemRoot\system32\drivers\acpi.sys
\SystemRoot\system32\drivers\WMILIB.SYS
\SystemRoot\system32\drivers\msisadrv.sys
\SystemRoot\system32\drivers\pci.sys
\SystemRoot\System32\drivers\partmgr.sys
\SystemRoot\system32\DRIVERS\compbatt.sys
\SystemRoot\system32\DRIVERS\BATTC.SYS
\SystemRoot\system32\drivers\volmgr.sys
\SystemRoot\System32\drivers\volmgrx.sys
\SystemRoot\system32\drivers\pciide.sys
\SystemRoot\system32\drivers\PCIIDEX.SYS
\SystemRoot\System32\drivers\mountmgr.sys
\SystemRoot\system32\drivers\atapi.sys
\SystemRoot\system32\drivers\ataport.SYS
\SystemRoot\system32\drivers\fltmgr.sys
\SystemRoot\system32\drivers\fileinfo.sys
\SystemRoot\system32\DRIVERS\MpFilter.sys
\SystemRoot\System32\Drivers\ksecdd.sys
\SystemRoot\system32\drivers\ndis.sys
\SystemRoot\system32\drivers\msrpc.sys
\SystemRoot\system32\drivers\NETIO.SYS
\SystemRoot\System32\drivers\tcpip.sys
\SystemRoot\System32\drivers\fwpkclnt.sys
\SystemRoot\System32\Drivers\Ntfs.sys
\SystemRoot\system32\drivers\volsnap.sys
\SystemRoot\System32\Drivers\spldr.sys
\SystemRoot\System32\Drivers\mup.sys
\SystemRoot\System32\drivers\ecache.sys
\SystemRoot\system32\drivers\disk.sys
\SystemRoot\system32\drivers\CLASSPNP.SYS
\SystemRoot\system32\drivers\crcdisk.sys
\SystemRoot\system32\drivers\ahcix64s.sys
\SystemRoot\system32\drivers\storport.sys
\SystemRoot\system32\DRIVERS\tunnel.sys
\SystemRoot\system32\DRIVERS\tunmp.sys
\SystemRoot\system32\DRIVERS\processr.sys
\SystemRoot\system32\DRIVERS\nvlddmkm.sys
\SystemRoot\System32\drivers\dxgkrnl.sys
\SystemRoot\System32\drivers\watchdog.sys
\SystemRoot\system32\DRIVERS\ohci1394.sys
\SystemRoot\system32\DRIVERS\1394BUS.SYS
\SystemRoot\system32\DRIVERS\johci.sys
\SystemRoot\system32\DRIVERS\Rtlh64.sys
\SystemRoot\system32\DRIVERS\cdrom.sys
\SystemRoot\system32\DRIVERS\usbohci.sys
\SystemRoot\system32\DRIVERS\USBPORT.SYS
\SystemRoot\system32\DRIVERS\usbfilter.sys
\SystemRoot\system32\DRIVERS\USBD.SYS
\SystemRoot\system32\DRIVERS\usbehci.sys
\SystemRoot\system32\DRIVERS\HDAudBus.sys
\SystemRoot\system32\DRIVERS\msiscsi.sys
\SystemRoot\system32\DRIVERS\TDI.SYS
\SystemRoot\system32\DRIVERS\rasl2tp.sys
\SystemRoot\system32\DRIVERS\ndistapi.sys
\SystemRoot\system32\DRIVERS\ndiswan.sys
\SystemRoot\system32\DRIVERS\raspppoe.sys
\SystemRoot\system32\DRIVERS\raspptp.sys
\SystemRoot\system32\DRIVERS\rassstp.sys
\SystemRoot\system32\DRIVERS\termdd.sys
\SystemRoot\system32\DRIVERS\kbdclass.sys
\SystemRoot\system32\DRIVERS\mouclass.sys
\SystemRoot\system32\DRIVERS\swenum.sys
\SystemRoot\system32\DRIVERS\ks.sys
\SystemRoot\system32\DRIVERS\mssmbios.sys
\SystemRoot\system32\DRIVERS\umbus.sys
\SystemRoot\system32\DRIVERS\usbhub.sys
\SystemRoot\System32\Drivers\NDProxy.SYS
\SystemRoot\system32\drivers\HdAudio.sys
\SystemRoot\system32\drivers\portcls.sys
\SystemRoot\system32\drivers\drmk.sys
\SystemRoot\system32\drivers\ksthunk.sys
\SystemRoot\System32\Drivers\Fs_Rec.SYS
\SystemRoot\System32\Drivers\Null.SYS
\SystemRoot\system32\DRIVERS\HIDPARSE.SYS
\SystemRoot\System32\drivers\vga.sys
\SystemRoot\System32\drivers\VIDEOPRT.SYS
\SystemRoot\system32\DRIVERS\usbccgp.sys
\SystemRoot\system32\DRIVERS\hidusb.sys
\SystemRoot\system32\DRIVERS\HIDCLASS.SYS
\SystemRoot\System32\DRIVERS\RDPCDD.sys
\SystemRoot\system32\drivers\rdpencdd.sys
\SystemRoot\system32\DRIVERS\kbdhid.sys
\SystemRoot\System32\Drivers\Msfs.SYS
\SystemRoot\System32\Drivers\Npfs.SYS
\SystemRoot\system32\DRIVERS\USBSTOR.SYS
\SystemRoot\System32\DRIVERS\rasacd.sys
\SystemRoot\system32\DRIVERS\tdx.sys
\SystemRoot\system32\DRIVERS\rzmpos.sys
\SystemRoot\system32\DRIVERS\smb.sys
\SystemRoot\system32\DRIVERS\rzendpt.sys
\SystemRoot\system32\drivers\afd.sys
\SystemRoot\System32\DRIVERS\netbt.sys
\SystemRoot\system32\DRIVERS\pacer.sys
\SystemRoot\system32\DRIVERS\netbios.sys
\SystemRoot\system32\DRIVERS\wanarp.sys
\SystemRoot\system32\DRIVERS\mouhid.sys
\SystemRoot\system32\DRIVERS\rzudd.sys
\SystemRoot\system32\DRIVERS\rdbss.sys
\SystemRoot\system32\drivers\nsiproxy.sys
\SystemRoot\System32\Drivers\dfsc.sys
\SystemRoot\system32\DRIVERS\netr7364.sys
\SystemRoot\system32\DRIVERS\HidBatt.sys
\SystemRoot\system32\DRIVERS\cdfs.sys
\SystemRoot\System32\Drivers\crashdmp.sys
\SystemRoot\System32\Drivers\dump_diskdump.sys
\SystemRoot\System32\Drivers\dump_ahcix64s.sys
\SystemRoot\System32\win32k.sys
\SystemRoot\System32\drivers\Dxapi.sys
\SystemRoot\system32\DRIVERS\monitor.sys
\SystemRoot\System32\TSDDD.dll
\SystemRoot\System32\cdd.dll
\SystemRoot\system32\drivers\luafv.sys
\SystemRoot\system32\drivers\WudfPf.sys
\SystemRoot\System32\ATMFD.DLL
\SystemRoot\system32\drivers\spsys.sys
\SystemRoot\system32\DRIVERS\lltdio.sys
\SystemRoot\system32\DRIVERS\nwifi.sys
\SystemRoot\system32\DRIVERS\ndisuio.sys
\SystemRoot\system32\DRIVERS\rspndr.sys
\SystemRoot\system32\drivers\HTTP.sys
\SystemRoot\System32\DRIVERS\srvnet.sys
\SystemRoot\system32\hoenix Technologies, LTD
10/29/2008
HP-Pavilion
FQ563AA-ABA a6750f
FQ563AA#ABA
103C_53316J
Hewlett-Packard
Socket AM2
AMD Phenom(tm) 9650 Quad-Core Processor
Internal Cache
External Cache
External Cache
Keyboard
PS/2 Mouse
PCIE x1 slot
PCIE x16 slot
PCIE x1 slot
PCIE x1 slot
Bank0/1
CE00000000000000
M3 78T5663QZ3-CF7
Bank2/3
CE00000000000000
M3 78T5663QZ3-CF7
Bank4/5
CE00000000000000
M3 78T5663QZ3-CF7
Bank6/7
CE00000000000000
M3 78T5663QZ3-CF7
PLIGPYVTQY
RPLIRYVSSY
bid=91NAv6PrA1;PROD_MSWORKS;SFCHK;DLED;IS.N60d;ACPwrFail=Off;Cha
n=Retail;CPUFan=On;DVDRW;LegacyFloppy=No;TVout=NTSC;PCBRAND=Pavi
lion;OS=MSV;KBDRV;LScribe;DVDP_STD;Vos.P;PROD_MSOFFHST;FPA=HM;C_
VEN;MUV_B;CDS_D;SW_Main;.fQ;##HPCPC=00000000<9000000602000000042
0000253514130040000010001000;5;:0665<;85>18>1<2=1:<55>?4;;=?=19:
<8494;>:8011<=31953=?76?>378139;594701:=;34:;55;9128<7937==0<722
<:<1:2489>:088=6:?1;2>8=8>12691>>286:9?;4454>3<3>89909>=738375;0
2951<;>=??2?70>75;04<815:33<20846?312127;?24876>7488457<0;0?39>9
;?407;8;8;09>=;==>231>;?456:100000006;00000000002000840515?454=4
35<49434=23405347594>444?475350200000000000000000000000000000000
00000000?24?41954<8?4243:463542:9034;??09<31;8951=>:><6>3291=35:
7;:7?<0;=973478<4:062629<>53103<<=4651<3499:7?769::98;357697=:34
83>07=6;>1<1?<>7<817?5586>79?5:5?19<87:>=6507148017=835>552096;7
14776===1=59:5:9;7?16>;910;64?;=21?;7975:6660><>729>:9<98<5<=
991>7?7>
Component Information
Configuration Data
Identifier
AMD64 Family 16 Model 2 Stepping 3
ProcessorNameString
AMD Phenom(tm) 9650 Quad-Core Processor
VendorIdentifier
AuthenticAMD
AuthcAMDenti
AuthcAMDenti
AuthcAMDenti
AuthcAMDenti
AMD Phenom(tm) 9AMD Phenom(tm) 9
650 Quad-Core Pr650 Quad-Core Pr
ocessor
ocessor
HPQOEMSLIC-CPCFACP
VHPQOEMSLIC-CPCHPET8
HPQOEMSLIC-CPCMCFG<
HPQOEMSLIC-CPCSSDTD
2HPQOEMSLIC-CPCSLICv
HPQOEMSLIC-CPC
340.52
r340_00-144
08@HPX
Wdf01000
w Established
msisadrv
Processor
rzmpos
rzendpt
monitor
PEAUTHCOJ1996
3 of 5 were related to USBPORT.SYS (part of the OS). I would start by running a system file check. The directions in the wiki are designed for Win 7 & 8 but should work on Vista.
Please run a system file check (SFC)
All instructions are in our Wiki article below...
Should you have any questions please ask us.
System file check (SFC) Scan and Repair System Files
Microsoft (R) Windows Debugger Version 6.3.9600.17029 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\Users\Ken\Desktop\New folder\Mini083014-02.dmp]
Mini Kernel Dump File: Only registers and stack trace are available
************* Symbol Path validation summary **************
Response Time (ms) Location
Deferred srv*C:\Symbols*http://msdl.microsoft.com/download/symbols
Symbol search path is: srv*C:\Symbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
Windows Server 2008/Windows Vista Kernel Version 6002 (Service Pack 2) MP (4 procs) Free x64
Product: WinNt, suite: TerminalServer SingleUserTS Personal
Built by: 6002.18881.amd64fre.vistasp2_gdr.130707-1535
Machine Name:
Kernel base = 0xfffff800`01e02000 PsLoadedModuleList = 0xfffff800`01fc6e30
Debug session time: Sat Aug 30 13:59:46.453 2014 (UTC - 4:00)
System Uptime: 0 days 1:37:22.527
Loading Kernel Symbols
Loading User Symbols
Loading unloaded module list
* Bugcheck Analysis *
Use !analyze -v to get detailed debugging information.
BugCheck D1, {fffffa5ffbbb6b44, 2, 1, fffffa800a349f00}
*** WARNING: Unable to verify timestamp for win32k.sys
*** ERROR: Module load completed but symbols could not be loaded for win32k.sys
Probably caused by : USBPORT.SYS ( USBPORT!USBPORT_Core_UsbMapDpc_Worker+1ce )
Followup: MachineOwner
2: kd> !analyze -v
* Bugcheck Analysis *
DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1)
An attempt was made to access a pageable (or completely invalid) address at an
interrupt request level (IRQL) that is too high. This is usually
caused by drivers using improper addresses.
If kernel debugger is available get stack backtrace.
Arguments:
Arg1: fffffa5ffbbb6b44, memory referenced
Arg2: 0000000000000002, IRQL
Arg3: 0000000000000001, value 0 = read operation, 1 = write operation
Arg4: fffffa800a349f00, address which referenced memory
Debugging Details:
WRITE_ADDRESS: GetPointerFromAddress: unable to read from fffff80002029080
GetUlongFromAddress: unable to read from fffff80002029160
fffffa5ffbbb6b44
CURRENT_IRQL: 2
FAULTING_IP:
+d2bc49d3c0
fffffa80`0a349f00 88a0340a80fa mov byte ptr [rax-57FF5CCh],ah
CUSTOMER_CRASH_COUNT: 2
DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT
BUGCHECK_STR: 0xD1
PROCESS_NAME: System
ANALYSIS_VERSION: 6.3.9600.17029 (debuggers(dbg).140219-1702) amd64fre
DPC_STACK_BASE: FFFFFA6001994FB0
TRAP_FRAME: fffffa600198daa0 -- (.trap 0xfffffa600198daa0)
NOTE: The trap frame does not contain all registers.
Some register values may be zeroed or incorrect.
rax=fffffa60013b6110 rbx=0000000000000000 rcx=fffffa800a3491a0
rdx=000000004f444648 rsi=0000000000000000 rdi=0000000000000000
rip=fffffa800a349f00 rsp=fffffa600198dc38 rbp=fffffa800a3491a0
r8=000000004f444648 r9=00000000000003e8 r10=0000000000000000
r11=fffffa600196fd40 r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
iopl=0 nv up ei ng nz na po nc
fffffa80`0a349f00 88a0340a80fa mov byte ptr [rax-57FF5CCh],ah ds:fffffa5f`fbbb6b44=??
Resetting default scope
LAST_CONTROL_TRANSFER: from fffff80001e58eee to fffff80001e59150
STACK_TEXT:
fffffa60`0198d958 fffff800`01e58eee : 00000000`0000000a fffffa5f`fbbb6b44 00000000`00000002 00000000`00000001 : nt!KeBugCheckEx
fffffa60`0198d960 fffff800`01e57dcb : 00000000`00000001 fffffa80`0a349050 fffffa80`088c8320 fffffa80`0a3491a0 : nt!KiBugCheckDispatch+0x6e
fffffa60`0198daa0 fffffa80`0a349f00 : fffffa80`0a7c5400 fffffa80`0a3491a0 fffffa60`0139041a fffffa60`33584e67 : nt!KiPageFault+0x20b
fffffa60`0198dc38 fffffa80`0a7c5400 : fffffa80`0a3491a0 fffffa60`0139041a fffffa60`33584e67 00000000`0005b6f6 : 0xfffffa80`0a349f00
fffffa60`0198dc40 fffffa80`0a3491a0 : fffffa60`0139041a fffffa60`33584e67 00000000`0005b6f6 fffffa80`0a349050 : 0xfffffa80`0a7c5400
fffffa60`0198dc48 fffffa60`0139041a : fffffa60`33584e67 00000000`0005b6f6 fffffa80`0a349050 fffffa80`0a7c5b00 : 0xfffffa80`0a3491a0
fffffa60`0198dc50 fffffa60`0137c1a7 : fffffa80`0a349f00 00000000`00000002 fffffa60`30745378 fffffa80`3070614d : USBPORT!USBPORT_Core_UsbMapDpc_Worker+0x1ce
fffffa60`0198dcc0 fffff800`01e5d367 : fffffa80`0a349f18 00000000`34776478 00000000`00000000 fffffa60`00000683 : USBPORT!USBPORT_Xdpc_Worker+0x26f
fffffa60`0198dd10 fffff800`01e5d5e2 : fffffa60`0137bf38 fffffa60`01966180 00000000`00000000 fffffa60`0196fd40 : nt!KiRetireDpcList+0x117
fffffa60`0198dd80 fffff800`0202d860 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiIdleLoop+0x62
fffffa60`0198ddb0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!zzz_AsmCodeRange_End+0x4
STACK_COMMAND: kb
FOLLOWUP_IP:
USBPORT!USBPORT_Core_UsbMapDpc_Worker+1ce
fffffa60`0139041a 84c0 test al,al
SYMBOL_STACK_INDEX: 6
SYMBOL_NAME: USBPORT!USBPORT_Core_UsbMapDpc_Worker+1ce
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: USBPORT
IMAGE_NAME: USBPORT.SYS
DEBUG_FLR_IMAGE_TIMESTAMP: 51ce4591
IMAGE_VERSION: 6.0.6002.18875
FAILURE_BUCKET_ID: X64_0xD1_USBPORT!USBPORT_Core_UsbMapDpc_Worker+1ce
BUCKET_ID: X64_0xD1_USBPORT!USBPORT_Core_UsbMapDpc_Worker+1ce
ANALYSIS_SOURCE: KM
FAILURE_ID_HASH_STRING: km:x64_0xd1_usbport!usbport_core_usbmapdpc_worker+1ce
FAILURE_ID_HASH: {1a5d1ed6-8cbb-8c24-4788-9f58003760d6}
Followup: MachineOwner
Wanikiya and Dyami--Team Zigzag -
Need help with Exception in thread "main" java.lang.NullPointerException
here is the error
Exception in thread "main" java.lang.NullPointerException
at stream.createFrame(stream.java:153)
at chat.createMessage(chat.java:14)
this is where the error is in stream
public void createFrame(int id) {
*buffer[currentOffset++] = (byte)(id + packetEncryption.getNextKey());*
and this is where it comes from in chat
outStream.createFrame(85);
i just cant see whats causeing the exceptionspiderjava wrote:
the variable state is assigned to test1. This variable(test1) is not initialized anywhere.It is initialized in the c'tor. Which is invoked after the "global" object and attribute initialization. So it is there, but comes too late.
You should definitly not write a technical Java blog and post it all over the place. -
Noob needs help with Logic and Motu live setup.
Hello everyone,
I'm a noob / semi noob who could use some help with a live setup using 2 MOTU 896HD's and Logic on a Mac.
Here's the scenario:
I teach an outdoor marching percussion section (a drumline and a front ensemble of marimbas and vibes). We have an amazing setup of live sound to amplify and enhance the mallet percussion. There is a yamaha PA system with 2 subs and 2 mains which are routed through a rack unit that processes the overall PA balance. I'm pretty sure that the unit is supposed to avoid feedback and do an overall cross-over EQ of the sound. Other then that unit, we have 2 motu896hd units which are routed via fire-wire. I also have a coax cable routing the output of the secondary box to the input of the primary box (digital i/o which converts to ADAT in (i think?)..?
Here's the confusion:
There are more then 8 inputs being used from the ensemble itself, so I need the 16 available inputs to be available in Logic. I was lead to believe that the 2nd motu unit would have to be sent digitally to the 1st motu unit via coax digital i/o. Once in Logic, however, I cannot find the signal or any input at all past the 8th input (of the 1st unit).
Here's the goal:
All of my performers and inputs routed via firewire into a Mac Mini running OSX and Logic pro.
I want to be able to use MainStage and run different patches of effects / virt. instruments for a midi controller keyboard / etc.
I want to be able to EQ and balance the ensemble via Logic.
Here's another question:
How much latency will I be dealing with? Would a mac mini with 4gb of ram be able to handle this load? With percussion, I obviously want the sound as latency free as possible. I also, however, want the flexibility of sound enhancement / modification that comes with Logic and the motu896hd units.
Any help would be REALLY appreciated. I need the routing assistance along with some direction as to whether or not this will work for this type of application. I'm pretty certain it does, as I have spoken with some other teachers in similar venues and they have been doing similar things using mac mini's / logic / mainstage / etc.
Thanks in advance,
ChrisYou'll definitely want to read the manual to make sure the 896HDs are connected together properly. ADAT is a little tricky, it's not just a matter of cabling them together. Go to motunation.com if you need more guidance on connecting multiple devices. Beyond that initial hookup, here are a couple of quick suggestions:
1. Open CueMix and see if both devices are reported there. If not, your connections aren't correct. Be sure to select 44.1kHz as your sample rate, otherwise you are reducing the number of additional channels. For instance at 88.2kHz you would get half the additional channels via ADAT.
2. You may need to create an aggregate device for the MacBook to recognize more than the first 896HD. Lots of help on this forum for how to do that. Again, first make sure you have the 896HDs connected together properly.
3. As for latency with Mainstage on the Mini, no way to know until you try it. Generally MOTU is fantastic for low latency work but Mainstage is a question mark for a lot of users right now. If the Mini can't cut the mustard, you have a great excuse to upgrade to a MacBook Pro. -
Need help with my addressbook program
hi,
i need help with my program here. this one should works as:
- saves user input into a txt file
- displays name of the saved person on the jlist whenever i run the program
- displays info about the person when clicked via textboxes given by reading the txt file where the user inputs are
- should scroll when the list exceeds the listbox
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
import javax.swing.JList;
import java.awt.event.ActionListener;
import java.io.*;
import javax.swing.event.*;
import java.io.FilterInputStream;
public class AddressList extends JPanel implements ActionListener
JTextField txt1 = new JTextField();
JTextField txt2 = new JTextField();
JTextField txt3 = new JTextField();
DefaultListModel mdl = new DefaultListModel();
JList list = new JList();
JScrollPane listScroller = new JScrollPane(list);
ListSelectionModel listSelectionModel;
File fob = new File("Address3.txt");
String name;
char[] chars;
public void ListDisplay()
try
RandomAccessFile rand = new RandomAccessFile(fob,"rw");
BufferedReader br = new BufferedReader(new FileReader("Address3.txt"));
if(fob.exists())
while((name = rand.readLine()) != null)
chars = name.toCharArray();
if(chars[0] == '*')
mdl.addElement(name);
list.setModel(mdl);
if(chars[0] == '#')
continue;
else
System.out.println("No such file..");
catch(IOException a)
System.out.println(a.getMessage());
public AddressList()
this.setLayout(null);
listSelectionModel = list.getSelectionModel();
listSelectionModel.addListSelectionListener(new ListInfo());
list.setBounds(10,40,330,270);
listScroller.setBounds(320,40,20,100);
add(list);
add(listScroller);
JLabel lbl4 = new JLabel("Name: ");
lbl4.setBounds(400,10,80,30);
add(lbl4);
JLabel lbl5 = new JLabel("Cellphone #: ");
lbl5.setBounds(400,50,80,30);
add(lbl5);
JLabel lbl6 = new JLabel("Address: ");
lbl6.setBounds(400,90,80,30);
add(lbl6);
JLabel lbl7 = new JLabel("List ");
lbl7.setBounds(10,10,100,30);
add(lbl7);
txt1.setBounds(480,10,200,30);
add(txt1);
txt2.setBounds(480,50,200,30);
add(txt2);
txt3.setBounds(480,90,200,30);
add(txt3);
JButton btn1 = new JButton("Add");
btn1.setBounds(480,130,100,30);
btn1.addActionListener(this);
btn1.setActionCommand("Add");
add(btn1);
JButton btn2 = new JButton("Save");
btn2.setBounds(480,170,100,30);
btn2.addActionListener(this);
btn2.setActionCommand("Save");
add(btn2);
JButton btn3 = new JButton("Cancel");
btn3.setBounds(480,210,100,30);
btn3.addActionListener(this);
btn3.setActionCommand("Cancel");
add(btn3);
JButton btn4 = new JButton("Close");
btn4.setBounds(480,250,100,30);
btn4.addActionListener(this);
btn4.setActionCommand("Close");
add(btn4);
public static void main(String[]args)
JFrame frm = new JFrame("Address List");
AddressList panel = new AddressList();
frm.getContentPane().add(panel,"Center");
frm.setSize(700,350);
frm.setVisible(true);
panel.ListDisplay();
public void actionPerformed(ActionEvent e)
String cmd;
cmd = e.getActionCommand();
if(cmd.equals("Add"))
txt1.setText("");
txt2.setText("");
txt3.setText("");
else if(cmd.equals("Save"))
mdl.addElement(txt1.getText());
list.setModel(mdl);
try
RandomAccessFile rand = new RandomAccessFile(fob,"rw");
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
LineNumberReader line = new LineNumberReader(br);
if(fob.exists())
rand.seek(fob.length());
rand.writeBytes("* " + txt1.getText());
rand.writeBytes("\r\n" + "# " + txt2.getText());
rand.writeBytes("\r\n" + "# " + txt3.getText() + "\r\n");
else
System.out.println("No such file..");
txt1.setText("");
txt2.setText("");
txt3.setText("");
catch(IOException a)
System.out.println(a.getMessage());
else if(cmd.equals("Cancel"))
txt1.setText("");
txt2.setText("");
txt3.setText("");
else if(cmd.equals("Close"))
System.exit(0);
class ListInfo implements ListSelectionListener
public void valueChanged(ListSelectionEvent e)
ListSelectionModel lsm = (ListSelectionModel)e.getSource();
int minIndex = lsm.getMinSelectionIndex();
int maxIndex = lsm.getMaxSelectionIndex();
try //*this one should display the info of the person whenever i click the person's name at the list box via textbox.. but i cant seem to get it right since it always display the info of the first person inputed.. i tried to get the program to display them whenever it reads lines with * on them....
File fob = new File("Address3.txt");
RandomAccessFile rand = new RandomAccessFile(fob,"rw");
BufferedReader br = new BufferedReader(new FileReader("Address3.txt"));
LineNumberReader line = new LineNumberReader(br);
if(fob.exists())
for(int i = minIndex; i<=maxIndex; i++)
if(lsm.isSelectedIndex(i))
while((name = rand.readLine()) != null)
chars = name.toCharArray();
if(chars[0] == '#')
continue;
if(chars[0] == '*')
txt1.setText(rand.readLine());
txt2.setText(rand.readLine());
txt3.setText(rand.readLine());
else
System.out.println("No such file..");
catch(IOException a)
System.out.println(a.getMessage());
}the only problem now is about how it should display the right info about the person whenever i click its name on the list.. something about file reading or something, i just cant figure it out.
and also about how to make it scroll once it exceeds the list.. i cant make it work, maybe something about wrong declaration..
thanks in advance..
Edited by: syder on Mar 14, 2008 2:26 AMLike said before, do one thing at a time. At startup, something like:
//put all the content in a list
ArrayList<String> lines = new ArrayList<String>();
while(String line=rand.readLine()!=null) {
lines.add(line);
}If you follow the good advice to create a class to encapsulate the entries, you could populate a list of such entries like this:
static final int ENTRY_SIZE = 3;//you have 3 fields now, better to have a constant if that changes
ArrayList<Entry> entries = new ArrayList<Entry>();
for(int i=0; i<lines.size(); i+=ENTRY_SIZE) {
Entry entry = new Entry(lines.get(i), lines.get(i+1), lines.get(i+2);
entries.add(newEntry);
}You could also do both of the above in one run, but I think you will understand better what's happening if you do one thing at a time.
If you don't want to put the entries in an encapsulating class, you can still access this without looping:
int listStartIdx = <desired_entry_index>*ENTRY_SIZE;
String att1 = lines.get(listStartIdx).substring(1);
String att2 = lines.get(listStartIdx+1).substring(1);
String att3 = lines.get(listStartIdx+2).substring(1); -
Need help with a rudimentary program
I'm sort of new at this so i need help with a few things... I'm making a program to compile wages and i need answers with three things: a.) what are the error messages im getting meaning? b.) How can i calculate the state tax as 2% of my gross pay with the first $200 excluded and c.) how can i calculate the local tax as a flat $10 with $2 deducted for each dependant. any help is appreciated
Here is what i have so far:
public class WagesAsign1
public static void main(String[] args)
int depend=4;
double hrsWork=40;
double payRate=15;
double grossPay;
grossPay=payRate*hrsWork;
double statePaid;
double stateTax=2.0;
statePaid=grossPay*(stateTax/100);
double localPaid;
double localTax=10.0;
localPaid=grossPay*(localTax/100);
double fedPaid;
double fedTax=10.0;
double taxIncome;
fedPaid=taxIncome*(fedTax/100);
taxIncome=grossPay-(statePaid+localPaid);
double takeHome;
System.out.println("Assignment 1 Matt Foraker\n");
System.out.println("Hours worked="+hrsWork+" Pay rate $"+payRate+" per/hour dependants: "+depend);
System.out.println("Gross Pay $"+grossPay+"\nState tax paid $"+statePaid+"\nLocal tax paid $"+localPaid+"\nFederal tax paid $"+fedPaid);
System.out.println("You take home a total of $"+takeHome);
and these are the error messages so far:
WagesAsign1.java:23: variable taxIncome might not have been initialized
fedPaid=taxIncome*(fedTax/100);
^
WagesAsign1.java:29: variable takeHome might not have been initialized
System.out.println("You take home a total of $"+takeHome);
^edit: figured it out... please delete post
Message was edited by:
afroryan58 -
Hi, I'm not sure if I'm allowed to post questions on this forum but I can't find anywhere to talk to helpful people about programming.
I'm making a dnd interface for JComponents. So far I've made a simple program that has a Component that can be lifted from a container and braught to the glass pane then later moved to anywhere on the screen and dropped into the container below it. Here's where my problems come:
1) Rite now my 'Movable Component' is a JPanel which is just colored in. I want to either take a Graphic2d from a JComponent/Component and draw it on the JPanel or change the JPanel to the component I want to paint and disable the component.
The problem with getting the Graphics2d is that if the component isn't on the screen it doesn't make a graphic object. I tried messing with the ui delicate and overriding parental methods for paintComponent, repaint, and that repaintChildren(forget name) but I haven't had luck getting a good graphics object. I was thinking of, at the beginning of running the program, putting 1 of each component onto the screen for a second then removing it but I'd rather not. I'd also like to change the graphics dynamicly if someone stretches the component there dropping and what not.
The problem with disabling is that it changes some of the visual features of Components. I want to be able to update the Component myself to change how it looks and I don't want disabling to gray out components.
I mainly just dont want the components to do any of there normal fuctions. This is for a page builder, by the way.
Another problem I'm having is that mouseMotionListener is allowing me to select 2 components that are on top of one another when there edges are near each other. I don't know if theres a fix to this other than changing the Java Class.
My next problem is a drop layout manager, but I'm doing pretty good with that rite now. It'll problem just move components out of the way of the falling component.
One last thing I need help with is that I don't want the object that's being carried to go across the menu bar and certain areas. When I'm having the object being carried I have it braught up to the glass pane which allows it to move anywhere. Does anyone have any idea how I could prevent the component from being over the menu bars and other objects? I might have to make 1 panel is the movable area that can then be broken down into the 'component bank', 'building page' and whatever else I'm gonna need.
This is all just test code to get together for when I make the real program but I need to make sure it'll be possible without a lot of hacking of code.
Sorry for the length. Thanks for any help you can give.The trick to making viewable components that have no behaviour, is to render them onto an image of some sort (eg a BufferedImage). You can then display the Image on a JLabel that can be dragged around the desktop.
Here is a piece of code that does the component rendering for you. This particular example uses a fixed component size, but you can modify that as you choose of course...public class JComponentImage
private static GraphicsConfiguration gConfig;
private static Dimension compSize = new Dimension(80, 22);
private static Image image = null;
public static Image getImage(Class objectClass)
if (gConfig == null)
GraphicsEnvironment gEnv = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice gDevice = gEnv.getDefaultScreenDevice();
gConfig = gDevice.getDefaultConfiguration();
image = gConfig.createCompatibleImage(compSize.width, compSize.height);
JComponent jc = (JComponent) ObjectFactory.instantiate(objectClass);
jc.setSize(compSize);
Graphics g = image.getGraphics();
g.setColor(Color.LIGHT_GRAY);
g.fillRect(0, 0, compSize.width, compSize.height);
g.setColor(Color.BLACK);
jc.paint(g);
return image;
}And here is the class that makes the dragable JLabel using the class above...public class Dragable extends JLabel
private static DragSource dragSource = DragSource.getDefaultDragSource();
private static DragGestureListener dgl = new DragMoveGestureListener();
private static TransferHandler th = new ObjectTransferHandler();
private Class compClass;
private Image image;
Dragable(Class compClass)
this.compClass = compClass;
image = JComponentImage.getImage(compClass);
setIcon(new ImageIcon(image));
setTransferHandler(th);
dragSource.createDefaultDragGestureRecognizer(this,
DnDConstants.ACTION_COPY,
dgl);
public Class getCompClass()
return compClass;
}Oh and here is ObjectFactory which simply instantiates Objects of a given class and sets their text to their classname (very crudely)...public class ObjectFactory
public static Object instantiate(Class objectClass)
Object o = null;
try
o = objectClass.newInstance();
catch (Exception e)
System.out.println("ObjectFactory#instantiate: " + e);
String name = objectClass.getName();
int lastDot = name.lastIndexOf('.');
name = name.substring(lastDot + 1);
if (o instanceof JLabel)
((JLabel)o).setText(name);
if (o instanceof JButton)
((JButton)o).setText(name);
if (o instanceof JTextComponent)
((JTextComponent)o).setText(name);
return o;
}Two more classes required by this codepublic class ObjectTransferHandler extends TransferHandler {
private static DataFlavor df;
* Constructor for ObjectTransferHandler.
public ObjectTransferHandler() {
super();
try {
df = new DataFlavor(DataFlavor.javaJVMLocalObjectMimeType);
} catch (ClassNotFoundException e) {
Debug.trace(e.toString());
public Transferable createTransferable(JComponent jC) {
Transferable t = null;
try {
t = new ObjectTransferable(((Dragable) jC).getCompClass());
} catch (Exception e) {
Debug.trace(e.toString());
return t;
public int getSourceActions(JComponent c) {
return DnDConstants.ACTION_MOVE;
public boolean canImport(JComponent comp, DataFlavor[] flavors) {
if (!(comp instanceof Dragable) && flavors[0].equals(df))
return true;
return false;
public boolean importData(JComponent comp, Transferable t) {
JComponent c = null;
try {
c = (JComponent) t.getTransferData(df);
} catch (Exception e) {
Debug.trace(e.toString());
comp.add(c);
comp.validate();
return true;
public class ObjectTransferable implements Transferable {
private static DataFlavor df = null;
private Class objectClass;
ObjectTransferable(Class objectClass) {
try {
df = new DataFlavor(DataFlavor.javaJVMLocalObjectMimeType);
} catch (ClassNotFoundException e) {
System.out.println("ObjectTransferable: " + e);
this.objectClass = objectClass;
* @see java.awt.datatransfer.Transferable#getTransferDataFlavors()
public DataFlavor[] getTransferDataFlavors() {
return new DataFlavor[] { df };
* @see java.awt.datatransfer.Transferable#isDataFlavorSupported(DataFlavor)
public boolean isDataFlavorSupported(DataFlavor testDF) {
return testDF.equals(df);
* @see java.awt.datatransfer.Transferable#getTransferData(DataFlavor)
public Object getTransferData(DataFlavor arg0)
throws UnsupportedFlavorException, IOException {
return ObjectFactory.instantiate(objectClass);
}And of course the test class:public class DragAndDropTest extends JFrame
JPanel leftPanel = new JPanel();
JPanel rightPanel = new JPanel();
Container contentPane = getContentPane();
Dragable dragableJLabel;
Dragable dragableJButton;
Dragable dragableJTextField;
Dragable dragableJTextArea;
* Constructor DragAndDropTest.
* @param title
public DragAndDropTest(String title)
super(title);
dragableJLabel = new Dragable(JLabel.class);
dragableJButton = new Dragable(JButton.class);
dragableJTextField = new Dragable(JTextField.class);
dragableJTextArea = new Dragable(JTextArea.class);
leftPanel.setBorder(new EtchedBorder());
BoxLayout boxLay = new BoxLayout(leftPanel, BoxLayout.Y_AXIS);
leftPanel.setLayout(boxLay);
leftPanel.add(dragableJLabel);
leftPanel.add(dragableJButton);
leftPanel.add(dragableJTextField);
leftPanel.add(dragableJTextArea);
rightPanel.setPreferredSize(new Dimension(500,500));
rightPanel.setBorder(new EtchedBorder());
rightPanel.setTransferHandler(new ObjectTransferHandler());
contentPane.setLayout(new BorderLayout());
contentPane.add(leftPanel, "West");
contentPane.add(rightPanel, "Center");
public static void main(String[] args)
JFrame frame = new DragAndDropTest("Drag and Drop Test");
frame.pack();
frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
frame.setVisible(true);
}I wrote this code some time ago, so it won't be perfect but hopefully will give you some good ideas.
Regards,
Tim -
Need help with a simple program (should be simple anyway)
I'm (starting to begin) writing a nice simple program that should be easy however I'm stuck on how to make the "New" button in the file menu clear all the fields. Any help? I'll attach the code below.
====================================================
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Message extends JFrame implements ActionListener {
public void actionPerformed(ActionEvent evt) {
text1.setText(" ");
text2.setText("RE: ");
text3.setText(" ");
public Message() {
super("Write a Message - by Kieran Hannigan");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setSize(370,270);
FlowLayout flo = new FlowLayout(FlowLayout.RIGHT);
setLayout(flo);
//Make the bar
JMenuBar bar = new JMenuBar();
//Make "File" on Menu
JMenu File = new JMenu("File");
JMenuItem f1 = new JMenuItem("New");f1.addActionListener(this);
JMenuItem f2 = new JMenuItem("Open");
JMenuItem f3 = new JMenuItem("Save");
JMenuItem f4 = new JMenuItem("Save As");
JMenuItem f5 = new JMenuItem("Exit");
File.add(f1);
File.add(f2);
File.add(f3);
File.add(f4);
File.add(f5);
bar.add(File);
//Make "Edit" on menu
JMenu Edit = new JMenu("Edit");
JMenuItem e1 = new JMenuItem("Cut");
JMenuItem e2 = new JMenuItem("Paste");
JMenuItem e3 = new JMenuItem("Copy");
JMenuItem e4 = new JMenuItem("Repeat");
JMenuItem e5 = new JMenuItem("Undo");
Edit.add(e5);
Edit.add(e4);
Edit.add(e1);
Edit.add(e3);
Edit.add(e2);
bar.add(Edit);
//Make "View" on menu
JMenu View = new JMenu("View");
JMenuItem v1 = new JMenuItem("Bold");
JMenuItem v2 = new JMenuItem("Italic");
JMenuItem v3 = new JMenuItem("Normal");
JMenuItem v4 = new JMenuItem("Bold-Italic");
View.add(v1);
View.add(v2);
View.add(v3);
View.addSeparator();
View.add(v4);
bar.add(View);
//Make "Help" on menu
JMenu Help = new JMenu("Help");
JMenuItem h1 = new JMenuItem("Help Online");
JMenuItem h2 = new JMenuItem("E-mail Programmer");
Help.add(h1);
Help.add(h2);
bar.add(Help);
setJMenuBar(bar);
//Make Contents of window.
//Make "Subject" text field
JPanel row2 = new JPanel();
JLabel sublabel = new JLabel("Subject:");
row2.add(sublabel);
JTextField text2 = new JTextField("RE:",24);
row2.add(text2);
//Make "To" text field
JPanel row1 = new JPanel();
JLabel tolabel = new JLabel("To:");
row1.add(tolabel);
JTextField text1 = new JTextField(24);
row1.add(text1);
//Make "Message" text area
JPanel row3 = new JPanel();
JLabel Meslabel = new JLabel("Message:");
row3.add(Meslabel);
JTextArea text3 = new JTextArea(6,22);
messagearea.setLineWrap(true);
messagearea.setWrapStyleWord(true);
JScrollPane scroll = new JScrollPane(text3,
JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
//SpaceLine
JPanel spaceline = new JPanel();
JLabel spacer = new JLabel(" ");
spaceline.add(spacer);
row3.add(scroll);
add(row1);
add(row2);
add(spaceline);
add(spaceline);
add(row3);
setVisible(true);
public static void main(String[] arguments) {
Message Message = new Message();
}persiandude wrote:
Topic: Need help with if, else, and which statements and loops.
How would I display 60 < temp. <= 85 in java
System.out.println("60 < temp. <= 85 in java");
another question is how do I ask a question like want to try again (y/n) after a output and asking that everytime I type in yes after a output and terminate when saying No.Sun's [basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
Sun's [New To Java Center|http://java.sun.com/learning/new2java/index.html].Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
[http://javaalmanac.com|http://javaalmanac.com]. A couple dozen code examples that supplement [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance].
jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
Bruce Eckel's [Thinking in Java|http://mindview.net/Books/DownloadSites] (Available online.)
Joshua Bloch's [Effective Java|http://www.amazon.com/Effective-Java-2nd-Joshua-Bloch/dp/0321356683/ref=pd_bbs_1?ie=UTF8&s=books&qid=1214349768&sr=8-1]
Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance].
James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806]. -
Need help with spell checker program
Hi
I am writing a spell checker program and need help for a simple logic.I have "List" of correctly spelled words and a String array of wrong spelled words.How can I compare both and tell that for eg xyz word is not spelled correctly.BigDaddyLoveHandles wrote:
To learn more about Map, take the collection tutorial: [http://java.sun.com/docs/books/tutorial/collections/index.html]
(Actually, to me it sounds like you have a Set of correctly spelled words and another Set of words which may or may not be correctly spelled, and you want the difference...)That is what it sounds like to me also, and that is easy.
JSG -
Need help with a activation code for Adobe Acrobat X Standard for my PC, Don't have older Version of Adobe Acrobat 9, 8 or 7.
You don't need to install the older version, you only need the serial number from your original purchase. If you don't have them to hand, did you register? If so, they should be in your Adobe account. If not you really need to contact Adobe, though it isn't clear they will be able to do anything without some proof of purchase etc.
-
Need help with accessing the program.
I need help with accessing my adobe creative cloud on my windows 8.1 laptop. I have an account but do not have an app. I need this for my online classes. Please help!
Link for Download & Install & Setup & Activation may help
-Chat http://www.adobe.com/support/download-install/supportinfo/ -
Need help with a currently "in-use" form we want to switch to Adobes hosting service
Hi, I am in desperate need of help with some issues concerning several forms which we currently use a paid third party (not Adobe) to host and "re-distribute through email"...Somehow I got charged $14.95 for YOUR service, (signed up for a trial, but never used it)..and now I am paying for a year of use of the similar service which Adobe is in control of. I might want to port my form distribution through Adobe in the hopes of reducing the errors, problems and hassles my customers are experiencing when some of them push our "submit button". (and I guess I am familiar with these somewhat from reading what IS available in here, and I also know that, Adobe is working to alleviate some of these " submit" issues, so let's don't start by going backwards, here) I need solutions now for my issues or I can leave it as is, If Adobe's solution will be no better for my end users...
We used FormsCentral to code these forms and it works for the most part (if the end-user can co-operate, and thats iffy, sometimes), but I need help with how to make it go through your servers (and not the third party folks we use now), Not being cruel or racist here, but your over the phone "support techs" are about horrible & I cannot understand them or work with any of them, so I would definitely need someone who speaks English and can understand the nuances of programming these forms, to please contact me back. (Sorry, but both those attributes will be required to be able to help me, so, no "newbie-interns" or first week trainees are gonna cut it).... If you have anyone who fits the bill on those items and would be willing to help us, please contact me back at your earliest convenience. If we have to communicate here, I will do that & I can submit whatever we need to & to whoever we need to.
I need to get this right and working for the majority of my users and on any platform and OS.
You may certainly call me to talk about this, and I have given my number numerous times to your (expletive deleted) time wasting - recording message thingy. So, If it's not available look it up under [email protected]
(and you will probably get right to me, unlike my and I'm sure most other folks', "Adobe phone-in experiences")
Thank You,
Michael Corman
VinylCouture
Phenix City, Alabama 36869Well, thanks for writing back...just so you know...I started using Adobe products in 1987, ...yeah...back then...like Illustrator 1 & 9" B&W Macs ...John Warnock's Helvetica's....stuff like that...8.5 x 11 LaserWriters...all that good stuff...I still have some of it working on a mac...much of it was stuff I bought. some stuff I did not...I'm not a big fan of this "cloud" thing Adobe has foisted upon the creatives of the world...which I'm sure you can tell...but the functionality and usefulness of your software can not be disputed, so feel free to do whatever we will continue to pay for, ...I am very impressed with CC PS on the 64 bit PC and perhaps I will end up paying you the stipend that you demand for the other services.
So I guess that brings us to our problem.. a few years back and at the height of the recession and near bankruptcy myself, I was damn lucky and hit on something and began a small arts and crafts supply service to sell my products online to a very "niche market" ...I had a unique product and still sell that product (plus others) online...My website is www.vinylcouture.com...Strange? Yes...but there is a market it seems, for everything now, and this is the market I service...Catagorically, these are 99%+ women that use these "adhesive, sticky backed vinyl products" to make different "craft items" that are just way too various and numerous to go into... generally older women, women who are computer illiterate for the most part...and all this is irrelevant to my problem, but I want you to have every bit of background on this and especially the demographic we are dealing with, so we can get right to the meat of the problem.
OK...So about two years ago, I decided to offer a "plain sheet" product of a plain colored "stick back" vinyl... it is available in multiple quantities of packs ( like 5 pieces, 10 pieces, 15 pieces, in a packi & so on)...and if you are still on my site.. go to any "GO RIGHT TO OUR ORDER PAGE" button, scroll down a little...and then to the "PLAIN VINYL" section...you will see the Weebly website order process.) You can back out from here, I think,..but, anyway this product is available in 63 colors + or - a few. So then the problem is, how do they select their individual colors within that (whatever) pack?... .
So my initial idea was to enable a "selection form" for these "colors" that would be transmitted to me via email as 'part" of the "order process".. We tried getting our customers to submit a " a list" ( something my competitiors still do, lol, poor bastards)......but that..is just unbelievable..I can't even begin to tell you what a freakin' nightmare that was...these people cannot even count to 10, much less any higher... figuring out what colors to list and send me... well, lets just say, it wasn't working......I had to figure out a better way...Something had to be done.
So after thinking this all out, and yeah...due to my total ignorance, i figured that we could make a form with Live Cycle Designer (Now Forms Central)...(back then something that was bundled with Adobe Acrobat Pro), I believe, and thats what this thing was authored in... and it would be all good...LOL!
Well not so simple...as you well know, Adobe Acrobat would NOT LET YOU EMAIL anything from itself.....it just wouldn't work (and I know why, and all that hooey), but not being one to take NO for answer,.I started looking for a way to make my little gizmo work.. So I found this company that said they can "hijack" (re-direct actually) the request to email, bypass the wah-wah, and re-transmit it to the proper parties.....for less than $100 a year, I think...its called http://pdf-fillableforms.com/.
A nice gentleman named Joseph Silva helped us program the thing to go to his servers and back out. Please dont hassle them...I need them...for now..it basically does work...try it...you should get back a copy of the form that you filled out...good luck however, if you're on MAC OSX or similar...
I have included a copy of both of our forms (and feel free to fill it out and play with it)...just put test somewhere on it...(and you must include YOUR email or it will balk)..they are supposed to be mostly identical, except one seems to be twice as large....generating a 1.7 meg file upon submission, while the other one only generates a 600K file or so...thats another issue for another day or maybe you can advise on that also...
OK so far so good......In our shop, once Grandma buys a 10 pack (or whatever), Only then she gets to the link on her receipt page ro the relevant "selection form" ,(this prevents "Filling and Sending" with "no order" and "no payment", another early problem we had)... which they can click on and it will usually download and open up on their device if all goes well...Then our little form is supposed to be fillable and is supposed to ADD UP all the quantities, so grandma knows how many she is buying and so forth right on the fly, and even while she changes her mind..., and IT'S LARGE so grandma can see it, and then it TOTALS it all up for them, ( cause remember, they can NOT add).., except there is a programming bug (mouse-click should be a mouse-up probably or something..) which makes you click in the blank spaces to get to a correct TOTAL...about 70-80% of our customers can enable all these features and usually the process completes without problems for them especially on PC's running Windows OS and Acrobat Reader X or XI...at least for most... Unfortunately it is still not the "seamless process" I would like or had envisioned for the other folks out there that do have trouble using our form.... Many folks report to us the following issues that we know of. First of all it takes too much time to load up...We know its HUGE...is there anyway that you can see, to streamline this thing? I would love for it to be more compact...this really helps on the phones and pads as I'm sure you well know.
Some just tell us,"it WON'T work"....I believe this is because they are totally out of it and dont even have Adobe Reader on their machine, & don't know how to get it ( yes, we provide the links).....or it's some ancient version....no one can stop this one...
It almost always generates some kind ( at least one time) of "error message" which we do warn them about..., telling one, basically that "Acrobat doesnt even like this happening at all, and it could be detrimental to ones computer files", blah-blah...(this freaks grandma out really bad)...& usually they end up not even trying to send it... and then I get calls that even you wouldn't believe...& If they DO nut up and push the Red "Submit Form" button, it will usually send the thing to us (and also back to them at the "required email address" they furnished on the form, thats what the folks at the "fillable forms place" do) so, if it's performing it's functions, why it is having to complain?. What are we doing wrong?....and how can I fix it?...Will re-compiling it or saving it as a newer version of "FormsCentral" correct any of these problems ?
Ok, so that should keep you busy for a minute and we can start out with those problems...but the next thing is, how can I take advantage of YOUR re-direct & hosting services?, And will it get rid of the error messages, and the slowness, and the iOS incompatibilities ? (amazingly, the last iOS Reader version worked almost OK.. but the newest version doesnt seem to work with my form on my iphone4) If it will enable any version of the iOS to send my form correctly and more transparently, then it might be worth the money...$14.95 a MONTH you say. hmmmmm...Better be good.
Another problem is, that I really don't need 5000 forms a month submitted. I think its like 70-100 or less....Got any plans for that? Maybe I'm just not BIG ENOUGH to use Adobe's services, however in this case, I really don't care whose I do use as long as the product works most correctly for my customers as well as us. Like I said, If I'm doing the best I can, I won't change anything, and still use the other third party, If Adobe has a better solution, then i'm all for that as well. In the meantime, Thanks for any help you can provide on this...
Michael Corman
VinylCouture.com
(706) 326-7911 -
Need Help With File Matching Records
I need help with my file matching program.
Here is how it suppose to work: FileMatch class should contain methods to read oldmast.txt and trans.txt. When a match occurs (i.e., records with the same account number appear in both the master file and the transaction file), add the dollar amount in the transaction record to the current balance in the master record, and write the "newmast.txt" record. (Assume that purchases are indicated by positive amounts in the transaction file and payments by negative amounts.)
When there is a master record for a particular account, but no corresponding transaction record, merely write the master record to "newmast.txt". When there is a transaction record, but no corresponding master record, print to a log file the message "Unmatched transaction record for account number ..." (fill in the account number from the transaction record). The log file should be a text file named "log.txt".
Here is my following program code:
// Exercise 14.8: CreateTextFile.java
// creates a text file
import java.io.FileNotFoundException;
import java.lang.SecurityException;
import java.util.Formatter;
import java.util.FormatterClosedException;
import java.util.NoSuchElementException;
import java.util.Scanner;
import org.egan.AccountRecord;
import org.egan.TransactionRecord;
public class CreateTextFile
private Formatter output1; // object used to output text to file
private Formatter output2; // object used to output text to file
// enable user to open file
public void openTransFile()
try
output1 = new Formatter("trans.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openTransFile
// enable user to open file
public void openOldMastFile()
try
output2 = new Formatter("oldmast.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openOldMastFile
// add transaction records to file
public void addTransactionRecords()
// object to be written to file
TransactionRecord record1 = new TransactionRecord();
Scanner input1 = new Scanner(System.in);
System.out.printf("%s\n%s\n%s\n%s\n\n",
"To terminate input, type the end-of-file indicator",
"when you are prompted to enter input.",
"On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
"On Windows type <ctrl> z then press Enter");
System.out.printf("%s\n%s",
"Enter account number (> 0) and amount.","? ");
while (input1.hasNext()) // loop until end-of-file indicator
try // output values to file
// retrieve data to be output
record1.setAccount(input1.nextInt()); // read account number
record1.setAmount(input1.nextDouble()); // read amount
if (record1.getAccount() > 0)
// write new record
output1.format("%d %.2f\n", record1.getAccount(), record1.getAmount());
} // end if
else
System.out.println("Account number must be greater than 0.");
} // end else
} // end try
catch (FormatterClosedException formatterClosedException)
System.err.println("Error writing to file.");
return;
} // end catch
catch (NoSuchElementException elementException)
System.err.println("Invalid input. Please try again.");
input1.nextLine(); // discard input so user can try again
} // end catch
System.out.printf("%s %s\n%s", "Enter account number (> 0) ",
"and amount.","? ");
} // end while
} // end method addTransactionRecords
// add account records to file
public void addAccountRecords()
// object to be written to file
AccountRecord record2 = new AccountRecord();
Scanner input2 = new Scanner(System.in);
System.out.printf("%s\n%s\n%s\n%s\n\n",
"To terminate input, type the end-of-file indicator",
"when you are prompted to enter input.",
"On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
"On Windows type <ctrl> z then press Enter");
System.out.printf("%s\n%s",
"Enter account number (> 0), first name, last name and balance.","? ");
while (input2.hasNext()) // loop until end-of-file indicator
try // output values to file
// retrieve data to be output
record2.setAccount(input2.nextInt()); // read account number
record2.setFirstName(input2.next()); // read first name
record2.setLastName(input2.next()); // read last name
record2.setBalance(input2.nextDouble()); // read balance
if (record2.getAccount() > 0)
// write new record
output2.format("%d %s %s %.2f\n", record2.getAccount(), record2.getFirstName(),
record2.getLastName(), record2.getBalance());
} // end if
else
System.out.println("Account number must be greater than 0.");
} // end else
} // end try
catch (FormatterClosedException formatterClosedException)
System.err.println("Error writing to file.");
return;
} // end catch
catch (NoSuchElementException elementException)
System.err.println("Invalid input. Please try again.");
input2.nextLine(); // discard input so user can try again
} // end catch
System.out.printf("%s %s\n%s", "Enter account number (> 0),",
"first name, last name and balance.","? ");
} // end while
} // end method addAccountRecords
// close file
public void closeTransFile()
if (output1 != null)
output1.close();
} // end method closeTransFile
// close file
public void closeOldMastFile()
if (output2 != null)
output2.close();
} // end method closeOldMastFile
} // end class CreateTextFile--------------------------------------------------------------------------------------------------
// Exercise 14.8: CreateTextFileTest.java
// Testing class CreateTextFile
public class CreateTextFileTest
// main method begins program execution
public static void main( String args[] )
CreateTextFile application = new CreateTextFile();
application.openTransFile();
application.addTransactionRecords();
application.closeTransFile();
application.openOldMastFile();
application.addAccountRecords();
application.closeOldMastFile();
} // end main
} // end class CreateTextFileTest-------------------------------------------------------------------------------------------------
// Exercise 14.8: TransactionRecord.java
// A class that represents on record of information
package org.egan; // packaged for reuse
public class TransactionRecord
private int account;
private double amount;
// no-argument constructor calls other constructor with default values
public TransactionRecord()
this(0,0.0); // call two-argument constructor
} // end no-argument AccountRecord constructor
// initialize a record
public TransactionRecord(int acct, double amt)
setAccount(acct);
setAmount(amt);
} // end two-argument TransactionRecord constructor
// set account number
public void setAccount(int acct)
account = acct;
} // end method setAccount
// get account number
public int getAccount()
return account;
} // end method getAccount
// set amount
public void setAmount(double amt)
amount = amt;
} // end method setAmount
// get amount
public double getAmount()
return amount;
} // end method getAmount
} // end class TransactionRecord -------------------------------------------------------------------------------------------------
// Exercise 14.8: AccountRecord.java
// A class that represents on record of information
package org.egan; // packaged for reuse
import org.egan.TransactionRecord;
public class AccountRecord
private int account;
private String firstName;
private String lastName;
private double balance;
// no-argument constructor calls other constructor with default values
public AccountRecord()
this(0,"","",0.0); // call four-argument constructor
} // end no-argument AccountRecord constructor
// initialize a record
public AccountRecord(int acct, String first, String last, double bal)
setAccount(acct);
setFirstName(first);
setLastName(last);
setBalance(bal);
} // end four-argument AccountRecord constructor
// set account number
public void setAccount(int acct)
account = acct;
} // end method setAccount
// get account number
public int getAccount()
return account;
} // end method getAccount
// set first name
public void setFirstName(String first)
firstName = first;
} // end method setFirstName
// get first name
public String getFirstName()
return firstName;
} // end method getFirstName
// set last name
public void setLastName(String last)
lastName = last;
} // end method setLastName
// get last name
public String getLastName()
return lastName;
} // end method getLastName
// set balance
public void setBalance(double bal)
balance = bal;
} // end method setBalance
// get balance
public double getBalance()
return balance;
} // end method getBalance
// combine balance and amount
public void combine(TransactionRecord record)
balance = (getBalance() + record.getAmount());
} // end method combine
} // end class AccountRecord -------------------------------------------------------------------------------------------------
// Exercise 14.8: FileMatch.java
import java.io.File;
import java.io.FileNotFoundException;
import java.lang.IllegalStateException;
import java.util.NoSuchElementException;
import java.util.Scanner;
import java.util.Formatter;
import java.util.FormatterClosedException;
import org.egan.AccountRecord;
import org.egan.TransactionRecord;
public class FileMatch
private Scanner inTransaction;
private Scanner inOldMaster;
private Formatter outNewMaster;
private Formatter theLog;
// enable user to open file
public void openTransFile()
try
inTransaction = new Scanner(new File("trans.txt"));
} // end try
catch (FileNotFoundException fileNotFoundException)
System.err.println("Error opening file.");
System.exit(1);
} // end catch
} // end method openTransFile
// enable user to open file
public void openOldMastFile()
try
inOldMaster = new Scanner(new File("oldmast.txt"));
} // end try
catch (FileNotFoundException fileNotFoundException)
System.err.println("Error opening file.");
System.exit(1);
} // end catch
} // end method openOldMastFile
// enable user to open file
public void openNewMastFile()
try
outNewMaster = new Formatter("newmast.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openNewMastFile
// enable user to open file
public void openLogFile()
try
theLog = new Formatter("log.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openLogFile
// update records
public void updateRecords()
TransactionRecord transaction = new TransactionRecord();
AccountRecord account = new AccountRecord();
try // read records from file using Scanner object
System.out.println("Start file matching.");
while (inTransaction.hasNext() && inOldMaster.hasNext())
transaction.setAccount(inTransaction.nextInt()); // read account number
transaction.setAmount(inTransaction.nextDouble()); // read amount
account.setAccount(inOldMaster.nextInt()); // read account number
account.setFirstName(inOldMaster.next()); // read first name
account.setLastName(inOldMaster.next()); // read last name
account.setBalance(inOldMaster.nextDouble()); // read balance
if (transaction.getAccount() == account.getAccount())
while (inTransaction.hasNext() && transaction.getAccount() == account.getAccount())
account.combine(transaction);
outNewMaster.format("%d %s %s %.2f\n",
account.getAccount(), account.getFirstName(), account.getLastName(),
account.getBalance());
transaction.setAccount(inTransaction.nextInt()); // read account number
transaction.setAmount(inTransaction.nextDouble()); // read amount
else if (transaction.getAccount() != account.getAccount())
outNewMaster.format("%d %s %s %.2f\n",
account.getAccount(), account.getFirstName(), account.getLastName(),
account.getBalance());
theLog.format("%s%d","Unmatched transaction record for account number ",transaction.getAccount());
} // end while
System.out.println("Finish file matching.");
} // end try
catch (NoSuchElementException elementException)
System.err.println("File improperly formed.");
inTransaction.close();
inOldMaster.close();
System.exit(1);
} // end catch
catch (IllegalStateException stateException)
System.err.println("Error reading from file.");
System.exit(1);
} // end catch
} // end method updateRecords
// close file and terminate application
public void closeTransFile()
if (inTransaction != null)
inTransaction.close();
} // end method closeTransFile
// close file and terminate application
public void closeOldMastFile()
if (inOldMaster != null)
inOldMaster.close();
} // end method closeOldMastFile
// close file
public void closeNewMastFile()
if (outNewMaster != null)
outNewMaster.close();
} // end method closeNewMastFile
// close file
public void closeLogFile()
if (theLog != null)
theLog.close();
} // end method closeLogFile
} // end class FileMatch-------------------------------------------------------------------------------------------------
// Exercise 14.8: FileMatchTest.java
// Testing class FileMatch
public class FileMatchTest
// main method begins program execution
public static void main( String args[] )
FileMatch application = new FileMatch();
application.openTransFile();
application.openOldMastFile();
application.openNewMastFile();
application.openLogFile();
application.updateRecords();
application.closeLogFile();
application.closeNewMastFile();
application.closeOldMastFile();
application.closeTransFile();
} // end main
} // end class FileMatchTest-------------------------------------------------------------------------------------------------
Sample data for master file:
Master file
Account Number Name Balance
100 Alan Jones 348.17
300 Mary Smith 27.19
500 Sam Sharp 0.00
700 Suzy Green -14.22Sample data for transaction file:
Transaction file Transaction
Account Number Amount
100 27.14
300 62.11
300 83.89
400 100.56
700 80.78
700 1.53
900 82.17 -------------------------------------------------------------------------------------------------
My FileMatch class program above has bugs in it.
The correct results for the newmast.txt:
100 Alan Jones 375.31
300 Mary Smith 173.19
500 Sam Sharp 0.00
700 Suzy Green 68.09The correct results for the log.txt:
Unmatched transaction record for account number 400Unmatched transaction record for account number 900------------------------------------------------------------------------------------------------
My results for the newmast.txt:
100 Alan Jones 375.31
300 Mary Smith 111.08
500 Sam Sharp 0.00
700 Suzy Green -12.69My results for the log.txt
Unmatched transaction record for account number 700-------------------------------------------------------------------------------------------------
I am not sure what is wrong with my code above to make my results different from the correct results.
Much help is appreciated. Please help.From the output, it looks like one problem is just formatting -- apparently you're including a newline in log entries and not using tabs for the newmast output file.
As to why the numbers are off -- just from glancing over it, it appears that the problem is when you add multiple transaction values. Since account.combine() is so simple, I suspect that you're either adding creating transaction objects incorrectly or not creating them when you should be.
Create test input data that isolates a single case of this (e.g., just the Mary Smith case), and then running your program in a debugger or adding debugging code to the add/combine method, so you can see what's happening in detail.
Also I'd recommend reconsidering your design. It's a red flag if a class has a name with "Create" in it. Classes represent bundles of independant state and transformations on that state, not things to do. -
Need help with Template - unbalanced #EndEditable tag
I am unable to use this template to create a new page and get the "unbalanced #EndEditable tag" error.
If I open the file independently it looks great - otherwise I get the error.
Code for internal_students.dwt
There is an error at line 45, column 79 (absolute position 2188)
<div id="metanav"><!-- #BeginLibraryItem "/Library/metaNav.lbi" -->
<p><a href="../Library/contact/index.html">Contact Us</a></p>
<!-- #EndLibraryItem --></div>
<div id="navigation">
<div id="navigation_l">
<div id="navigation_r"><!-- #BeginLibraryItem "/Library/mainNav.lbi" --> <ul>
<li><a href="../index.html" class="first"><img src="../images/spacer.gif" alt="CAITE Homepage" width="75" height="20" border="0" /></a></li>
<li><a href="../about/index.html">About</a></li>
<li><a href="../news/index.html">News And Events</a></li>
<li><a href="../educators/index.html">For Educators</a></li>
<li><a href="../students/index.html">For Students</a></li>
<li><a href="../industry/index.html" class="last">For Industry</a></li>
</ul>
<!-- #EndLibraryItem --></div>
I need help with this as the site and templates were created 2/3 years before I arrived on the job.
Thank you
CherylOkay
- This is on-line page http://caite.cs.umass.edu/students/index.html
If you want code from template here it is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/internal_about.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>CAITE - Commonwealth Alliance for Information Technology Education</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<meta name="Description" content="Commonwealth Alliance for Information Technology Education (CAITE) to design and carry out comprehensive programs that address under representation in information technology (IT) education and the workforce. CAITE will focus on women and minorities in groups that are underrepresented in the Massachusetts innovation economy" />
<meta name="Keywords" content="Commonwealth Alliance for Information Technology Education CAITE Massachusetts women minorities information technology IT" />
<meta name="robots" content="all, index, follow" />
<meta name="revisit-after" content="14 days" />
<meta name="author" content="Outreach Web Team" />
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --><!-- InstanceEndEditable -->
<link rel="shortcut icon" href="/images/favicon.ico" />
<script type="text/javascript" src="../scripts/jquery.js"></script>
<script type="text/javascript" src="../scripts/jquery.easing.js"></script>
<script type="text/javascript" src="../scripts/jquery.pngfix.js"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
$(document).ready(function() {
$("img[@src$=png], div#wrapper_l, div#wrapper_r, div#whatsnew").pngfix();
//-->
</script>
<link href="../css/screenstyle.css" rel="stylesheet" type="text/css" media="screen" />
<link href="../css/printstyle.css" rel="stylesheet" type="text/css" media="print" />
</head>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<body>
<div id="wrapper">
<div id="metanav"><!-- #BeginLibraryItem "/Library/metaNav.lbi" -->
<p><a href="../Library/contact/index.html">Contact Us</a></p>
<!-- #EndLibraryItem --></div>
<div id="navigation">
<div id="navigation_l">
<div id="navigation_r"><!-- #BeginLibraryItem "/Library/mainNav.lbi" --> <ul>
<li><a href="../index.html" class="first"><img src="../images/spacer.gif" alt="CAITE Homepage" width="75" height="20" border="0" /></a></li>
<li><a href="../about/index.html">About</a></li>
<li><a href="../news/index.html">News And Events</a></li>
<li><a href="../educators/index.html">For Educators</a></li>
<li><a href="../students/index.html">For Students</a></li>
<li><a href="../industry/index.html" class="last">For Industry</a></li>
</ul>
<!-- #EndLibraryItem --></div>
<!-- end navigation right -->
</div><!-- end navigation left -->
</div><!-- end navigation -->
<div id="wrapper_l">
<div id="wrapper_r">
<div id="innerwrapper">
<div id="internalBanner-print"> <h1>Commonwealth Alliance for Information Technology Education (CAITE)</h1></div>
<div id="internalBanner"><!-- InstanceBeginEditable name="internalBanner" -->
<div class="students-banner">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="125" height="188" align="left" valign="top" id="homeImage"><img src="../images/logo_vertical_small.png" alt="CAITE" width="105" height="188" /></td>
<td align="left" valign="top" id="internal-banner-quote"><div id="internalQuote">
<div id="internalQuote-inner">
<p>CAITE designs and carrys out comprehensive programs that address under-representation in information technology (IT).</p>
</div>
</div></td>
</tr>
</table>
</div>
<!-- InstanceEndEditable --></div> <!-- end banner -->
<div id="internalContent">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="317" align="left" valign="top" id="secondary-content">
<!-- InstanceBeginEditable name="SecondaryNav" --><!-- #BeginLibraryItem "/Library/studentNav.lbi" -->
<h3><a href="../students/index.html">For Students</a></h3>
<div id="secondaryNav">
<ul>
<li><a href="http://www.takeITgoanywhere.org" target="_blank">TakeITgoanywhere.org</a></li>
</ul>
</div><!-- #EndLibraryItem --><!-- InstanceEndEditable -->
</td>
<td align="left" valign="top" id="contentCell"><!-- InstanceBeginEditable name="mainContent" -->
<h1>For Students</h1>
<p>The University of Massachusetts Amherst is leading a Commonwealth Alliance for Information Technology Education (CAITE) to design and carry out comprehensive programs that address under representation in information technology (IT) education and the workforce. CAITE will focus on women and minorities in groups that are underrepresented in the Massachusetts innovation economy; that is, economically, academically, and socially disadvantaged residents.</p>
<p>The project will pilot a series of outreach programs supported by educational pathways in three regions (one rural, one suburban, and one urban). The project will include work with high school teachers, staff, and counselors. CAITE will identify best practices and disseminate, deploy, extend and institutionalize these best practices statewide and nationally.</p>
<p>Community colleges are the centerpiece of CAITE because of the central role they play in reaching out to underserved populations and in serving as a gateway to careers and further higher education.</p>
<p>This project will build a broad alliance built on its leadership in and partnership with the Commonwealth Information Technology Initiative (CITI), the Boston Area Advanced Technological Education Center (BATEC), regional Louis Stokes Alliances and NSF EGEP programs, and other partnerships and initiatives focused on information technology education and STEM pipeline issues</p>
<p> </p>
<!-- InstanceEndEditable --></td>
</tr>
</table>
</div>
<div id="alliances">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="30" align="left" valign="top"><h2><a href="../about/alliances.html">Alliances</a></h2></td>
</tr>
<tr>
<td align="center" valign="middle"><!-- #BeginLibraryItem "/Library/AllianceTable.lbi" --><p>
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td width="35" align="center" valign="middle"> </td>
<td align="center" valign="middle"><a href="http://www.citi.mass.edu/" target="_blank"><img src="../images/logo_citi.jpg" alt="Citi" width="65" height="50" border="0 /"></a></td>
<td align="center" valign="middle"><a href="http://www.batec.org/index.php" target="_blank"><img src="../images/logo_batec.jpg" alt="BATEC" width="69" height="46" border="0" /></a></td>
<td align="center" valign="middle"><a href="http://www.nsf.gov/index.jsp" target="_blank"><img src="../images/nsflogo.gif" alt="NSF" width="64" height="65" border="0" ></a></td>
<td align="center" valign="middle"><a href="http://www.nelsamp.neu.edu/" target="_blank"><img src="../images/nelsamplogo.gif" width="100" border="0"></a></td>
<td align="center" valign="middle"><p><a href="http://mysite.verizon.net/milnerm/" target="_blank"><img src="../images/umlsamp.png" width="85" height="63" border="0"></a></p> </td>
<td align="center" valign="middle"><a href="http://www.neagep.org/index.asp" target="_blank"><img src="../images/nealogo.gif" border="0" ></a></td>
</tr>
</table>
<!-- #EndLibraryItem --></td>
</tr>
</table>
</div>
</div> <!-- end inner wrapper -->
</div><!-- end wrapper right -->
</div><!-- end wrapper left -->
<div id="bottom">
<div id="bottom_l">
<div id="bottom_r"> </div><!-- end bottom right -->
</div><!-- end bottom left -->
</div> <!-- end bottom -->
</div><!-- end wrapper -->
<div id="copyright"><!-- #BeginLibraryItem "/Library/copyright.lbi" -->
<p>Sponsored by CAITE an NSF CISE Broadening Participation in Computing Alliance<br />
© copyright 2008 <a href="http://www.umass.edu/" target="_blank">University of Massachusetts, Amherst</a></p>
<font color="#666666"><br>
</font>
<p><font color="#666666" size=2> This material is based upon work supported by the National Science Foundation under Grant No.s NSF-0634412 and NSF-0837739. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.</font> </p>
<!-- #EndLibraryItem --></div>
<!-- end copyright -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7435501-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
<!-- InstanceEnd --></html>
Maybe you are looking for
-
Error in deploying Web Dynpro application
Hi I have created (in Net weaver developer studio) and deployed a webdynpro application on the portal. I have created a SAP WebDynpro iView for the web Dynpro application that I have deployed on the portal. When I execute the WebDynpro iView in the p
-
I've identified the mole--how do i kill him.
i was having a problem w/ my g4 slowing down. i found the problem to be the hp scanner monitor software choking down the cpu. i have removed all of the software associated w/ the scanner, but can't seem to get rid of that hp scanner monitor. every ti
-
Bulk update of inventory for last evaluated price
In SAP, there are about 10,000 items . Last evaluated price is not assigned for many items. So it is very tedious task of assigning the price. For each item Inventory Audit Report is executed. Is there any way of assigning the last evaluated price in
-
I need to know how to move my songs from my ipod to my library. A while ago i cleaned my computer and didn't save the music files on my computer. Now i have them on my ipod and not on my library. Im about to sell my ipod with click wheel but don't wa
-
Same query returning different result set
hi all, i am using db 10g. i have a query like below SELECT SUM(EID_AMOUNT)amt,EID_INCR_CODE,EIH_EFF_DATE FROM EMP_INC_HEADER,EMP_INC_DETAILS WHERE EIH_EMP_CODE = EID_EMP_CODE AND EIH_EFF_DATE = EIH_EFF_DATE AND EIH_STATUS =