Need some String Logic....!
Hi,
I have a String str="-a-b_-c-d" ,
I want to rename the String by making the following changes.
If a is -ve(ie., -a) then it should be changed to aW (ie, '-a'='aW')
If a is +ve(ie., a) then it should be changed to aE (ie, '-a'='aE')
If b is -ve(ie., -b) then it should be changed to bS (ie, '-b'='bS')
If b is +ve(ie., b) then it should be changed to bN (ie, '-b'='bN')
Same logic of 'a' for 'c' as well.
ie., '-c'='cW' and 'c'='cE'
Same logic of 'b' for 'd' as well.
ie., '-d'='dS' and 'd'='dN'
The output of the above String str should be str2="aWbS_cWdS";
Some examples str="a-b_-cd" == "aEbS_cWdN"
Thanks in Advance..,
regards
Rao.
I tend to agree with kamranA, but I had a few minutes and felt like being a sucker for a challenge, so I took a shot at it. BUT DON'T LET IT HAPPEN AGAIN! Anyway, not that this code is so wonderful, but all caveats apply . . . test and use at your own risk:
public class Str2CharII {
public static void main(String[] argv) {
System.out.println("The result is: "+getNewString(argv[0]));
public static String getNewString(String s) {
StringBuffer sb = new StringBuffer();
char[] chars = s.toCharArray();
int ind = -2;
for (int idx=0; idx < chars.length; idx++) {
switch (chars[idx]) {
case '-': {
ind = idx;
continue;
case '_': {
sb.append("_");
continue;
case 'a': {
if ( idx == (ind + 1) ) { sb.append("aW"); }
else { sb.append("aE"); }
continue;
case 'b': {
if ( idx == (ind + 1) ) { sb.append("bS"); }
else { sb.append("bN"); }
continue;
case 'c': {
if ( idx == (ind + 1) ) { sb.append("cW"); }
else { sb.append("cE"); }
continue;
case 'd': {
if ( idx == (ind + 1) ) { sb.append("dS"); }
else { sb.append("dN"); }
continue;
return(new String(sb));
}~Bill
Similar Messages
-
Need some help logic keeps crashing
here is my error report i would really like to keep working on this project as its weeks worth of time ive spent on it
any help will be appreciated
my problem first started when i hit the reorganize memory button in song information, it told me i had a bad block and did i want to repair it which i click on repair now this below is happening when i start the project.
thanks
Date/Time: 2007-03-23 21:29:39.923 +0000
OS Version: 10.4.9 (Build 8P135)
Report Version: 4
Command: Logic Pro
Path: /Applications/Logic Pro.app/Contents/MacOS/Logic Pro
Parent: WindowServer [71]
Version: 7.2.3 (961.9)
Build Version: 14
Project Name: Logic
Source Version: 9610900
PID: 469
Thread: 0
Exception: EXCBADACCESS (0x0001)
Codes: KERNPROTECTIONFAILURE (0x0002) at 0x0000002e
Thread 0 Crashed:
0 ...ple.CoreServices.CarbonCore 0x90ba849c CSMemDisposeHandle + 36
1 ...ple.CoreServices.CarbonCore 0x90ba8464 DisposeHandle + 20
2 com.apple.logic.pro 0x00495148 0x1000 + 4800840
3 com.apple.logic.pro 0x00035814 0x1000 + 215060
4 com.apple.logic.pro 0x0004f3b0 0x1000 + 320432
5 com.apple.logic.pro 0x0032b298 0x1000 + 3318424
6 com.apple.logic.pro 0x0000fad8 0x1000 + 60120
7 com.apple.logic.pro 0x001e6a98 0x1000 + 1989272
8 com.apple.logic.pro 0x001f1188 0x1000 + 2032008
9 com.apple.logic.pro 0x00008ba8 0x1000 + 31656
10 com.apple.logic.pro 0x001eec48 0x1000 + 2022472
11 com.apple.logic.pro 0x001f10d4 0x1000 + 2031828
12 com.apple.logic.pro 0x001f4f88 0x1000 + 2047880
13 com.apple.logic.pro 0x00485350 0x1000 + 4735824
14 com.apple.HIToolbox 0x9329a934 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 692
15 com.apple.HIToolbox 0x9329a08c SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 372
16 com.apple.HIToolbox 0x932a0e90 SendEventToEventTarget + 40
17 com.apple.HIToolbox 0x933197e8 SendHICommandEvent(unsigned long, HICommand const*, unsigned long, unsigned long, unsigned char, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 380
18 com.apple.HIToolbox 0x93349694 SendMenuItemSelectedEvent + 136
19 com.apple.HIToolbox 0x9334959c FinishMenuSelection(MenuData*, MenuData*, MenuResult*, MenuResult*, unsigned long, unsigned long, unsigned long, unsigned char) + 144
20 com.apple.HIToolbox 0x93330a48 MenuSelectCore(MenuData*, Point, double, unsigned long, OpaqueMenuRef**, unsigned short*) + 404
21 com.apple.HIToolbox 0x93330530 MenuSelect + 100
22 com.apple.HIToolbox 0x9332c7a4 HandleMouseEvent(OpaqueEventRef*) + 84
23 com.apple.HIToolbox 0x933304b8 StandardMenuBarEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 56
24 com.apple.HIToolbox 0x9329a934 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 692
25 com.apple.HIToolbox 0x9329a08c SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 372
26 com.apple.HIToolbox 0x932a0e90 SendEventToEventTarget + 40
27 com.apple.HIToolbox 0x934903f0 HandleMouseEvent(OpaqueEventRef*) + 388
28 com.apple.HIToolbox 0x932a11fc ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 496
29 com.apple.HIToolbox 0x9329ab84 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1284
30 com.apple.HIToolbox 0x9329a08c SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 372
31 com.apple.HIToolbox 0x932a0e90 SendEventToEventTarget + 40
32 com.apple.HIToolbox 0x932e1c04 ToolboxEventDispatcher + 92
33 com.apple.HIToolbox 0x932e1b90 HLTBEventDispatcher + 16
34 com.apple.HIToolbox 0x932e0148 RunApplicationEventLoop + 148
35 com.apple.logic.pro 0x001e98bc 0x1000 + 2001084
36 com.apple.logic.pro 0x0000b974 0x1000 + 43380
37 com.apple.logic.pro 0x00003224 0x1000 + 8740
38 com.apple.logic.pro 0x000030cc 0x1000 + 8396
Thread 1:
0 libSystem.B.dylib 0x9000b4c8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000b41c mach_msg + 60
2 com.apple.CoreFoundation 0x907deba8 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268
4 com.apple.CoreFoundation 0x907ed90c CFRunLoopRun + 52
5 com.apple.logic.pro 0x00067c10 0x1000 + 420880
6 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 2:
0 libSystem.B.dylib 0x9000b4c8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000b41c mach_msg + 60
2 com.apple.CoreFoundation 0x907deba8 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268
4 com.apple.audio.CoreAudio 0x9145763c HALRunLoop::OwnThread(void*) + 264
5 com.apple.audio.CoreAudio 0x914573dc CAPThread::Entry(CAPThread*) + 96
6 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 3:
0 libSystem.B.dylib 0x9002c548 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x9003102c pthreadcondwait + 480
2 com.apple.logic.pro 0x00592df8 0x1000 + 5840376
3 com.apple.logic.pro 0x00592ebc 0x1000 + 5840572
4 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 4:
0 libSystem.B.dylib 0x9002c548 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x9003102c pthreadcondwait + 480
2 com.apple.logic.pro 0x00592df8 0x1000 + 5840376
3 com.apple.logic.pro 0x00592ebc 0x1000 + 5840572
4 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 5:
0 libSystem.B.dylib 0x9002c548 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x9003102c pthreadcondwait + 480
2 com.apple.logic.pro 0x0058f30c 0x1000 + 5825292
3 com.apple.logic.pro 0x0058f3d0 0x1000 + 5825488
4 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 6:
0 libSystem.B.dylib 0x9002c548 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x9003102c pthreadcondwait + 480
2 com.apple.logic.pro 0x0058f30c 0x1000 + 5825292
3 com.apple.logic.pro 0x0058f3d0 0x1000 + 5825488
4 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 7:
0 libSystem.B.dylib 0x90055468 semaphoretimedwait_signaltrap + 8
1 libSystem.B.dylib 0x90071be8 pthreadcond_timedwait_relativenp + 556
2 com.apple.audio.CoreAudio 0x91468794 CAGuard::WaitFor(unsigned long long) + 204
3 com.apple.audio.CoreAudio 0x914686a4 CAGuard::WaitUntil(unsigned long long) + 304
4 com.apple.audio.CoreAudio 0x914668e8 HP_IOThread::WorkLoop() + 852
5 com.apple.audio.CoreAudio 0x91466580 HPIOThread::ThreadEntry(HPIOThread*) + 16
6 com.apple.audio.CoreAudio 0x914573dc CAPThread::Entry(CAPThread*) + 96
7 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 8:
0 libSystem.B.dylib 0x900412f8 machwaituntil + 8
1 ...ple.CoreServices.CarbonCore 0x90bfbea4 MPDelayUntil + 60
2 ...ple.CoreServices.CarbonCore 0x90bfbcec Delay + 124
3 ...opellerheads.rewire.library 0x1f30d4b0 RWPUnregisterDeviceImp + 3096
4 ...opellerheads.rewire.library 0x1f345a08 RWPUnregisterDeviceImp + 233840
5 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 9:
0 libSystem.B.dylib 0x9002c638 semaphorewaittrap + 8
1 com.ableton.live-engine 0x2020d954 RWDEFGetDeviceNameAndVersion + 10888
2 com.ableton.live-engine 0x20215b98 RWDEFGetDeviceNameAndVersion + 44236
3 com.ableton.live-engine 0x203b746c RWDEFGetDeviceNameAndVersion + 1754528
4 com.ableton.live-engine 0x2020e0c8 RWDEFGetDeviceNameAndVersion + 12796
5 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 10:
0 libSystem.B.dylib 0x9000b4c8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000b41c mach_msg + 60
2 com.apple.CoreFoundation 0x907deba8 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268
4 com.apple.CoreFoundation 0x907ed90c CFRunLoopRun + 52
5 0x20574328 GNMessagePortLoop__FPv + 280
6 0x20539780 GNThreadHandler__FPv + 204
7 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 11:
0 libSystem.B.dylib 0x900c8370 sem_wait + 12
1 0x20578684 GNsem_wait_FPi + 64
2 0x20574edc waitForSignal__11GNConditionFv + 120
3 0x204ec8d8 workerThreadFunction__24GNReWire2AudioDeviceHostFPv + 188
4 0x20539780 GNThreadHandler__FPv + 204
5 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 12:
0 libSystem.B.dylib 0x90055468 semaphoretimedwait_signaltrap + 8
1 libSystem.B.dylib 0x90071be8 pthreadcond_timedwait_relativenp + 556
2 ...ple.CoreServices.CarbonCore 0x90bf748c TSWaitOnSemaphoreCommon + 176
3 ...ple.CoreServices.CarbonCore 0x90bff428 TimerThread + 60
4 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 13:
0 libSystem.B.dylib 0x9002c548 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x9003102c pthreadcondwait + 480
2 com.apple.logic.pro 0x0010ce64 0x1000 + 1097316
3 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 14:
0 libSystem.B.dylib 0x9002c548 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x9003102c pthreadcondwait + 480
2 com.apple.logic.pro 0x0010cd84 0x1000 + 1097092
3 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 15:
0 libSystem.B.dylib 0x9000b4c8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000b41c mach_msg + 60
2 com.apple.audio.midi.CoreMIDI 0x96b7dac8 XServerMachPort::ReceiveMessage(int&, void*, int&) + 84
3 com.apple.audio.midi.CoreMIDI 0x96b70c80 MIDIInPortThread::Run() + 64
4 com.apple.audio.midi.CoreMIDI 0x96b74f44 XThread::RunHelper(void*) + 28
5 com.apple.audio.midi.CoreMIDI 0x96b7e87c CAPThread::Entry(CAPThread*) + 96
6 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 16:
0 libSystem.B.dylib 0x9004a828 syscallthreadswitch + 8
1 com.apple.Foundation 0x92bfb5dc +[NSThread sleepUntilDate:] + 152
2 com.apple.AppKit 0x9381da10 -[NSUIHeartBeat _heartBeatThread:] + 1100
3 com.apple.Foundation 0x92be31a0 forkThreadForFunction + 108
4 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 17:
0 libSystem.B.dylib 0x90055468 semaphoretimedwait_signaltrap + 8
1 libSystem.B.dylib 0x90071be8 pthreadcond_timedwait_relativenp + 556
2 ...ple.CoreServices.CarbonCore 0x90bf748c TSWaitOnSemaphoreCommon + 176
3 ...ickTimeComponents.component 0x98c96224 ReadSchedulerThreadEntryPoint + 5300
4 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 18:
0 libSystem.B.dylib 0x9002c638 semaphorewaittrap + 8
1 libSystem.B.dylib 0x90031050 pthreadcondwait + 516
2 com.apple.logic.pro 0x001147b0 0x1000 + 1128368
3 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 19:
0 libSystem.B.dylib 0x90055468 semaphoretimedwait_signaltrap + 8
1 libSystem.B.dylib 0x90071be8 pthreadcond_timedwait_relativenp + 556
2 ...ple.CoreServices.CarbonCore 0x90bf748c TSWaitOnSemaphoreCommon + 176
3 ...ple.CoreServices.CarbonCore 0x90bf72e0 AsyncFileThread(void*) + 56
4 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 20:
0 libSystem.B.dylib 0x90055468 semaphoretimedwait_signaltrap + 8
1 libSystem.B.dylib 0x90071be8 pthreadcond_timedwait_relativenp + 556
2 ...ple.CoreServices.CarbonCore 0x90bf748c TSWaitOnSemaphoreCommon + 176
3 ...ple.CoreServices.CarbonCore 0x90c02f9c DeferredTaskThread + 56
4 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 21:
0 libSystem.B.dylib 0x900412f8 machwaituntil + 8
1 libSystem.B.dylib 0x900410c4 nanosleep + 388
2 libSystem.B.dylib 0x90044898 usleep + 88
3 Massive.MusicDevice.component 0x37e6420c NI::SND::PresetManagerDB::scanForBackground(CppSQLite3DB&) + 4716 (bundle1.s:283)
4 Massive.MusicDevice.component 0x37e66d60 NI::SND::PresetManagerDB::run() + 320 (bundle1.s:283)
5 Massive.MusicDevice.component 0x37f74158 NI::GP::Thread::execute(void*) + 72 (bundle1.s:283)
6 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 22:
0 libSystem.B.dylib 0x900412f8 machwaituntil + 8
1 libSystem.B.dylib 0x900410c4 nanosleep + 388
2 libSystem.B.dylib 0x90044898 usleep + 88
3 Massive.MusicDevice.component 0x37e6420c NI::SND::PresetManagerDB::scanForBackground(CppSQLite3DB&) + 4716 (bundle1.s:283)
4 Massive.MusicDevice.component 0x37e66d60 NI::SND::PresetManagerDB::run() + 320 (bundle1.s:283)
5 Massive.MusicDevice.component 0x37f74158 NI::GP::Thread::execute(void*) + 72 (bundle1.s:283)
6 libSystem.B.dylib 0x9002be88 pthreadbody + 96
Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000090ba849c srr1: 0x100000000200f930 vrsave: 0x000000008000208e
cr: 0x44022484 xer: 0x0000000020000000 lr: 0x0000000090ba8464 ctr: 0x0000000090ba8450
r0: 0x0000000090ba8464 r1: 0x00000000bfffeab0 r2: 0x0000000000000000 r3: 0x000000000000002e
r4: 0x00000000011f5d18 r5: 0x0000000000000018 r6: 0x0000000000000000 r7: 0x0000000000000001
r8: 0x0000000029361000 r9: 0x0000000000000010 r10: 0x00000000011f0000 r11: 0x00000000011f01cc
r12: 0x0000000090ba8450 r13: 0x0000000000000002 r14: 0x0000000000000000 r15: 0x00000000a329a698
r16: 0x0000000024f8ab30 r17: 0x00000000bffff080 r18: 0x00000000636d6473 r19: 0x0000000000000001
r20: 0x00000000178ee710 r21: 0x00000000ffffd96e r22: 0x0000000000000000 r23: 0x00000000bffff1d0
r24: 0x00000000011f3ff8 r25: 0x00000000000357d8 r26: 0x000000004d454449 r27: 0x000000002e657873
r28: 0x00000000294861f0 r29: 0x0000000000000000 r30: 0x000000000000002e r31: 0x000000000000002c
Binary Images Description:
0x1000 - 0xd8efff com.apple.logic.pro 7.2.3 (961.9) /Applications/Logic Pro.app/Contents/MacOS/Logic Pro
0x141a000 - 0x146dfff com.apple.LogicLoopBrowser 7.2 (16.3) /Applications/Logic Pro.app/Contents/Frameworks/LogicLoopBrowser.framework/Versions/A/LogicLoopBrow ser
0x1497000 - 0x14a2fff libaafintp.dylib /Applications/Logic Pro.app/Contents/Frameworks/libaafintp.dylib
0x14b1000 - 0x14c2fff com.apple.EHardwareSupport 1.0.0 (21.8) /Applications/Logic Pro.app/Contents/Frameworks/EHardwareSupport.framework/Versions/A/EHardwareSupp ort
0x1605000 - 0x16a4fff com.apple.eloop 3.1.0 (24.8) /Applications/Logic Pro.app/Contents/Frameworks/ELoop.framework/Versions/A/ELoop
0x1736000 - 0x178efff libaafpgapi.dylib /Applications/Logic Pro.app/Contents/Frameworks/libaafpgapi.dylib
0x2008000 - 0x2268fff libcom-api.dylib /Applications/Logic Pro.app/Contents/Frameworks/libcom-api.dylib
0x25d4000 - 0x2638fff com.apple.ecore 1.1.0 (44.4) /Applications/Logic Pro.app/Contents/Frameworks/ECore.framework/Versions/A/ECore
0x279a000 - 0x27a1fff com.unsanity.smartcrashreports Smart Crash Reports version 1.0.3 (1.0.3b1) /Users/mark/Library/InputManagers/Smart Crash Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports
0x27af000 - 0x27ccfff com.apple.prokit.TigerPanels 3.1 (589) /System/Library/PrivateFrameworks/ProKit.framework/Versions/A/Resources/TigerPa nels.bundle/Contents/MacOS/TigerPanels
0x16e1e000 - 0x16e1ffff com.apple.aoa.halplugin 2.5.6 (2.5.6b5) /System/Library/Extensions/IOAudioFamily.kext/Contents/PlugIns/AOAHALPlugin.bun dle/Contents/MacOS/AOAHALPlugin
0x16e2b000 - 0x16e2cfff com.CASIO.EXLIM.component CASIO AVI Importer Version 1.0 (1.0) /Library/QuickTime/CASIO AVI Importer.component/Contents/MacOS/CASIO AVI Importer
0x191cc000 - 0x191dafff com.apple.iokit.IOUSBLib 2.5.9 /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle/Co ntents/MacOS/IOUSBLib
0x192b2000 - 0x19332fff ch.rafz.naegeli.christoph.xvid_codec 0.x.x /Library/QuickTime/XviDCodec.component/Contents/MacOS/XviDCodec
0x193ce000 - 0x19436fff com.DivXInc.DivXDecoder 6.4.0 /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder
0x19443000 - 0x195b2fff ch.rafz.naegeli.christoph.ffaviimporter 1.0 (0.0) /Library/QuickTime/AviImporter.component/Contents/MacOS/AviImporter
0x19a19000 - 0x19a92fff com.DivXInc.DivXDecoder 6.0.5 /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder
0x1a2c9000 - 0x1a2cdfff com.apple.gal_anvil 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/anvil.res/Contents/MacOS/anvil
0x1a3c6000 - 0x1a3cbfff com.apple.gal_efx 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/efx.res/Contents/MacOS/efx
0x1a967000 - 0x1a969fff com.apple.gal_egt 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/egt.res/Contents/MacOS/egt
0x1a999000 - 0x1a99bfff com.apple.gal_emx 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/emx.res/Contents/MacOS/emx
0x1aa66000 - 0x1aa68fff com.apple.gal_es1 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/es1.res/Contents/MacOS/es1
0x1aac9000 - 0x1aacbfff com.apple.gal_es2 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/es2.res/Contents/MacOS/es2
0x1ab59000 - 0x1ab5bfff com.apple.gal_esu 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/esu.res/Contents/MacOS/esu
0x1abad000 - 0x1abaffff com.apple.gal_evb3 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/evb3.res/Contents/MacOS/evb3
0x1ac3d000 - 0x1ac3ffff com.apple.gal_evd6 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/evd6.res/Contents/MacOS/evd6
0x1aca7000 - 0x1aca9fff com.apple.gal_evoc 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/evoc.res/Contents/MacOS/evoc
0x1ad9b000 - 0x1ad9dfff com.apple.gal_evp88 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/evp88.res/Contents/MacOS/evp88
0x1aeed000 - 0x1aeeffff com.apple.gal_exs24 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/exs24.res/Contents/MacOS/exs24
0x1af66000 - 0x1af69fff com.apple.gal_revolver 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/revolver.res/Contents/MacOS/revolver
0x1b0bc000 - 0x1b0befff com.apple.gal_sphere 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/sphere.res/Contents/MacOS/sphere
0x1c55a000 - 0x1c55cfff com.apple.MIDIDevicePlugIn.CS-32 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/CS-32.bundle/Contents/MacOS/CS-32
0x1d3f4000 - 0x1d3f90f9 PEF binary:
0x1d848850 - 0x1d848902 CFMPriv_CoreFoundation PEF binary: CFMPriv_CoreFoundation
0x1f305000 - 0x1f371fff se.propellerheads.rewire.library 1.7 /Users/mark/Library/Application Support/Propellerhead Software/ReWire/ReWire.bundle/Contents/MacOS/ReWire
0x1f38e000 - 0x1f3dd3c7 CarbonLibpwpc PEF binary: CarbonLibpwpc
0x1f4037f0 - 0x1f403867 CFMPriv_System PEF binary: CFMPriv_System
0x1f403ae0 - 0x1f403bb0 CFMPriv_CarbonSound PEF binary: CFMPriv_CarbonSound
0x1f403c20 - 0x1f403cf3 CFMPriv_CommonPanels PEF binary: CFMPriv_CommonPanels
0x1f403dc0 - 0x1f403e7b CFMPriv_Help PEF binary: CFMPriv_Help
0x1f403e80 - 0x1f403f4a CFMPriv_HIToolbox PEF binary: CFMPriv_HIToolbox
0x1f403fc0 - 0x1f404096 CFMPriv_HTMLRendering PEF binary: CFMPriv_HTMLRendering
0x1f404100 - 0x1f4041d3 CFMPriv_ImageCapture PEF binary: CFMPriv_ImageCapture
0x1f404250 - 0x1f404335 CFMPriv_NavigationServices PEF binary: CFMPriv_NavigationServices
0x1f4043a0 - 0x1f404476 CFMPriv_OpenScriptingMacBLib PEF binary: CFMPriv_OpenScriptingMacBLib
0x1f404540 - 0x1f4045fe CFMPriv_Print PEF binary: CFMPriv_Print
0x1f404610 - 0x1f4046dd CFMPriv_SecurityHI PEF binary: CFMPriv_SecurityHI
0x1f404750 - 0x1f404832 CFMPriv_SpeechRecognition PEF binary: CFMPriv_SpeechRecognition
0x1f4048a0 - 0x1f404973 CFMPriv_CarbonCore PEF binary: CFMPriv_CarbonCore
0x1f4049e0 - 0x1f404ab3 CFMPriv_OSServices PEF binary: CFMPriv_OSServices
0x1f404b80 - 0x1f404c42 CFMPriv_AE PEF binary: CFMPriv_AE
0x1f404c50 - 0x1f404d15 CFMPriv_ATS PEF binary: CFMPriv_ATS
0x1f404d90 - 0x1f404e67 CFMPriv_ColorSync PEF binary: CFMPriv_ColorSync
0x1f404ef0 - 0x1f404fd3 CFMPriv_FindByContent PEF binary: CFMPriv_FindByContent
0x1f405050 - 0x1f40512a CFMPriv_HIServices PEF binary: CFMPriv_HIServices
0x1f4051a0 - 0x1f405280 CFMPriv_LangAnalysis PEF binary: CFMPriv_LangAnalysis
0x1f405310 - 0x1f4053f6 CFMPriv_LaunchServices PEF binary: CFMPriv_LaunchServices
0x1f4054d0 - 0x1f4055a7 CFMPriv_PrintCore PEF binary: CFMPriv_PrintCore
0x1f4055b0 - 0x1f405672 CFMPriv_QD PEF binary: CFMPriv_QD
0x1f405770 - 0x1f405859 CFMPriv_SpeechSynthesis PEF binary: CFMPriv_SpeechSynthesis
0x1f706000 - 0x1f772fff se.propellerheads.rewire.library 1.7 /Library/Application Support/Propellerhead Software/ReWire/ReWire.bundle/Contents/MacOS/ReWire
0x20209000 - 0x203d8fff com.ableton.live-engine 6.0.5 /Applications/Live 6.0.5 OS X/Live.app/Contents/Resources/Ableton Live Engine.bundle/Contents/MacOS/Ableton Live Engine
0x204e9000 - 0x20589c53 PEF binary:
0x21e7d000 - 0x21e97fff com.apple.AppleIntermediateCodec 1.1 (141) /Library/QuickTime/AppleIntermediateCodec.component/Contents/MacOS/AppleInterme diateCodec
0x21e9d000 - 0x22028fff com.spectrasonics.StyM 1.5.1c /Library/Audio/Plug-Ins/Components/StylusRMX.component/Contents/MacOS/StylusRMX
0x24e05000 - 0x24e44fff com.apple.QuickTimeFireWireDV.component 7.1.5 /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTim eFireWireDV
0x2556d000 - 0x255e6fff com.apple.applepixletvideo 1.2.5 (1.2d5) /System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixlet Video
0x2575c000 - 0x2575ffff com.apple.MIDIDevicePlugIn.FW-1884 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/FW-1884.bundle/Contents/MacOS/FW-1884
0x25774000 - 0x25778fff com.apple.MIDIDevicePlugIn.HUI 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/HUI.bundle/Contents/MacOS/HUI
0x257c2000 - 0x257c3fff com.apple.MIDIDevicePlugIn.iControl 1.0.1 (9.10) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/iControl.bundle/Contents/MacOS/iControl
0x257cd000 - 0x257cffff com.apple.MIDIDevicePlugIn.microKONTROL 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/microKONTROL.bundle/Contents/MacOS/microKONTROL
0x257dc000 - 0x257defff com.apple.MIDIDevicePlugIn.TranzPort 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/TranzPort.bundle/Contents/MacOS/TranzPort
0x257e7000 - 0x257e9fff com.apple.MIDIDevicePlugIn.US-2400 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/US-2400.bundle/Contents/MacOS/US-2400
0x287f8000 - 0x2898ffff com.reFX.Nexus 1.0.9 /Library/Audio/Plug-Ins/Components/Nexus.component/Contents/MacOS/Nexus
0x29307000 - 0x2930efff com.apple.MIDIDevicePlugIn.Logic Control 1.0.1 (9.10) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/Logic Control.bundle/Contents/MacOS/Logic Control
0x29347000 - 0x29348fff com.apple.MIDIDevicePlugIn.US-428 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/US-428.bundle/Contents/MacOS/US-428
0x33792000 - 0x33845fff com.camelaudio.CamelPhat 3.30 /Library/Audio/Plug-Ins/Components/CamelPhat.component/Contents/MacOS/CamelPhat
0x33e4f000 - 0x33f04fff com.camelaudio.CamelSpace 1.30 /Library/Audio/Plug-Ins/Components/CamelSpace.component/Contents/MacOS/CamelSpa ce
0x35ded000 - 0x35e47fff com.reFX.Vanguard 1.6.1 /Library/Audio/Plug-Ins/Components/Vanguard.component/Contents/MacOS/Vanguard
0x37d05000 - 0x38413fff Massive.MusicDevice.component 1.1.1.002 (1.1.1, Copyright © 2006 Native-Instruments) /Library/Audio/Plug-Ins/Components/Massive.component/Contents/MacOS/Massive
0x3da56000 - 0x3db30fff com.Spectrasonics.Trilogy Trilogy (1.0) /Library/Audio/Plug-Ins/Components/Trilogy AU.component/Contents/MacOS/Trilogy AU
0x4a549000 - 0x4a800fff Pro-53.MusicDevice.component 3.0.3.007 (3.0.3, Copyright © 2007 Native Instruments) /Library/Audio/Plug-Ins/Components/Pro-53.component/Contents/MacOS/Pro-53
0x4c69c000 - 0x4c6d4fff com.pspaudioware.musiceffects.pspnitro ??? (1.1.0) /Library/Audio/Plug-Ins/Components/PSP Nitro.component/Contents/MacOS/PSP Nitro
0x4c715000 - 0x4c7d9fff com.pspaudioware.plugins.pspnitro 1.1.0 /Library/Audio/Plug-Ins/Components/PSP Nitro.component/Contents/Resources/PSPNitro.vst/Contents/MacOS/PSPNitro
0x4cf22000 - 0x4cf55fff com.pspaudioware.musiceffects.psp84 ??? (1.5.0) /Library/Audio/Plug-Ins/Components/PSP 84.component/Contents/MacOS/PSP 84
0x4cf9b000 - 0x4cfeefff com.pspaudioware.plugins.psp84 1.5.0 /Library/Audio/Plug-Ins/Components/PSP 84.component/Contents/Resources/PSP84.vst/Contents/MacOS/PSP84
0x70000000 - 0x700fcfff com.apple.audio.units.Components 1.4.5 /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
0x8fe00000 - 0x8fe52fff dyld 46.12 /usr/lib/dyld
0x90000000 - 0x901bdfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90215000 - 0x9021afff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x9021c000 - 0x90269fff com.apple.CoreText 1.0.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x90294000 - 0x90345fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x90374000 - 0x9072ffff com.apple.CoreGraphics 1.258.61 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x907bc000 - 0x90895fff com.apple.CoreFoundation 6.4.7 (368.28) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908de000 - 0x908defff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x908e0000 - 0x909e2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a3c000 - 0x90ac0fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90aea000 - 0x90b5afff com.apple.framework.IOKit 1.4.1 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b70000 - 0x90b82fff libauto.dylib /usr/lib/libauto.dylib
0x90b89000 - 0x90e60fff com.apple.CoreServices.CarbonCore 681.9 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x90ec6000 - 0x90f46fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x90f90000 - 0x90fd1fff com.apple.CFNetwork 129.20 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x90fe6000 - 0x90ffefff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
0x9100e000 - 0x9108ffff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x910d5000 - 0x910fffff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x91110000 - 0x9111efff libz.1.dylib /usr/lib/libz.1.dylib
0x91121000 - 0x912dcfff com.apple.security 4.6 (29770) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x913db000 - 0x913e4fff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x913eb000 - 0x91413fff com.apple.SystemConfiguration 1.8.3 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x91426000 - 0x91431fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x91436000 - 0x9143efff libbsm.dylib /usr/lib/libbsm.dylib
0x91442000 - 0x914bdfff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x914fa000 - 0x914fafff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x914fc000 - 0x91534fff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
0x9154f000 - 0x91621fff com.apple.ColorSync 4.4.9 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x91674000 - 0x91705fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x9174c000 - 0x91803fff com.apple.QD 3.10.24 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x91840000 - 0x9189efff com.apple.HIServices 1.5.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x918cd000 - 0x918f1fff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x91905000 - 0x9192afff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
0x9193d000 - 0x9197ffff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
0x9199b000 - 0x919affff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x919bd000 - 0x91a03fff com.apple.ImageIO.framework 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x91a1a000 - 0x91ae1fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91b2f000 - 0x91b44fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91b49000 - 0x91b67fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91b6d000 - 0x91c24fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91c73000 - 0x91c77fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91c79000 - 0x91ce1fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91ce6000 - 0x91d23fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91d2a000 - 0x91d43fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91d48000 - 0x91d4bfff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91d4d000 - 0x91e2bfff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x91e4b000 - 0x91e4bfff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91e4d000 - 0x91f32fff com.apple.vImage 2.4 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x91f3a000 - 0x91f59fff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x91fc5000 - 0x92033fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x9203e000 - 0x920d3fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x920ed000 - 0x92675fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x926a8000 - 0x929d3fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x92a03000 - 0x92af1fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92af4000 - 0x92b7cfff com.apple.DesktopServices 1.3.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x92bbd000 - 0x92de8fff com.apple.Foundation 6.4.8 (567.29) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92f15000 - 0x92f33fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92f3e000 - 0x92f98fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92fb6000 - 0x92fb6fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92fb8000 - 0x92fccfff com.apple.ImageCapture 3.0 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x92fe4000 - 0x92ff4fff com.apple.speech.recognition.framework 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x93000000 - 0x93015fff com.apple.securityhi 2.0 (203) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x93027000 - 0x930aefff com.apple.ink.framework 101.2 (69) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x930c2000 - 0x930cdfff com.apple.help 1.0.3 (32) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x930d7000 - 0x93104fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x9311e000 - 0x9312efff com.apple.print.framework.Print 5.0 (190.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x9313a000 - 0x931a0fff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x931d1000 - 0x93220fff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x9324e000 - 0x9326bfff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x9327d000 - 0x9328afff com.apple.CommonPanels 1.2.2 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x93293000 - 0x935a1fff com.apple.HIToolbox 1.4.9 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x936f1000 - 0x936fdfff com.apple.opengl 1.4.7 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x93702000 - 0x93722fff com.apple.DirectoryService.Framework 3.1 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x93776000 - 0x93776fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x93778000 - 0x93dabfff com.apple.AppKit 6.4.7 (824.41) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x94138000 - 0x941aafff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x941e3000 - 0x942a7fff com.apple.audio.toolbox.AudioToolbox 1.4.5 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x942f9000 - 0x942f9fff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x942fb000 - 0x944bbfff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x94505000 - 0x94542fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0x9454a000 - 0x9459afff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x945a3000 - 0x945b7fff com.apple.CoreVideo 1.4 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x945fc000 - 0x94641fff com.apple.bom 8.5 (86.3) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x94760000 - 0x9476ffff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x94777000 - 0x94783fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x947c9000 - 0x947e1fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x947e8000 - 0x94abdfff com.apple.QuickTime 7.1.5 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94b81000 - 0x94bf2fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x94c65000 - 0x94c86fff libmx.A.dylib /usr/lib/libmx.A.dylib
0x94d8e000 - 0x94ebefff com.apple.AddressBook.framework 4.0.4 (485.1) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x94f50000 - 0x94f5ffff com.apple.DSObjCWrappers.Framework 1.1 /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
0x94f67000 - 0x94f94fff com.apple.LDAPFramework 1.4.1 (69.0.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x94f9b000 - 0x94fabfff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
0x94faf000 - 0x94fdefff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x94fee000 - 0x9500bfff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x953fd000 - 0x953fdfff com.apple.DiscRecording 3.1.3 (???) /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x953ff000 - 0x95482fff com.apple.DiscRecordingEngine 3.1.3 /System/Library/Frameworks/DiscRecording.framework/Versions/A/Frameworks/DiscRe cordingEngine.framework/Versions/A/DiscRecordingEngine
0x954af000 - 0x954f5fff com.apple.DiscRecordingContent 3.1.3 /System/Library/Frameworks/DiscRecording.framework/Versions/A/Frameworks/DiscRe cordingContent.framework/Versions/A/DiscRecordingContent
0x95fc6000 - 0x95fc8fff com.apple.ExceptionHandling 1.2 (???) /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHand ling
0x96375000 - 0x96447fff com.apple.prokit 3.1 (589) /System/Library/PrivateFrameworks/ProKit.framework/Versions/A/ProKit
0x96b70000 - 0x96baffff com.apple.audio.midi.CoreMIDI 1.5 (41) /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
0x96f97000 - 0x96fb6fff com.apple.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x977bc000 - 0x977c9fff com.apple.agl 2.5.6 (AGL-2.5.6) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x98c7e000 - 0x9982bfff com.apple.QuickTimeComponents.component 7.1.5 /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
0x99a93000 - 0x99a97fff com.apple.QuickTimeH264.component 7.1.5 /System/Library/QuickTime/QuickTimeH264.component/Contents/MacOS/QuickTimeH264
0x99a99000 - 0x99b7ffff QuickTimeH264.altivec /System/Library/QuickTime/QuickTimeH264.component/Contents/Resources/QuickTimeH 264.altivec
0x99ccf000 - 0x99d98fff com.apple.QuickTimeMPEG4.component 7.1.5 /System/Library/QuickTime/QuickTimeMPEG4.component/Contents/MacOS/QuickTimeMPEG 4
0x9a6d9000 - 0x9a6f7fff com.apple.OpenTransport 2.0 /System/Library/PrivateFrameworks/OpenTransport.framework/OpenTransport
Model: PowerMac11,2, BootROM 5.2.7f1, 2 processors, PowerPC G5 (1.1), 2.3 GHz, 2 GB
Graphics: NVIDIA GeForce 6600, GeForce 6600, PCI, 256 MB
Memory Module: DIMM0/J6700, 1 GB, DDR2 SDRAM, PC2-4200U-444
Memory Module: DIMM1/J6800, 1 GB, DDR2 SDRAM, PC2-4200U-444
AirPort: AirPort Extreme, 405.1 (3.90.34.0.p18)
Bluetooth: Version 1.7.14f14, 2 service, 1 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en2
PCI Card: GeForce 6600, Display, SLOT-1
PCI Card: bcom5714, network, GIGE
PCI Card: bcom5714, network, GIGE
Serial ATA Device: Maxtor 6L250M0, 233.76 GB
Serial ATA Device: Maxtor 6V250F0, 233.76 GB
Parallel ATA Device: HL-DT-ST DVD-RW GWA-4165B
USB Device: Hub, Up to 480 Mb/sec, 500 mA
USB Device: USB2.0 Hub, Up to 480 Mb/sec, 500 mA
USB Device: USB2.0 Hub, Up to 480 Mb/sec, 500 mA
USB Device: XSKey, Emagic GmbH, Up to 1.5 Mb/sec, 500 mA
USB Device: Apple Cinema Display, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA
USB Device: Bluetooth HCI, Up to 12 Mb/sec, 500 mA
FireWire Device: unknown_device, unknown_value, Unknown
FireWire Device: unknown_device, unknown_value, Up to 400 Mb/sec
FireWire Device: unknown_device, unknown_value, Up to 400 Mb/secright i can get into it the project on a G5 where i have done most of the work. when i save as project and try and move it to a macbookpro it wont start up logic crashes on start up and here is the error fille for the macbook
p.s so for all the cutting and paste but i dont understand what the error report says
Date/Time: 2007-03-23 21:38:55.266 +0000
OS Version: 10.4.9 (Build 8P2137)
Report Version: 4
Command: Logic Pro
Path: /Applications/Logic Pro.app/Contents/MacOS/Logic Pro
Parent: WindowServer [68]
Version: 7.2.3 (961.9)
Build Version: 14
Project Name: Logic
Source Version: 9610900
PID: 318
Thread: 0
Exception: EXCBADACCESS (0x0001)
Codes: KERNINVALIDADDRESS (0x0001) at 0x2d015000
Thread 0 Crashed:
0 com.apple.ecore 0x016e5da3 IntelSwap(void*, int) + 141
1 com.apple.ecore 0x016e5e81 IntelSwap(void*, int) + 363
2 com.apple.ecore 0x016e60fc LimitTabIntelSwap(void*, unsigned char*, void*) + 168
3 com.apple.ecore 0x016e6144 TabIntelSwap(void*, unsigned char*) + 32
4 com.apple.logic.pro 0x002d921a 0x1000 + 2982426
5 com.apple.logic.pro 0x002db5c6 0x1000 + 2991558
6 com.apple.logic.pro 0x002dbd53 0x1000 + 2993491
7 com.apple.logic.pro 0x002e5355 0x1000 + 3031893
8 com.apple.logic.pro 0x0000e070 0x1000 + 53360
9 com.apple.logic.pro 0x001b040b 0x1000 + 1766411
10 com.apple.logic.pro 0x001b8226 0x1000 + 1798694
11 com.apple.logic.pro 0x001b829f 0x1000 + 1798815
12 com.apple.logic.pro 0x001ba299 0x1000 + 1807001
13 com.apple.logic.pro 0x001be848 0x1000 + 1824840
14 com.apple.logic.pro 0x004263d5 0x1000 + 4346837
15 com.apple.HIToolbox 0x92dd8537 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1093
16 com.apple.HIToolbox 0x92dd7bdc SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 304
17 com.apple.HIToolbox 0x92ddefbc SendEventToEventTarget + 56
18 com.apple.HIToolbox 0x92e5fabd SendHICommandEvent(unsigned long, HICommand const*, unsigned long, unsigned long, unsigned char, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 405
19 com.apple.HIToolbox 0x92e938e6 ProcessHICommandWithContextAndModifiers + 60
20 com.apple.HIToolbox 0x92e93884 SendMenuItemSelectedEvent + 128
21 com.apple.HIToolbox 0x92e9379c FinishMenuSelection(MenuData*, MenuData*, MenuResult*, MenuResult*, unsigned long, unsigned long, unsigned long, unsigned char) + 122
22 com.apple.HIToolbox 0x92e78505 MenuSelectCore(MenuData*, Point, double, unsigned long, OpaqueMenuRef**, unsigned short*) + 515
23 com.apple.HIToolbox 0x92e77fa6 MenuSelect + 100
24 com.apple.HIToolbox 0x92e77f10 StandardMenuBarEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 104
25 com.apple.HIToolbox 0x92dd8537 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1093
26 com.apple.HIToolbox 0x92dd7bdc SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 304
27 com.apple.HIToolbox 0x92ddefbc SendEventToEventTarget + 56
28 com.apple.HIToolbox 0x92ddf9d9 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 2587
29 com.apple.HIToolbox 0x92dd88ee DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2044
30 com.apple.HIToolbox 0x92dd7bdc SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 304
31 com.apple.HIToolbox 0x92ddefbc SendEventToEventTarget + 56
32 com.apple.HIToolbox 0x92e22eb3 ToolboxEventDispatcher + 81
33 com.apple.HIToolbox 0x92e218cb RunApplicationEventLoop + 165
34 com.apple.logic.pro 0x001b3007 0x1000 + 1777671
35 com.apple.logic.pro 0x00008d4f 0x1000 + 32079
36 com.apple.logic.pro 0x000036ae 0x1000 + 9902
37 com.apple.logic.pro 0x000035c9 0x1000 + 9673
Thread 1:
0 libSystem.B.dylib 0x90009bf7 machmsgtrap + 7
1 com.apple.CoreFoundation 0x9082e2b3 CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x9083f188 CFRunLoopRun + 60
3 com.apple.logic.pro 0x0005c7cb 0x1000 + 374731
4 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 2:
0 libSystem.B.dylib 0x90009bf7 machmsgtrap + 7
1 com.apple.CoreFoundation 0x9082e2b3 CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x9082dace CFRunLoopRunInMode + 61
3 com.apple.audio.CoreAudio 0x9146141e HALRunLoop::OwnThread(void*) + 158
4 com.apple.audio.CoreAudio 0x91461239 CAPThread::Entry(CAPThread*) + 93
5 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 3:
0 libSystem.B.dylib 0x900247e7 semaphorewait_signaltrap + 7
1 com.apple.logic.pro 0x0050304e 0x1000 + 5251150
2 com.apple.logic.pro 0x0050310b 0x1000 + 5251339
3 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 4:
0 libSystem.B.dylib 0x900247e7 semaphorewait_signaltrap + 7
1 com.apple.logic.pro 0x0050304e 0x1000 + 5251150
2 com.apple.logic.pro 0x0050310b 0x1000 + 5251339
3 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 5:
0 libSystem.B.dylib 0x900247e7 semaphorewait_signaltrap + 7
1 com.apple.logic.pro 0x004ff33e 0x1000 + 5235518
2 com.apple.logic.pro 0x004ff3fb 0x1000 + 5235707
3 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 6:
0 libSystem.B.dylib 0x900247e7 semaphorewait_signaltrap + 7
1 com.apple.logic.pro 0x004ff33e 0x1000 + 5235518
2 com.apple.logic.pro 0x004ff3fb 0x1000 + 5235707
3 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 7:
0 libSystem.B.dylib 0x90048e07 semaphoretimedwait_signaltrap + 7
1 com.apple.audio.CoreAudio 0x9146e65c CAGuard::WaitFor(unsigned long long) + 212
2 com.apple.audio.CoreAudio 0x9146e57e CAGuard::WaitUntil(unsigned long long) + 66
3 com.apple.audio.CoreAudio 0x9146cefa HP_IOThread::WorkLoop() + 690
4 com.apple.audio.CoreAudio 0x9146cc43 HPIOThread::ThreadEntry(HPIOThread*) + 17
5 com.apple.audio.CoreAudio 0x91461239 CAPThread::Entry(CAPThread*) + 93
6 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 8:
0 libSystem.B.dylib 0x90037a57 machwaituntil + 7
1 ...ple.CoreServices.CarbonCore 0x90ce6625 Delay + 118
2 ...opellerheads.rewire.library 0x1f0417e8 RWPUnregisterDeviceImp + 21574
3 ...opellerheads.rewire.library 0x1f05ca5c RWPUnregisterDeviceImp + 132794
4 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 9:
0 libSystem.B.dylib 0x9002485f semaphorewaittrap + 7
1 com.ableton.live-engine 0x1f1ba33f OValueProcessor::SetValue(float) + 1967
2 com.ableton.live-engine 0x1f31b48a TThread::Start() + 288
3 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 10:
0 libSystem.B.dylib 0x90048e07 semaphoretimedwait_signaltrap + 7
1 ...ple.CoreServices.CarbonCore 0x90ce20b7 TSWaitOnSemaphoreCommon + 163
2 ...ple.CoreServices.CarbonCore 0x90ce909d TimerThread + 87
3 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 11:
0 libSystem.B.dylib 0x900247e7 semaphorewait_signaltrap + 7
1 com.apple.logic.pro 0x000f09e2 0x1000 + 981474
2 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 12:
0 libSystem.B.dylib 0x900247e7 semaphorewait_signaltrap + 7
1 com.apple.logic.pro 0x000f0917 0x1000 + 981271
2 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 13:
0 libSystem.B.dylib 0x90009bf7 machmsgtrap + 7
1 com.apple.audio.midi.CoreMIDI 0x96077adf XServerMachPort::ReceiveMessage(int&, void*, int&) + 101
2 com.apple.audio.midi.CoreMIDI 0x9607003b MIDIInPortThread::Run() + 113
3 com.apple.audio.midi.CoreMIDI 0x96070d1b XThread::RunHelper(void*) + 17
4 com.apple.audio.midi.CoreMIDI 0x96078617 CAPThread::Entry(CAPThread*) + 93
5 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 14:
0 libSystem.B.dylib 0x9003f5ff syscallthreadswitch + 7
1 com.apple.AppKit 0x9333666e -[NSUIHeartBeat _heartBeatThread:] + 1399
2 com.apple.Foundation 0x927e72e0 forkThreadForFunction + 123
3 libSystem.B.dylib 0x90024147 pthreadbody + 84
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x2d015000 ebx: 0x016e5d24 ecx: 0x2d014ffc edx: 0x0000002f
edi: 0x00000007 esi: 0x2d015000 ebp: 0xbfffebe8 esp: 0xbfffebb0
ss: 0x0000001f efl: 0x00010216 eip: 0x016e5da3 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
Binary Images Description:
0x1000 - 0xcf2fff com.apple.logic.pro 7.2.3 (961.9) /Applications/Logic Pro.app/Contents/MacOS/Logic Pro
0x1373000 - 0x13cbfff com.apple.LogicLoopBrowser 7.2 (16.3) /Applications/Logic Pro.app/Contents/Frameworks/LogicLoopBrowser.framework/Versions/A/LogicLoopBrow ser
0x1505000 - 0x159cfff com.apple.eloop 3.1.0 (24.8) /Applications/Logic Pro.app/Contents/Frameworks/ELoop.framework/Versions/A/ELoop
0x162d000 - 0x1637fff libaafintp.dylib /Applications/Logic Pro.app/Contents/Frameworks/libaafintp.dylib
0x1646000 - 0x1697fff libaafpgapi.dylib /Applications/Logic Pro.app/Contents/Frameworks/libaafpgapi.dylib
0x16ca000 - 0x1730fff com.apple.ecore 1.1.0 (44.4) /Applications/Logic Pro.app/Contents/Frameworks/ECore.framework/Versions/A/ECore
0x177a000 - 0x178efff com.apple.EHardwareSupport 1.0.0 (21.8) /Applications/Logic Pro.app/Contents/Frameworks/EHardwareSupport.framework/Versions/A/EHardwareSupp ort
0x2008000 - 0x220cfff libcom-api.dylib /Applications/Logic Pro.app/Contents/Frameworks/libcom-api.dylib
0x25ce000 - 0x25cefff com.ksuther.chaxloader ??? (1.4.7) /Users/mark/Library/InputManagers/Chax/Chax.bundle/Contents/MacOS/Chax
0x277f000 - 0x27a2fff com.apple.prokit.TigerPanels 3.1.1 (591) /System/Library/PrivateFrameworks/ProKit.framework/Versions/A/Resources/TigerPa nels.bundle/Contents/MacOS/TigerPanels
0x18e8c000 - 0x18e94fff com.apple.iokit.IOUSBLib 2.6.0 /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle/Co ntents/MacOS/IOUSBLib
0x19080000 - 0x190d0fff com.DivXInc.DivXDecoder 6.0.5 /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder
0x19172000 - 0x19177fff com.apple.audio.AppleHDAHALPlugIn 1.2.9 (1.2.9a4) /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bun dle/Contents/MacOS/AppleHDAHALPlugIn
0x1917b000 - 0x19192fff com.motu.driver.FWA.HALPlugin ??? (1.2) /System/Library/Extensions/MOTUFireWireAudio.kext/Contents/PlugIns/HALPlugin.bu ndle/Contents/MacOS/HALPlugin
0x19995000 - 0x19999fff com.apple.gal_anvil 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/anvil.res/Contents/MacOS/anvil
0x19a94000 - 0x19a9afff com.apple.gal_efx 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/efx.res/Contents/MacOS/efx
0x1a038000 - 0x1a03afff com.apple.gal_egt 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/egt.res/Contents/MacOS/egt
0x1a06b000 - 0x1a06dfff com.apple.gal_emx 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/emx.res/Contents/MacOS/emx
0x1a139000 - 0x1a13bfff com.apple.gal_es1 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/es1.res/Contents/MacOS/es1
0x1a19e000 - 0x1a1a0fff com.apple.gal_es2 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/es2.res/Contents/MacOS/es2
0x1a22f000 - 0x1a230fff com.apple.gal_esu 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/esu.res/Contents/MacOS/esu
0x1a282000 - 0x1a284fff com.apple.gal_evb3 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/evb3.res/Contents/MacOS/evb3
0x1a314000 - 0x1a316fff com.apple.gal_evd6 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/evd6.res/Contents/MacOS/evd6
0x1a37f000 - 0x1a381fff com.apple.gal_evoc 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/evoc.res/Contents/MacOS/evoc
0x1a474000 - 0x1a476fff com.apple.gal_evp88 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/evp88.res/Contents/MacOS/evp88
0x1a5c7000 - 0x1a5c9fff com.apple.gal_exs24 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/exs24.res/Contents/MacOS/exs24
0x1a641000 - 0x1a645fff com.apple.gal_revolver 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/revolver.res/Contents/MacOS/revolver
0x1a799000 - 0x1a79bfff com.apple.gal_sphere 1.0 (15) /Applications/Logic Pro.app/Contents/Resources/sphere.res/Contents/MacOS/sphere
0x1f036000 - 0x1f095fff se.propellerheads.rewire.library 1.7 /Users/mark/Library/Application Support/Propellerhead Software/ReWire/ReWire.bundle/Contents/MacOS/ReWire
0x1f0b4000 - 0x1f113fff se.propellerheads.rewire.library 1.7 /Library/Application Support/Propellerhead Software/ReWire/ReWire.bundle/Contents/MacOS/ReWire
0x1f132000 - 0x1f3eafff com.ableton.live-engine 6.0.5 /Applications/Live 6.0.5 OS X/Live.app/Contents/Resources/Ableton Live Engine.bundle/Contents/MacOS/Ableton Live Engine
0x21bf8000 - 0x21c02fff com.apple.iokit.IOHIDLib 1.4.9 /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Co ntents/MacOS/IOHIDLib
0x22305000 - 0x2247afff com.spectrasonics.StyM 1.6b08 (1.6.0b08) /Library/Audio/Plug-Ins/Components/StylusRMX.component/Contents/MacOS/StylusRMX
0x2af5d000 - 0x2af99fff com.apple.QuickTimeFireWireDV.component 7.1.5 /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTim eFireWireDV
0x2afa5000 - 0x2afbefff com.apple.AppleIntermediateCodec 1.1 (141) /Library/QuickTime/AppleIntermediateCodec.component/Contents/MacOS/AppleInterme diateCodec
0x2afc3000 - 0x2afdcfff com.apple.applepixletvideo 1.2.9 (1.2d9) /System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixlet Video
0x2bf8c000 - 0x2c17ffff net.telestream.wmv.import 2.1.0.33 /Library/QuickTime/Flip4Mac WMV Import.component/Contents/MacOS/Flip4Mac WMV Import
0x2c5d6000 - 0x2c5d8fff com.apple.MIDIDevicePlugIn.CS-32 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/CS-32.bundle/Contents/MacOS/CS-32
0x2c5e4000 - 0x2c5e7fff com.apple.MIDIDevicePlugIn.FW-1884 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/FW-1884.bundle/Contents/MacOS/FW-1884
0x2c5fe000 - 0x2c602fff com.apple.MIDIDevicePlugIn.HUI 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/HUI.bundle/Contents/MacOS/HUI
0x2c64d000 - 0x2c64efff com.apple.MIDIDevicePlugIn.iControl 1.0.1 (9.10) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/iControl.bundle/Contents/MacOS/iControl
0x2c659000 - 0x2c65ffff com.apple.MIDIDevicePlugIn.Logic Control 1.0.1 (9.10) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/Logic Control.bundle/Contents/MacOS/Logic Control
0x2c699000 - 0x2c69bfff com.apple.MIDIDevicePlugIn.microKONTROL 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/microKONTROL.bundle/Contents/MacOS/microKONTROL
0x2c6a9000 - 0x2c6abfff com.apple.MIDIDevicePlugIn.TranzPort 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/TranzPort.bundle/Contents/MacOS/TranzPort
0x2c6b5000 - 0x2c6b7fff com.apple.MIDIDevicePlugIn.US-2400 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/US-2400.bundle/Contents/MacOS/US-2400
0x2c6c2000 - 0x2c6c3fff com.apple.MIDIDevicePlugIn.US-428 1.0 (9) /Applications/Logic Pro.app/Contents/MIDI Device Plug-ins/US-428.bundle/Contents/MacOS/US-428
0x8fe00000 - 0x8fe4afff dyld 46.12 /usr/lib/dyld
0x90000000 - 0x90172fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x901c2000 - 0x901c4fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x901c6000 - 0x90203fff com.apple.CoreText 1.1.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x9022a000 - 0x90300fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x90320000 - 0x90775fff com.apple.CoreGraphics 1.258.61 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x9080c000 - 0x908d4fff com.apple.CoreFoundation 6.4.7 (368.28) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90912000 - 0x90912fff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90914000 - 0x90a07fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a57000 - 0x90ad6fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90aff000 - 0x90b63fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x90bd2000 - 0x90bd9fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x90bde000 - 0x90c51fff com.apple.framework.IOKit 1.4.6 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c66000 - 0x90c78fff libauto.dylib /usr/lib/libauto.dylib
0x90c7e000 - 0x90f24fff com.apple.CoreServices.CarbonCore 682.18 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x90f67000 - 0x90fcffff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x91007000 - 0x91045fff com.apple.CFNetwork 129.20 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x91058000 - 0x91068fff com.apple.WebServices 1.1.3 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
0x91073000 - 0x910f1fff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x91126000 - 0x91144fff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x91150000 - 0x9115efff libz.1.dylib /usr/lib/libz.1.dylib
0x91161000 - 0x91300fff com.apple.security 4.5.2 (29774) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x913fe000 - 0x91406fff com.apple.DiskArbitration 2.1.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x9140d000 - 0x91433fff com.apple.SystemConfiguration 1.8.6 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x91445000 - 0x9144cfff libbsm.dylib /usr/lib/libbsm.dylib
0x91450000 - 0x914c6fff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x91517000 - 0x91517fff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x91519000 - 0x91544fff com.apple.AE 314 (313) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
0x91557000 - 0x9162bfff com.apple.ColorSync 4.4.9 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x91666000 - 0x916d9fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x91707000 - 0x917b0fff com.apple.QD 3.10.24 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x917d6000 - 0x91821fff com.apple.HIServices 1.5.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x91840000 - 0x91856fff com.apple.LangAnalysis 1.6.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x91862000 - 0x9187cfff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
0x91886000 - 0x918c3fff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
0x918d7000 - 0x918e3fff com.apple.speech.synthesis.framework 3.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x918ea000 - 0x91929fff com.apple.ImageIO.framework 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x9193c000 - 0x919eefff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91a34000 - 0x91a4afff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91a4f000 - 0x91a6dfff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91a72000 - 0x91ad1fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91ae3000 - 0x91ae7fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91ae9000 - 0x91b6dfff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91b71000 - 0x91baefff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91bb4000 - 0x91bcefff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91bd3000 - 0x91bd5fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91bd7000 - 0x91cb5fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x91cd2000 - 0x91cd2fff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91cd4000 - 0x91d62fff com.apple.vImage 2.5 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x91d69000 - 0x91d69fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x91d6b000 - 0x91dc4fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x91dcd000 - 0x91df1fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x91df9000 - 0x92202fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x9223c000 - 0x925f0fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x9261d000 - 0x9270afff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x9270c000 - 0x92789fff com.apple.DesktopServices 1.3.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x927ca000 - 0x929fafff com.apple.Foundation 6.4.8 (567.29) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92b14000 - 0x92b2bfff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92b36000 - 0x92b8efff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92ba2000 - 0x92ba2fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92ba4000 - 0x92bb4fff com.apple.ImageCapture 3.0.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x92bc3000 - 0x92bcbfff com.apple.speech.recognition.framework 3.6 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x92bd1000 - 0x92bd6fff com.apple.securityhi 2.0.1 (24742) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x92bdc000 - 0x92c6dfff com.apple.ink.framework 101.2.1 (71) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x92c81000 - 0x92c84fff com.apple.help 1.0.3 (32.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x92c87000 - 0x92ca5fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x92cb7000 - 0x92cbdfff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x92cc3000 - 0x92d26fff com.apple.htmlrendering 66.1 (1.1.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x92d4a000 - 0x92d8bfff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x92db2000 - 0x92dbffff com.apple.audio.SoundManager 3.9.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x92dc6000 - 0x92dcbfff com.apple.CommonPanels 1.2.3 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x92dd0000 - 0x930c5fff com.apple.HIToolbox 1.4.9 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x931cb000 - 0x931d6fff com.apple.opengl 1.4.16 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x931db000 - 0x931f6fff com.apple.DirectoryService.Framework 3.2 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x93246000 - 0x93246fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x93248000 - 0x938fefff com.apple.AppKit 6.4.8 (824.42) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x93c7f000 - 0x93cfafff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x93d33000 - 0x93dedfff com.apple.audio.toolbox.AudioToolbox 1.4.5 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93e30000 - 0x93e30fff com.apple.audio.units.AudioUnit 1.4.2 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x93e32000 - 0x93ff3fff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x94039000 - 0x9407afff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0x94082000 - 0x940bcfff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x940c1000 - 0x940d2fff com.apple.CoreVideo 1.4 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x94116000 - 0x9415efff com.apple.bom 8.5 (86.3) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x94263000 - 0x94272fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x94279000 - 0x94284fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x942d0000 - 0x942eafff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x942f0000 - 0x945aefff com.apple.QuickTime 7.1.5 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94712000 - 0x94858fff com.apple.AddressBook.framework 4.0.4 (485.1) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x948e4000 - 0x948f3fff com.apple.DSObjCWrappers.Framework 1.1 /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
0x948fa000 - 0x94923fff com.apple.LDAPFramework 1.4.2 (69.1.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x94929000 - 0x94938fff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
0x9493c000 - 0x94961fff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x9496d000 - 0x9498afff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x94a2f000 - 0x94a2ffff com.apple.DiscRecording 3.1.6 (???) /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x94a31000 - 0x94aaffff com.apple.DiscRecordingEngine 3.1.6 /System/Library/Frameworks/DiscRecording.framework/Versions/A/Frameworks/DiscRe cordingEngine.framework/Versions/A/DiscRecordingEngine
0x94adf000 - 0x94b21fff com.apple.DiscRecordingContent 3.1.6 /System/Library/Frameworks/DiscRecording.framework/Versions/A/Frameworks/DiscRe cordingContent.framework/Versions/A/DiscRecordingContent
0x954ff000 - 0x95501fff com.apple.ExceptionHandling 1.2 (???) /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHand ling
0x95889000 - 0x9595dfff com.apple.prokit 3.1.1 (591) /System/Library/PrivateFrameworks/ProKit.framework/Versions/A/ProKit
0x9606b000 - 0x960a1fff com.apple.audio.midi.CoreMIDI 1.5.1 (41) /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
0x96468000 - 0x96468fff com.apple.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x96ad3000 - 0x96ad8fff com.apple.agl 2.5.9 (AGL-2.5.9) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x97ddb000 - 0x98aa9fff com.apple.QuickTimeComponents.component 7.1.5 /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
0x98cf3000 - 0x98cf5fff com.apple.QuickTimeH264.component 7.1.5 /System/Library/QuickTime/QuickTimeH264.component/Contents/MacOS/QuickTimeH264
0x98cf7000 - 0x98ea2fff QuickTimeH264.scalar /System/Library/QuickTime/QuickTimeH264.component/Contents/Resources/QuickTimeH 264.scalar
0x98f12000 - 0x98fd5fff com.apple.QuickTimeMPEG4.component 7.1.5 /System/Library/QuickTime/QuickTimeMPEG4.component/Contents/MacOS/QuickTimeMPEG 4
0x997e1000 - 0x997fefff com.apple.OpenTransport 3.0 /System/Library/PrivateFrameworks/OpenTransport.framework/OpenTransport
Model: MacBookPro1,1, BootROM MBP11.0055.B08, 2 processors, Intel Core Duo, 2.16 GHz, 2 GB
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 256 MB
Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz
AirPort: spairportwireless_card_type_airportextreme (0x168C, 0x86), 0.1.31.1
Bluetooth: Version 1.7.14f14, 2 service, 1 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: ST910021AS, 93.16 GB
Parallel ATA Device: MATSHITADVD-R UJ-857
USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA
USB Device: LaCie HD Drive, LaCie, Up to 480 Mb/sec, 500 mA
USB Device: XSKey, Emagic GmbH, Up to 1.5 Mb/sec, 500 mA
USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA
USB Device: Bluetooth HCI, Up to 12 Mb/sec, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA
FireWire Device: 0x100800, 0x1F2, Up to 400 Mb/sec -
Hi Guys,
One field of my ITAB has the following values.
PN
0000001080-Z1-1 /12
0000001080-Z1-2 /12
0000001080-Z1-3 /12
0000001080-Z1-4 /12
0000001080-Z1-5 /12
0000001080-Z1-6 /12
0000001080-Z1-7 /12
0000001080-Z1-8 /12
0000001080-Z1-9 /12
0000001080-Z1-10 /12
0000001080-Z1-11 /12
0000001080-Z1-12 /12
When I am sorting this,its coming in the below way:-
PN
0000001080-Z1-1 /12
0000001080-Z1-10 /12
0000001080-Z1-11 /12
0000001080-Z1-12 /12
0000001080-Z1-2 /12
0000001080-Z1-3 /12
0000001080-Z1-4 /12
0000001080-Z1-5 /12
0000001080-Z1-6 /12
0000001080-Z1-7 /12
0000001080-Z1-8 /12
0000001080-Z1-9 /12
So I understood that its is considering only the first digit after Z1.
I want this in correct sequential order.How to do this.
Thanks,
Prasad.0000001080-Z1-1 /12
0000001080-Z1-2 /12
0000001080-Z1-3 /12
0000001080-Z1-4 /12
0000001080-Z1-5 /12
0000001080-Z1-6 /12
0000001080-Z1-7 /12
0000001080-Z1-8 /12
0000001080-Z1-9 /12
0000001080-Z1-10 /12
0000001080-Z1-11 /12
0000001080-Z1-12 /12
create an additional numerical field in your internal table and store the last numerical part in it (the part behind Z1- )
0000001080-Z1-1 /12 1
0000001080-Z1-2 /12 2
0000001080-Z1-3 /12 3
0000001080-Z1-4 /12 4
0000001080-Z1-5 /12 5
0000001080-Z1-6 /12 6
0000001080-Z1-7 /12 7
0000001080-Z1-8 /12 8
0000001080-Z1-9 /12 9
0000001080-Z1-10 /12 10
0000001080-Z1-11 /12 11
0000001080-Z1-12 /12 12
Then sort on that field.
But best would be: split up the complete value into separate fields and include those fields in your internal table.
Example:
original f1 f2 f3 f4
0000001080-Z1-1 /12 0000001080 Z1 1 /12
Now you can sort on f1, f2, f3 and f4.
Edited by: Maen Anachronos on Apr 8, 2009 4:33 PM -
Require some complex logic scenario in message mapping
Hi all,
I need some complex logic scenarios for practice in message mapping . Kindly forward some links for message mapping logic scenarios.
Thank you so much in advance.always search sdn first....
http://wiki.sdn.sap.com/wiki/display/XI/MappingConceptsinSAPXI -
Hi,
Need help in logic..My requirement is to calculate percentage of marks based on their grade..for example if we have marks like M1,M2,M3,M4,M5 and grades like A1,A2 ,A3 ..when grade is A1.. I want percentage of marks for M1,M4 and when grade is A2 i need percentage of Marks for M2,M3,M4 ..all I need is when i select A1 grade in my Dashboard prompt Report should display percentage of marks for M1,M4 and when I select A2 percentage of marks for M2,M3,M4....please tell me logic/workaround..Hi,
our Requirement is like below...
when a particular person written a test in particular Technology(like oracle,java..)and every technology contains their own sub technologies....we need to calculate subtopics score Percentage depend on their grade in company for example if he is an "SE" then if he choose test for Oracle then we need calculate only some mandatory subtopics marks percentage....if we have only 2 or 3 technology I can calculate using some case statements but we have plenty of technology test and each have multiple subtopics....how to do mapping between their grade and sub technology scores....... -
Need some help with strange sounds in Logic Pro 8
Hi!
I need some help with a problem I have in Logic Pro 8.
When I have arrange window open, suddley strange high tones starts to make noise in my headphones. I don't know where these sounds comes from or why, but I need some help to get them away. Should I just try to contact Apple?
MartinHi Martin
Welcome to the forum. Give everyone here some more info about your set up otherwise it may be difficult to figure out what is wrong.
Which mac?
Which OS?
any hardware devices?
if you are listening through headphones using the built in audio from the mac, you may be hearing fan noise or a hard drive spin noise.
Don -
Business Delegate pattern - need some advice
Hi. First let me apologize for the long post. I could see no other way. I�m building a system that quite large and I need some advice. The system is a type of transaction system, let�s suppose a shopping cart. I�m using struts taglibs and tiles for presentation, struts proper for controller, and POJOs for business logic. Also I�m using OJB for my data tier.
Now I�ve been reading Pro Jakarta Struts (Apress), which BTW is a recommended read to anyone with novice experience in struts and related technologies. I�ve assimilated most of the techniques and patterns described in the book, and most of them make sense to me. However, I�ve hit a snag while reading the Business Delegate and Service Locator patterns.
The way I had though of building my application before reading the book, was to have a wrapper class, such as the following:
public class ShoppingCart {
private IAuthenticationService authenticationService;
private ITransactionService transactionService;
public ShoppingCart() {
authenticationService = new DBAuthenticationService();
authenticationService = new DBTransactionService();
public login(String username, String password) {
String sessionToken = authenticationService.logon(username, password);
return sessionToken;
private boolean isValidUser(sessionToken) {
bolean validUser = authenticationService.isValidUser(sessionToken);
return validUser;
public performTransaction(sessionToken, TransactionVO) {
if (!isValidUser(sessionToken) {
throw new AuthenticationException();
transcationService.performTransaction(TransactionVO);
public editPreferences(sessionToken, PreferencesVO) {
if (!isValidUser(sessionToken) {
throw new AuthenticationException();
authenticationService.performTransaction(PreferencesVO);
}My idea was that my wrapper class would isolate all the business logic and could perform login service in case my application was ever to be used with other presentation layer than struts (standalone client, web services). However I believe that this overlaps the Business Delegate pattern and maybe even totally implements it. The way I understand the code I�m reading in the book, they suggest having a BD for each major service such as AuthenticationServiceBD, TransactionServiceBD, etc� However this would break my single point of entry for authenticating users. I really need some advice on my design and how it fits with the BD and SL patterns (or others). I would also like to know what you think/recommend of my authentication strategy.
thanks in advance
RaphaelThanks for your reply. This however, I understood. My concern is regarding my application in regards to business delegate pattern. You see I have this class (simplified for clarity):
public class ShoppingCart {
private ILoginService ls = new DBLoginService();
private ITransactionService ts = new DBTransService();
// and so on for all services I offer.
// then I mirror all the calls of my private interfaces
// and pass them through internally
public String sessionToken login(String username, String password) {
ls.login(username, password);
public boolean addToCart(sessionToken, itemNo) {
// check session
ts.addToCart(sessionToken, itemNo);
// and so on
}Multiple questions for this one:
1) Am I not already implementing the Business Delegate pattern with my ShoppingCart class since all interfaces are private and all calls are mirrored from the wrapper class (ShoppingCart) to the private interfaces? All services are implemented as POJOs and I am not using JNDI at the present so I don't use the ServiceLocator pattern.
2) I store a reference to the wrapper class (ShoppingCart) in the ServletContext so I can grab it from my Action classes. What do you think of this approach?
3) How many BDs should an application contain. In my case I use just one. What is the advantage of using more?
4) I create my own session tokens in case I ever want to use to business code in a non-web applications where sessions are not available readily. This brings about the problem that I can't pass the interfaces directly to the Action classes because the login session needs to be checked before any calls to services. So all methods include a sessionToken parameter which I use to check the session. This way, if I want to expose some of the services through web services, I can still use a login. What do you think of this approach.
5) Any other remarks are very welcome...
I really need help with this from an experienced programmer. Most things I can handle on my own but with this type of design issue, books just don't cut it. I need experience. I would really apreciate some feedback.
Raphael
ps: I would give all my Duke dollars for this (I only have 30), but I'm not sure how. If you want them I can create a dummy question and give them to you. -
DO i need some extra hardware interface for receving both Audio and video
hi i m doing e-learning project. i have to capture video from webcam and voice from headphone and send to client.
but my code is working fine for either one at a time.
DO i need some extra hardware interface for receving both Audio and video. im using code AVTransmit and AVReceive found from this site only
After running TX
i give Dsound:// & vfw://0 in Media Locater only sound is received and no vedio
and when i give vfw://0 in Media Locater only live video is transmited.
im using JMF1.1.2e.
if any one know the method to run or cause of it plz reply me soon. i will be very thankfull
transmiter/server side code .first run TX on server
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.util.*;
import javax.media.rtp.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.border.*;
public class Tx extends JFrame implements ActionListener, KeyListener,
MouseListener, WindowListener {
Vector targets;
JList list;
JButton startXmit;
JButton rtcp;
JButton update;
JButton expiration;
JButton statistics;
JButton addTarget;
JButton removeTarget;
JTextField tf_remote_address;
JTextField tf_remote_data_port;
JTextField tf_media_file;
JTextField tf_data_port;
TargetListModel listModel;
AVTransmitter avTransmitter;
RTCPViewer rtcpViewer;
JCheckBox cb_loop;
Config config;
public Tx() {
setTitle( "JMF/RTP Transmitter");
config= new Config();
GridBagLayout gridBagLayout= new GridBagLayout();
GridBagConstraints gbc;
JPanel p= new JPanel();
p.setLayout( gridBagLayout);
JPanel localPanel= createLocalPanel();
gbc= new GridBagConstraints();
gbc.gridx= 0;
gbc.gridy= 0;
gbc.gridwidth= 2;
gbc.anchor= GridBagConstraints.CENTER;
gbc.fill= GridBagConstraints.BOTH;
gbc.insets= new Insets( 10, 5, 0, 0);
((GridBagLayout)p.getLayout()).setConstraints( localPanel, gbc);
p.add( localPanel);
JPanel targetPanel= createTargetPanel();
gbc= new GridBagConstraints();
gbc.gridx= 1;
gbc.gridy= 1;
gbc.weightx= 1.0;
gbc.weighty= 1.0;
gbc.anchor= GridBagConstraints.CENTER;
gbc.fill= GridBagConstraints.BOTH;
gbc.insets= new Insets( 10, 5, 0, 0);
((GridBagLayout)p.getLayout()).setConstraints( targetPanel, gbc);
p.add( targetPanel);
JPanel mediaPanel= createMediaPanel();
gbc= new GridBagConstraints();
gbc.gridx= 1;
gbc.gridy= 2;
gbc.weightx= 1.0;
gbc.weighty= 1.0;
gbc.anchor= GridBagConstraints.CENTER;
gbc.fill= GridBagConstraints.BOTH;
gbc.insets= new Insets( 10, 5, 0, 0);
((GridBagLayout)p.getLayout()).setConstraints( mediaPanel, gbc);
p.add( mediaPanel);
JPanel buttonPanel= new JPanel();
rtcp= new JButton( "RTCP Monitor");
update= new JButton( "Transmission Status");
update.setEnabled( false);
rtcp.addActionListener( this);
update.addActionListener( this);
buttonPanel.add( rtcp);
buttonPanel.add( update);
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 3;
gbc.gridwidth= 2;
gbc.weightx = 1.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.CENTER;
gbc.fill = GridBagConstraints.HORIZONTAL;
gbc.insets = new Insets( 5,5,10,5);
((GridBagLayout)p.getLayout()).setConstraints( buttonPanel, gbc);
p.add( buttonPanel);
getContentPane().add( p);
list.addMouseListener( this);
addWindowListener( this);
pack();
setVisible( true);
private JPanel createMediaPanel() {
JPanel p= new JPanel();
GridBagLayout gridBagLayout= new GridBagLayout();
GridBagConstraints gbc;
p.setLayout( gridBagLayout);
JLabel label= new JLabel( "Media Locator:");
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 0;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.EAST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,10,5);
((GridBagLayout)p.getLayout()).setConstraints( label, gbc);
p.add( label);
tf_media_file= new JTextField( 35);
gbc= new GridBagConstraints();
gbc.gridx = 1;
gbc.gridy = 0;
gbc.weightx = 1.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.WEST;
gbc.fill = GridBagConstraints.HORIZONTAL;
gbc.insets = new Insets( 5,5,10,5);
((GridBagLayout)p.getLayout()).setConstraints( tf_media_file, gbc);
p.add( tf_media_file);
tf_media_file.setText( config.media_locator);
cb_loop= new JCheckBox( "loop");
startXmit= new JButton( "Start Transmission");
startXmit.setEnabled( true);
startXmit.addActionListener( this);
gbc= new GridBagConstraints();
gbc.gridx = 2;
gbc.gridy = 0;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.WEST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,10,5);
((GridBagLayout)p.getLayout()).setConstraints( cb_loop, gbc);
p.add( cb_loop);
cb_loop.setSelected( true);
cb_loop.addActionListener( this);
gbc= new GridBagConstraints();
gbc.gridx = 1;
gbc.gridy = 1;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.CENTER;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,10,5);
((GridBagLayout)p.getLayout()).setConstraints( startXmit, gbc);
p.add( startXmit);
TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "Source");
p.setBorder( titledBorder);
return p;
private JPanel createTargetPanel() {
JPanel p= new JPanel();
GridBagLayout gridBagLayout= new GridBagLayout();
GridBagConstraints gbc;
p.setLayout( gridBagLayout);
targets= new Vector();
for( int i= 0; i < config.targets.size(); i++) {
targets.addElement( config.targets.elementAt( i));
listModel= new TargetListModel( targets);
list= new JList( listModel);
list.addKeyListener( this);
list.setPrototypeCellValue( "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
JScrollPane scrollPane= new JScrollPane( list,
ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
gbc= new GridBagConstraints();
gbc.gridx= 0;
gbc.gridy= 0;
gbc.weightx= 1.0;
gbc.weighty= 1.0;
gbc.anchor= GridBagConstraints.CENTER;
gbc.fill= GridBagConstraints.BOTH;
gbc.insets= new Insets( 10, 5, 0, 0);
((GridBagLayout)p.getLayout()).setConstraints( scrollPane, gbc);
p.add( scrollPane);
JPanel p1= new JPanel();
p1.setLayout( gridBagLayout);
JLabel label= new JLabel( "IP Address:");
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 0;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.EAST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p1.getLayout()).setConstraints( label, gbc);
p1.add( label);
tf_remote_address= new JTextField( 15);
gbc= new GridBagConstraints();
gbc.gridx = 1;
gbc.gridy = 0;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.WEST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p1.getLayout()).setConstraints( tf_remote_address, gbc);
p1.add( tf_remote_address);
label= new JLabel( "Data Port:");
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 1;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.EAST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p1.getLayout()).setConstraints( label, gbc);
p1.add( label);
tf_remote_data_port= new JTextField( 15);
gbc= new GridBagConstraints();
gbc.gridx = 1;
gbc.gridy = 1;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.WEST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p1.getLayout()).setConstraints( tf_remote_data_port, gbc);
p1.add( tf_remote_data_port);
JPanel p2= new JPanel();
addTarget= new JButton( "Add Target");
removeTarget= new JButton( "Remove Target");
p2.add( addTarget);
p2.add( removeTarget);
addTarget.addActionListener( this);
removeTarget.addActionListener( this);
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 2;
gbc.weightx = 1.0;
gbc.weighty = 0.0;
gbc.gridwidth= 2;
gbc.anchor = GridBagConstraints.CENTER;
gbc.fill = GridBagConstraints.HORIZONTAL;
gbc.insets = new Insets( 20,5,0,5);
((GridBagLayout)p1.getLayout()).setConstraints( p2, gbc);
p1.add( p2);
gbc= new GridBagConstraints();
gbc.gridx= 1;
gbc.gridy= 0;
gbc.weightx= 1.0;
gbc.weighty= 1.0;
gbc.anchor= GridBagConstraints.CENTER;
gbc.fill= GridBagConstraints.BOTH;
gbc.insets= new Insets( 10, 5, 0, 0);
((GridBagLayout)p.getLayout()).setConstraints( p1, gbc);
p.add( p1);
TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "Targets");
p.setBorder( titledBorder);
return p;
private JPanel createLocalPanel() {
JPanel p= new JPanel();
GridBagLayout gridBagLayout= new GridBagLayout();
GridBagConstraints gbc;
p.setLayout( gridBagLayout);
JLabel label= new JLabel( "IP Address:");
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 0;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.EAST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p.getLayout()).setConstraints( label, gbc);
p.add( label);
JTextField tf_local_host= new JTextField( 15);
gbc= new GridBagConstraints();
gbc.gridx = 1;
gbc.gridy = 0;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.WEST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p.getLayout()).setConstraints( tf_local_host, gbc);
p.add( tf_local_host);
try {
String host= InetAddress.getLocalHost().getHostAddress();
tf_local_host.setText( host);
} catch( UnknownHostException e) {
label= new JLabel( "Data Port:");
gbc= new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 1;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.EAST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,0,5);
((GridBagLayout)p.getLayout()).setConstraints( label, gbc);
p.add( label);
tf_data_port= new JTextField( 15);
gbc= new GridBagConstraints();
gbc.gridx = 1;
gbc.gridy = 1;
gbc.weightx = 0.0;
gbc.weighty = 0.0;
gbc.anchor = GridBagConstraints.WEST;
gbc.fill = GridBagConstraints.NONE;
gbc.insets = new Insets( 5,5,10,5);
((GridBagLayout)p.getLayout()).setConstraints( tf_data_port, gbc);
p.add( tf_data_port);
tf_data_port.setText( config.local_data_port);
TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "Local Host");
p.setBorder( titledBorder);
return p;
public void actionPerformed( ActionEvent event) {
Object source= event.getSource();
if( source == addTarget) {
String ip= tf_remote_address.getText().trim();
String port= tf_remote_data_port.getText().trim();
String localPort= tf_data_port.getText().trim();
addTargetToList( localPort, ip, port);
if( avTransmitter != null) {
avTransmitter.addTarget( ip, port);
} else if( source == removeTarget) {
int index= list.getSelectedIndex();
if( index != -1) {
Target target= (Target) targets.elementAt( index);
if( avTransmitter != null) {
avTransmitter.removeTarget( target.ip, target.port);
targets.removeElement( target);
listModel.setData( targets);
} else if( source == startXmit) {
if( startXmit.getLabel().equals( "Start Transmission")) {
int data_port= new Integer( tf_data_port.getText()).intValue();
avTransmitter= new AVTransmitter( this, data_port);
avTransmitter.start( tf_media_file.getText().trim(), targets);
avTransmitter.setLooping( cb_loop.isSelected());
startXmit.setLabel( "Stop Transmission");
} else if( startXmit.getLabel().equals( "Stop Transmission")) {
avTransmitter.stop();
avTransmitter= null;
removeNonBaseTargets();
listModel.setData( targets);
startXmit.setLabel( "Start Transmission");
} else if( source == rtcp) {
if( rtcpViewer == null) {
rtcpViewer= new RTCPViewer();
} else {
rtcpViewer.setVisible( true);
rtcpViewer.toFront();
} else if( source == cb_loop) {
if( avTransmitter != null) {
avTransmitter.setLooping( cb_loop.isSelected());
private void removeNonBaseTargets() {
String localPort= tf_data_port.getText().trim();
for( int i= targets.size(); i > 0;) {
Target target= (Target) targets.elementAt( i - 1);
if( !target.localPort.equals( localPort)) {
targets.removeElement( target);
i--;
public void addTargetToList( String localPort,
String ip, String port) {
ListUpdater listUpdater= new ListUpdater( localPort, ip,
port, listModel, targets);
SwingUtilities.invokeLater( listUpdater);
public void rtcpReport( String report) {
if( rtcpViewer != null) {
rtcpViewer.report( report);
public void windowClosing( WindowEvent event) {
config.local_data_port= tf_data_port.getText().trim();
config.targets= new Vector();
for( int i= 0; i < targets.size(); i++) {
Target target= (Target) targets.elementAt( i);
if( target.localPort.equals( config.local_data_port)) {
config.addTarget( target.ip, target.port);
config.media_locator= tf_media_file.getText().trim();
config.write();
System.exit( 0);
public void windowClosed( WindowEvent event) {
public void windowDeiconified( WindowEvent event) {
public void windowIconified( WindowEvent event) {
public void windowActivated( WindowEvent event) {
public void windowDeactivated( WindowEvent event) {
public void windowOpened( WindowEvent event) {
public void keyPressed( KeyEvent event) {
public void keyReleased( KeyEvent event) {
Object source= event.getSource();
if( source == list) {
int index= list.getSelectedIndex();
public void keyTyped( KeyEvent event) {
public void mousePressed( MouseEvent e) {
public void mouseReleased( MouseEvent e) {
public void mouseEntered( MouseEvent e) {
public void mouseExited( MouseEvent e) {
public void mouseClicked( MouseEvent e) {
Object source= e.getSource();
if( source == list) {
int index= list.getSelectedIndex();
if( index != -1) {
Target target= (Target) targets.elementAt( index);
tf_remote_address.setText( target.ip);
tf_remote_data_port.setText( target.port);
int index= list.locationToIndex( e.getPoint());
public static void main( String[] args) {
new Tx();
class TargetListModel extends AbstractListModel {
private Vector options;
public TargetListModel( Vector options) {
this.options= options;
public int getSize() {
int size;
if( options == null) {
size= 0;
} else {
size= options.size();
return size;
public Object getElementAt( int index) {
String name;
if( index < getSize()) {
Target o= (Target)options.elementAt( index);
name= o.localPort + " ---> " + o.ip + ":" + o.port;
} else {
name= null;
return name;
public void setData( Vector data) {
options= data;
fireContentsChanged( this, 0, data.size());
class ListUpdater implements Runnable {
String localPort, ip, port;
TargetListModel listModel;
Vector targets;
public ListUpdater( String localPort, String ip, String port,
TargetListModel listModel, Vector targets) {
this.localPort= localPort;
this.ip= ip;
this.port= port;
this.listModel= listModel;
this.targets= targets;
public void run() {
Target target= new Target( localPort, ip, port);
if( !targetExists( localPort, ip, port)) {
targets.addElement( target);
listModel.setData( targets);
public boolean targetExists( String localPort, String ip, String port) {
boolean exists= false;
for( int i= 0; i < targets.size(); i++) {
Target target= (Target) targets.elementAt( i);
if( target.localPort.equals( localPort)
&& target.ip.equals( ip)
&& target.port.equals( port)) {
exists= true;
break;
return exists;
>>>>>>>>>>>>>>>>>
import java.awt.*;
import java.io.*;
import java.net.InetAddress;
import java.util.*;
import javax.media.*;
import javax.media.protocol.*;
import javax.media.format.*;
import javax.media.control.TrackControl;
import javax.media.control.QualityControl;
import javax.media.rtp.*;
import javax.media.rtp.event.*;
import javax.media.rtp.rtcp.*;
public class AVTransmitter implements ReceiveStreamListener, RemoteListener,
ControllerListener {
// Input MediaLocator
// Can be a file or http or capture source
private MediaLocator locator;
private String ipAddress;
private int portBase;
private Processor processor = null;
private RTPManager rtpMgrs[];
private int localPorts[];
private DataSource dataOutput = null;
private int local_data_port;
private Tx tx;
public AVTransmitter( Tx tx, int data_port) {
this.tx= tx;
local_data_port= data_port;
* Starts the transmission. Returns null if transmission started ok.
* Otherwise it returns a string with the reason why the setup failed.
public synchronized String start( String filename, Vector targets) {
String result;
locator= new MediaLocator( filename);
// Create a processor for the specified media locator
// and program it to output JPEG/RTP
result = createProcessor();
if (result != null) {
return result;
// Create an RTP session to transmit the output of the
// processor to the specified IP address and port no.
result = createTransmitter( targets);
if (result != null) {
processor.close();
processor = null;
return result;
// Start the transmission
processor.start();
return null;
* Use the RTPManager API to create sessions for each media
* track of the processor.
private String createTransmitter( Vector targets) {
// Cheated. Should have checked the type.
PushBufferDataSource pbds = (PushBufferDataSource)dataOutput;
PushBufferStream pbss[] = pbds.getStreams();
rtpMgrs = new RTPManager[pbss.length];
localPorts = new int[ pbss.length];
SessionAddress localAddr, destAddr;
InetAddress ipAddr;
SendStream sendStream;
int port;
SourceDescription srcDesList[];
for (int i = 0; i < pbss.length; i++) {
// for (int i = 0; i < 1; i++) {
try {
rtpMgrs[i] = RTPManager.newInstance();
port = local_data_port + 2*i;
localPorts[ i]= port;
localAddr = new SessionAddress( InetAddress.getLocalHost(),
port);
rtpMgrs.initialize( localAddr);
rtpMgrs[i].addReceiveStreamListener(this);
rtpMgrs[i].addRemoteListener(this);
for( int k= 0; k < targets.size(); k++) {
Target target= (Target) targets.elementAt( k);
int targetPort= new Integer( target.port).intValue();
addTarget( localPorts[ i], rtpMgrs[ i], target.ip, targetPort + 2*i);
sendStream = rtpMgrs[i].createSendStream(dataOutput, i);
sendStream.start();
} catch (Exception e) {
e.printStackTrace();
return e.getMessage();
return null;
public void addTarget( String ip, String port) {
for (int i= 0; i < rtpMgrs.length; i++) {
int targetPort= new Integer( port).intValue();
addTarget( localPorts[ i], rtpMgrs[ i], ip, targetPort + 2*i);
public void addTarget( int localPort, RTPManager mgr, String ip, int port) {
try {
SessionAddress addr= new SessionAddress( InetAddress.getByName( ip),
new Integer( port).intValue());
mgr.addTarget( addr);
tx.addTargetToList( localPort + "", ip, port + "");
} catch( Exception e) {
e.printStackTrace();
public void removeTarget( String ip, String port) {
try {
SessionAddress addr= new SessionAddress( InetAddress.getByName( ip),
new Integer( port).intValue());
for (int i= 0; i < rtpMgrs.length; i++) {
rtpMgrs[ i].removeTarget( addr, "target removed from transmitter.");
} catch( Exception e) {
e.printStackTrace();
boolean looping= true;
public void controllerUpdate( ControllerEvent ce) {
System.out.println( ce);
if( ce instanceof DurationUpdateEvent) {
Time duration= ((DurationUpdateEvent) ce).getDuration();
System.out.println( "duration: " + duration.getSeconds());
} else if( ce instanceof EndOfMediaEvent) {
System.out.println( "END OF MEDIA - looping=" + looping);
if( looping) {
processor.setMediaTime( new Time( 0));
processor.start();
public void setLooping( boolean flag) {
looping= flag;
public void update( ReceiveStreamEvent event) {
String timestamp= getTimestamp();
StringBuffer sb= new StringBuffer();
if( event instanceof InactiveReceiveStreamEvent) {
sb.append( timestamp + " Inactive Receive Stream");
} else if( event instanceof ByeEvent) {
sb.append( timestamp + " Bye");
} else {
System.out.println( "ReceiveStreamEvent: "+ event);
tx.rtcpReport( sb.toString());
public void update( RemoteEvent event) {
String timestamp= getTimestamp();
if( event instanceof ReceiverReportEvent) {
ReceiverReport rr= ((ReceiverReportEvent) event).getReport();
StringBuffer sb= new StringBuffer();
sb.append( timestamp + " RR");
if( rr != null) {
Participant participant= rr.getParticipant();
if( participant != null) {
sb.append( " from " + participant.getCNAME());
sb.append( " ssrc=" + rr.getSSRC());
} else {
sb.append( " ssrc=" + rr.getSSRC());
tx.rtcpReport( sb.toString());
} else {
System.out.println( "RemoteEvent: " + event);
private String getTimestamp() {
String timestamp;
Calendar calendar= Calendar.getInstance();
int hour= calendar.get( Calendar.HOUR_OF_DAY);
String hourStr= formatTime( hour);
int minute= calendar.get( Calendar.MINUTE);
String minuteStr= formatTime( minute);
int second= calendar.get( Calendar.SECOND);
String secondStr= formatTime( second);
timestamp= hourStr + ":" + minuteStr + ":" + secondStr;
return timestamp;
private String formatTime( int time) {
String timeStr;
if( time < 10) {
timeStr= "0" + time;
} else {
timeStr= "" + time;
return timeStr;
* Stops the transmission if already started
public void stop() {
synchronized (this) {
if (processor != null) {
processor.stop();
processor.close();
processor = null;
for (int i= 0; i < rtpMgrs.length; i++) {
rtpMgrs[ i].removeTargets( "Session ended.");
rtpMgrs[ i].dispose();
public String createProcessor() {
if (locator == null) {
return "Locator is null";
DataSource ds;
DataSource clone;
try {
ds = javax.media.Manager.createDataSource(locator);
} catch (Exception e) {
return "Couldn't create DataSource";
// Try to create a processor to handle the input media locator
try {
processor = javax.media.Manager.createProcessor(ds);
processor.addControllerListener( this);
} catch (NoProcessorException npe) {
return "Couldn't create processor";
} catch (IOException ioe) {
return "IOException creating processor";
// Wait for it to configure
boolean result = waitForState(processor, Processor.Configured);
if (result == false)
return "Couldn't configure processor";
// Get the tracks from the processor
TrackControl [] tracks = processor.getTrackControls();
// Do we have atleast one track?
if (tracks == null || tracks.length < 1)
return "Couldn't find tracks in processor";
// Set the output content descriptor to RAW_RTP
// This will limit the supported formats reported from
// Track.getSupportedFormats to only valid RTP formats.
ContentDescriptor cd = new ContentDescriptor(ContentDescriptor.RAW_RTP);
processor.setContentDescriptor(cd);
Format supported[];
Format chosen;
boolean atLeastOneTrack = false;
// Program the tracks.
for (int i = 0; i < tracks.length; i++) {
Format format = tracks[i].getFormat();
if (tracks[i].isEnabled()) {
supported = tracks[i].getSupportedFormats();
// We've set the output content to the RAW_RTP.
// So all the supported formats should work with RTP.
// We'll just pick the first one.
if (supported.length > 0) {
if (supported[0] instanceof VideoFormat) {
// For video formats, we should double check the
// sizes since not all formats work in all sizes.
chosen = checkForVideoSizes(tracks[i].getFormat(),
supported[0]);
} else
chosen = supported[0];
tracks[i].setFormat(chosen);
System.err.println("Track " + i + " is set to transmit as:");
System.err.println(" " + chosen);
atLeastOneTrack = true;
} else
tracks[i].setEnabled(false);
} else
tracks[i].setEnabled(false);
if (!atLeastOneTrack)
return "Couldn't set any of the tracks to a valid RTP format";
// Realize the processor. This will internally create a flow
// graph and attempt to create an output datasource for JPEG/RTP
// audio frames.
result = waitForState(processor, Controller.Realized);
if (result == false)
return "Couldn't realize processor";
// Set the JPEG quality to .5.
setJPEGQuality(processor, 0.5f);
// Get the output data source of the processor
dataOutput = processor.getDataOutput();
return null;
static SessionAddress destAddr1, destAddr2;
* For JPEG and H263, we know that they only work for particular
* sizes. So we'll perform extra checking here to make sure they
* are of the right sizes.
Format checkForVideoSizes(Format original, Format supported) {
int width, height;
Dimension size = ((VideoFormat)original).getSize();
Format jpegFmt = new Format(VideoFormat.JPEG_RTP);
Format h263Fmt = new Format(VideoFormat.H263_RTP);
if (supported.matches(jpegFmt)) {
// For JPEG, make sure width and height are divisible by 8.
width = (size.width % 8 == 0 ? size.width :
(int)(size.width / 8) * 8);
height = (size.height % 8 == 0 ? size.height :
(int)(size.height / 8) * 8);
} else if (supported.matches(h263Fmt)) {
// For H.263, we only support some specific sizes.
if (size.width < 128) {
width = 128;
height = 96;
} else if (size.width < 176) {
width = 176;
height = 144;
} else {
width = 352;
height = 288;
} else {
// We don't know this particular format. We'll just
// leave it alone then.
return supported;
return (new VideoFormat(null,
new Dimension(width, height),
Format.NOT_SPECIFIED,
null,
Format.NOT_SPECIFIED)).intersects(supported);
* Setting the encoding quality to the specified value on the JPEG encoder.
* 0.5 is a good default.
void setJPEGQuality(Player p, float val) {
Control cs[] = p.getControls();
QualityControl qc = null;
VideoFormat jpegFmt = new VideoFormat(VideoFormat.JPEG);
// Loop through the controls to find the Quality control for
// the JPEG encoder.
for (int i = 0; i < cs.length; i++) {
if (cs[i] instanceof QualityControl &&
cs[i] instanceof Owned) {
Object owner = ((Owned)cs[i]).getOwner();
// Check to see if the owner is a Codec.
// Then check for the output format.
if (owner instanceof Codec) {
Format fmts[] = ((Codec)owner).getSupportedOutputFormats(null);
for (int j = 0; j < fmts.length; j++) {
if (fmts[j].matches(jpegFmt)) {
qc = (QualityControl)cs[i];
qc.setQuality(val);
System.err.println("- Setting quality to " +
val + " on " + qc);
break;
if (qc != null)
break;
* Convenience methods to handle processor's state changes.
private Integer stateLock = new Integer(0);
private boolean failed = false;
Integer getStateLock() {
return stateLock;
void setFailed() {
failed = true;
private synchronized boolean waitForState(Processor p, int state) {
p.addControllerListener(new StateListener());
failed = false;
// Call the required method on the processor
if (state == Processor.Configured) {
p.configure();
} else if (state == Processor.Realized) {
p.realize();
// Wait until we get an event that confirms the
// success of the method, or a failure event.
// See StateListener inner class
while (p.getState() < state && !failed) {
synchronized (getStateLock()) {
try {
getStateLock().wait();
} catch (InterruptedException ie) {
return false;
if (failed)
return false;
else
return true;
* Inner Classes
class StateListener implements ControllerListener {
public void controllerUpdate(ControllerEvent ce) {
// If there was an error during configure or
// realizI do this all the time, I put my MBP to a 60 inch Sharp. If you have the video working do the simple thing first. Check to make sure your sound is on your TV and Mac. Then if that doesn't work go to System Prefrences and under sound go to a tab called Output and see if your TV is listed and if it is change it to that setting
Hope It Works -
Need some help in creating Search Help for standard screen/field
I need some help in adding a search-help to a standard screen-field.
Transaction Code - PP01,
Plan Version - Current Plan (PLVAR = '01'),
Object Type - Position ( OTYPE = 'S'),
Click on Infotype Name - Object ( Infotype 1000) and Create.
I need to add search help to fields Object Abbr (P1000-SHORT) / Object Name (P1000-STEXT).
I want to create one custom table with fields, Position Abb, Position Name, Job. Position Abb should be Primary Key. And when object type is Position (S), I should be able to press F4 for Object Abb/Object Name fields and should return Position Abbr and Position Name.
I specify again, I have to add a new search help to standard screen/field and not to enhance it.
This is HR specific transaction. If someone has done similar thing with some other transation, please let me know.
There is no existing search help for these fields. If sm1 ever tried or has an idea how to add new search help to a standard screen/field.
It's urgent.
Thanks in advace. Suitable answers will be rewardedHi Pradeep,
Please have a look into the below site which might be useful
Enhancing a Standard Search Help
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-
edc983384237
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
A search help exit is called at certain timepoints in the input help process.
Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
During the input help process, a number of timepoints are defined that each define the beginning of an important operation of the input help process.
If the input help process is defined with a search help having a search help exit, this search help exit is called at each of these timepoints. If required, the search help exit can also influence the process and even determine that the process should be continued at a different timepoint.
timepoints
The following timepoints are defined:
1. SELONE
Call before selecting an elementary search help. The possible elementary search helps are already in SHLP_TAB. This timepoint can be used in a search help exit of a collective search help to restrict the selection possibilities for the elementary search helps.
Entries that are deleted from SHLP_TAB in this step are not offered in the elementary search help selection. If there is only one entry remaining in SHLP_TAB, the dialog box for selecting elementary search helps is skipped. You may not change the next timepoint.
The timepoint is not accessed again if another elementary search help is to be selected during the dialog.
2. PRESEL1
After selecting an elementary search help. Table INTERFACE has not yet been copied to table SELOPT at this timepoint in the definition of the search help (type SHLP_DESCR_T). This means that you can still influence the attachment of the search help to the screen here. (Table INTERFACE contains the information about how the search help parameters are related to the screen fields).
3. PRESEL
Before sending the dialog box for restricting values. This timepoint is suitable for predefining the value restriction or for completely suppressing or copying the dialog.
4. SELECT
Before selecting the values. If you do not want the default selection, you should copy this timepoint with a search help exit. DISP should be set as the next timepoint.
5. DISP
Before displaying the hit list. This timepoint is suitable for restricting the values to be displayed, e.g. depending on authorizations.
6. RETURN (usually as return value for the next timepoint)
The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.
It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). However, you should note that the process will then depend on whether a value was entered manually or with an input help.
7. RETTOP
You only go to this timepoint if the input help is controlled by a collective search help. It directly follows the timepoint RETURN. The search help exit of the collective search help, however, is called at timepoint RETTOP.
8. EXIT (only for return as next timepoint)
The EXIT timepoint should be returned as the next step if the user had the opportunity to terminate the dialog within the search help exit.
9. CREATE
The CREATE timepoint is only accessed if the user selects the function "Create new values". This function is only available if field CUSTTAB of the control string CALLCONTROL was given a value not equal to SPACE earlier on.
The name of the (customizing) table to be maintained is normally entered there. The next step returned after CREATE should be SELECT so that the newly entered value can be selected and then displayed.
10. APP1, APP2, APP3
If further pushbuttons are introduced in the hit list with function module F4UT_LIST_EXIT, these timepoints are introduced. They are accessed when the user presses the corresponding pushbutton.
Note: If the F4 help is controlled by a collective search help, the search help exit of the collective search help is called at timepoints SELONE and RETTOP. (RETTOP only if the user selects a value.) At all other timepoints the search help exit of the selected elementary search help is called.
If the F4 help is controlled by an elementary search help, timepoint RETTOP is not executed. The search help exit of the elementary search help is called at timepoint SELONE (at the
F4IF_SHLP_EXIT_EXAMPLE
This module has been created as an example for the interface and design of Search help exits in Search help.
All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
A search help exit is called repeatedly in connection with several
events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.
Hope this info will help you.
***Reward points if found useful
Regards,
Naresh -
Need some help...in need of a different way.
Hi, I'm new to Java and need some help. I have 2 questions that are similar in nature.
1st Question:
In a program that I'm writting I have a do-while loop which at the end brings up a dialog box that asks the user to enter '1' for 'Yes' or '2' for 'No' to continue.
I would rather have the option of having the user enter 'y' or 'Y' for Yes and 'n' or 'N' for No.
Here is what I have currently:
int x;
String data;
do{
//Blah blah code
data = JOptionPane.showInputDialog(null, "Enter 1 for Yes or 2 for No");
x = Integer.parseInt(data);
}while(x == 1);
x++;
2nd Question:
In another part of my program I have a Case statement that asks the user to enter a number or a letter from a list of choices. They can enter '2' , 't', or 'T'.
I would rather have all of this in an if-else chain. Is this possibe? if so, how would I do it.
Thanks.I would rather have the option of having the user enter 'y' or 'Y' for Yes and 'n' or
'N' for No. You can test the first letter of whatever the user inputs like this:String response = JOptionPane.showInputDialog(null, "Enter (Y)es or (N)o");
response = response.toLowerCase();
if(response.startsWith("y")) {
// the user entered something starting with y
} else if(response.startsWith("n")) {
// the user entered something starting with n
} else {
// what are you going to do?
}JOptionPane also has versions that would allow yes/no buttons. Eg, see:
http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html -
Need some design idea for a multi- thread concurrent system
I am totally new to this area. Hope ppl can give me some suggestion for the following project.
The project is using socket to deal with huge concurrent data. Server will send me more than 50K (maybe more) XML strings in a short time.
I need parse strings and save them in the data structure.
What I have done is using ExecutorService to deal with this problem. Unfortunately, it's already too slow even I don't save data into data structure.(data structure will cause synchronization problem, and make system even worse).
I was required to develop this software in a single machine and windows based OS.
Should I only use single thread to do this project? or some other strategy?
Can anybody give me some suggestion.
Thanks so much.Peter. Thanks again.
Could you help me to take a look at this code. Appreciate that.
ThreadPool class:
protected ExecutorService threadPool = Executors.newFixedThreadPool(5);
incoming = new Socket("127.0.0.1", port1);
outcoming = new Socket("127.0.0.1", port2);
out = new PrintWriter(outcoming.getOutputStream(), true);
isr = new InputStreamReader(incoming.getInputStream());
is = new BufferedReader(isr);
while (true) {
String str;
str = is.readLine();
if (str == null) {
cleanup();
closeSocket();
printout();
} else {
this.threadPool.submit(new WorkerRunnable(str,
"Thread Pooled Server"));
}WorkerRunnable class:
public void run() {
try {
SAXBuilder builder = new SAXBuilder();
InputSource is = new InputSource( );
is.setCharacterStream(new StringReader(xmlString));
org.jdom.Document doc = builder.build(is);
org.jdom.Element root = doc.getRootElement();
org.jdom.Element order = root.getChild("Changes");
List orderList = order.getChildren("OrderChange");
if (orderList.size() != 0) {
org.jdom.Element orderchange = (org.jdom.Element) orderList.get(0);
String price = orderchange.getAttribute("orderPrice").getValue();
String quantity = bookchange.getAttribute("orderQuantity").getValue();
String symbol = bookchange.getAttribute("orderName").getValue();
} catch(Exception e)
{} -
Please I need some help with a table
Hi All
I need some help with a table.
My table needs to hold prices that the user can update.
Also has a total of the column.
my question is if the user adds in a new price how can i pick up the value they have just entered and then add it to the total which will be the last row in the table?
I have a loop that gets all the values of the column, so I can get the total but it is when the user adds in a new value that I need some help with.
I have tried using but as I need to set the toal with something like total
totalTable.setValueAt(total, totalTable.getRowCount()-1,1); I end up with an infinite loop.
Can any one please advise on some way I can get this to work ?
Thanks for reading
CraigHi there camickr
thanks for the help the other day
this is my full code....
package printing;
import java.awt.*;
import java.awt.event.*;
import java.awt.print.*;
import javax.swing.*;
import javax.swing.table.*;
import java.text.DecimalFormat;
public class tablePanel
extends JDialog implements Printable {
BorderLayout borderLayout1 = new BorderLayout();
private boolean printing = false;
private Dialog1 dialog;
JPanel jPanel = new JPanel();
JTable table;
JScrollPane scrollPane1 = new JScrollPane();
DefaultTableModel model;
private String[] columnNames = {
private Object[][] data;
private String selectTotal;
private double total;
public tablePanel(Dialog1 dp) {
dp = dialog;
try {
jbInit();
catch (Exception exception) {
exception.printStackTrace();
public tablePanel() {
try {
jbInit();
catch (Exception exception) {
exception.printStackTrace();
private void jbInit() throws Exception {
jPanel.setLayout(borderLayout1);
scrollPane1.setBounds(new Rectangle(260, 168, 0, 0));
this.add(jPanel);
jPanel.add(scrollPane1, java.awt.BorderLayout.CENTER);
scrollPane1.getViewport().add(table);
jPanel.setOpaque(true);
newTable();
addToModel();
addRows();
setTotal();
public static void main(String[] args) {
tablePanel tablePanel = new tablePanel();
tablePanel.pack();
tablePanel.setVisible(true);
public void setTotal() {
total = 0;
int i = table.getRowCount();
for (i = 0; i < table.getRowCount(); i++) {
String name = (String) table.getValueAt(i, 1);
if (!"".equals(name)) {
if (i != table.getRowCount() - 1) {
double dt = Double.parseDouble(name);
total = total + dt;
String str = Double.toString(total);
table.setValueAt(str, table.getRowCount() - 1, 1);
super.repaint();
public void newTable() {
model = new DefaultTableModel(data, columnNames) {
table = new JTable() {
public Component prepareRenderer(TableCellRenderer renderer,
int row, int col) {
Component c = super.prepareRenderer(renderer, row, col);
if (printing) {
c.setBackground(getBackground());
else {
if (row % 2 == 1 && !isCellSelected(row, col)) {
c.setBackground(getBackground());
else {
c.setBackground(new Color(227, 239, 250));
if (isCellSelected(row, col)) {
c.setBackground(new Color(190, 220, 250));
return c;
table.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
if (e.getClickCount() == 2) {
if (e.getClickCount() == 1) {
if (table.getSelectedColumn() == 1) {
table.setTableHeader(null);
table.setModel(model);
scrollPane1.getViewport().add(table);
table.getColumnModel().getColumn(1).setCellRenderer(new TableRenderDollar());
public void addToModel() {
Object[] data = {
"Price", "5800"};
model.addRow(data);
public void addRows() {
int rows = 20;
for (int i = 0; i < rows; i++) {
Object[] data = {
model.addRow(data);
public void printOut() {
PrinterJob pj = PrinterJob.getPrinterJob();
pj.setPrintable(tablePanel.this);
pj.printDialog();
try {
pj.print();
catch (Exception PrintException) {}
public int print(Graphics g, PageFormat pageFormat, int pageIndex) throws PrinterException {
Graphics2D g2 = (Graphics2D) g;
g2.setColor(Color.black);
int fontHeight = g2.getFontMetrics().getHeight();
int fontDesent = g2.getFontMetrics().getDescent();
//leave room for page number
double pageHeight = pageFormat.getImageableHeight() - fontHeight;
double pageWidth = pageFormat.getImageableWidth();
double tableWidth = (double) table.getColumnModel().getTotalColumnWidth();
double scale = 1;
if (tableWidth >= pageWidth) {
scale = pageWidth / tableWidth;
double headerHeightOnPage = 16.0;
//double headerHeightOnPage = table.getTableHeader().getHeight() * scale;
//System.out.println("this is the hedder heigth " + headerHeightOnPage);
double tableWidthOnPage = tableWidth * scale;
double oneRowHeight = (table.getRowHeight() + table.getRowMargin()) * scale;
int numRowsOnAPage = (int) ( (pageHeight - headerHeightOnPage) / oneRowHeight);
double pageHeightForTable = oneRowHeight *numRowsOnAPage;
int totalNumPages = (int) Math.ceil( ( (double) table.getRowCount()) / numRowsOnAPage);
if (pageIndex >= totalNumPages) {
return NO_SUCH_PAGE;
g2.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
//bottom center
g2.drawString("Page: " + (pageIndex + 1 + " of " + totalNumPages), (int) pageWidth / 2 - 35, (int) (pageHeight + fontHeight - fontDesent));
g2.translate(0f, headerHeightOnPage);
g2.translate(0f, -pageIndex * pageHeightForTable);
//If this piece of the table is smaller
//than the size available,
//clip to the appropriate bounds.
if (pageIndex + 1 == totalNumPages) {
int lastRowPrinted =
numRowsOnAPage * pageIndex;
int numRowsLeft =
table.getRowCount()
- lastRowPrinted;
g2.setClip(0,
(int) (pageHeightForTable * pageIndex),
(int) Math.ceil(tableWidthOnPage),
(int) Math.ceil(oneRowHeight *
numRowsLeft));
//else clip to the entire area available.
else {
g2.setClip(0,
(int) (pageHeightForTable * pageIndex),
(int) Math.ceil(tableWidthOnPage),
(int) Math.ceil(pageHeightForTable));
g2.scale(scale, scale);
printing = true;
try {
table.paint(g2);
finally {
printing = false;
//tableView.paint(g2);
g2.scale(1 / scale, 1 / scale);
g2.translate(0f, pageIndex * pageHeightForTable);
g2.translate(0f, -headerHeightOnPage);
g2.setClip(0, 0,
(int) Math.ceil(tableWidthOnPage),
(int) Math.ceil(headerHeightOnPage));
g2.scale(scale, scale);
//table.getTableHeader().paint(g2);
//paint header at top
return Printable.PAGE_EXISTS;
class TableRenderDollar extends DefaultTableCellRenderer{
public Component getTableCellRendererComponent(
JTable table,
Object value,
boolean isSelected,
boolean isFocused,
int row, int column) {
setHorizontalAlignment(SwingConstants.RIGHT);
Component component = super.getTableCellRendererComponent(
table,
value,
isSelected,
isFocused,
row,
column);
if( value == null || value .equals("")){
( (JLabel) component).setText("");
}else{
double number = 0.0;
number = new Double(value.toString()).doubleValue();
DecimalFormat df = new DecimalFormat(",##0.00");
( (JLabel) component).setText(df.format(number));
return component;
} -
I'm trying to make a program that produces a 2-D array and graphically sorts the numbers inside of it. In one column is the random numbers and in the other are the x values for the bars that represent the length of each random number. What I want the program to do is step through the array and find the smallest random number (in column 0) and move it to the appropriate spot in the array sorting from smallest to largest. As the random numbers in column 0 move I also want the x values in column 1 to swap the same way. I have this set up with a timer so that you can see the sort take place one step at a time but there's something wrong with the way I have my sort set up because it's not working properly. I just need some direction on how to get that part of it to work.
Here's the code for the main method:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Sort2
public static void main (String[] args)
JFrame frame = new JFrame ("Sort");
frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
frame.getContentPane().add(new SortPanel2());
frame.pack();
frame.setVisible(true);
}Here's the panel code:
import java.util.Random;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class SortPanel2 extends JPanel
private final int DELAY = 1000;
private final int WIDTH = 800, HEIGHT = 400, BARWIDTH = 20;
public static int y=0;
public static int index = 0, scan;
private int h1,h2,h3,h4,h5,h6,h7,h8,h9,h10,h11,h12,h13,h14,h15;
private Timer timer;
public int [][] randomnumbers = new int[15][2];
public SortPanel2()
timer = new Timer(DELAY, new SortListener());
setPreferredSize (new Dimension(WIDTH, HEIGHT));
setBackground (Color.white);
timer.start();
Random gen = new Random();
for (int x=0; x < 15; x++)
randomnumbers[x][0] = gen.nextInt(100)+10;
randomnumbers[x][1] = (50*x) +50;
h1 = randomnumbers[0][0] * 3;
h2 = randomnumbers[1][0] * 3;
h3 = randomnumbers[2][0] * 3;
h4 = randomnumbers[3][0] * 3;
h5 = randomnumbers[4][0] * 3;
h6 = randomnumbers[5][0] * 3;
h7 = randomnumbers[6][0] * 3;
h8 = randomnumbers[7][0] * 3;
h9 = randomnumbers[8][0] * 3;
h10 = randomnumbers[9][0] * 3;
h11 = randomnumbers[10][0] * 3;
h12 = randomnumbers[11][0] * 3;
h13 = randomnumbers[12][0] * 3;
h14 = randomnumbers[13][0] * 3;
h15 = randomnumbers[14][0] * 3;
for (int y=0;y < 15; y++)
System.out.println(randomnumbers[y][0]);
public void paintComponent (Graphics page)
super.paintComponent (page);
page.setColor(Color.red);
page.fillRect(randomnumbers[0][1], 0, BARWIDTH, h1);
page.setColor(Color.black);
page.fillRect(randomnumbers[1][1], 0, BARWIDTH, h2);
page.setColor(Color.blue);
page.fillRect(randomnumbers[2][1], 0, BARWIDTH, h3);
page.setColor(Color.orange);
page.fillRect(randomnumbers[3][1], 0, BARWIDTH, h4);
page.setColor(Color.yellow);
page.fillRect(randomnumbers[4][1], 0, BARWIDTH, h5);
page.setColor(Color.green);
page.fillRect(randomnumbers[5][1], 0, BARWIDTH, h6);
page.setColor(Color.cyan);
page.fillRect(randomnumbers[6][1], 0, BARWIDTH, h7);
page.setColor(Color.magenta);
page.fillRect(randomnumbers[7][1], 0, BARWIDTH, h8);
page.setColor(Color.pink);
page.fillRect(randomnumbers[8][1], 0, BARWIDTH, h9);
page.setColor(Color.gray);
page.fillRect(randomnumbers[9][1], 0, BARWIDTH, h10);
page.setColor(Color.lightGray);
page.fillRect(randomnumbers[10][1], 0, BARWIDTH, h11);
page.setColor(Color.darkGray);
page.fillRect(randomnumbers[11][1], 0, BARWIDTH, h12);
page.setColor(Color.red);
page.fillRect(randomnumbers[12][1], 0, BARWIDTH, h13);
page.setColor(Color.yellow);
page.fillRect(randomnumbers[13][1], 0, BARWIDTH, h14);
page.setColor(Color.blue);
page.fillRect(randomnumbers[14][1], 0, BARWIDTH, h15);
private class SortListener implements ActionListener
public void actionPerformed (ActionEvent event)
int min;
int temp1, temp2;
while (index < randomnumbers.length)
min = index;
scan = index + 1;
System.out.println("Scan="+scan);
while (scan < randomnumbers.length)
if (randomnumbers[scan][0] < randomnumbers[min][0])
min = scan;
System.out.println("Minimum: "+randomnumbers[min][0]+" Minimum Address: "+ min);
temp1 = randomnumbers[min][0];
temp2 = randomnumbers[min][1];
randomnumbers[min][0] = randomnumbers[index][0];
randomnumbers[min][1] = randomnumbers[index][1];
randomnumbers[index][0] = temp1;
randomnumbers[index][1] = temp2;
scan ++;
index++;
repaint();
} -
Need some help with a remove function
Design and code a program that will maintain a list of product names. Use a String type to represent the product name and an array of strings to implement the list. Your program must implement the following methods:
Add a product to the list
Remove a product from the list
Display then entire list
Find out if a particular product is on the list.
You need to create a command command loop with a menu() function. The program must continue asking for input until the user stops.
This is the assignment and this is what I have so far. I need some help writing the remove function.
Thanks
* Title: SimpleSearchableList.java
* Description: this example will show a reasonably efficient and
* simple algorithm for rearranging the value in an array
* in ascending order.
public class SimpleSearchableList {
private static String[] List = new String[25]; //These variables (field variables)
private static int Size; //are common to the entire class, but unavailable
//except to the methods of the class...
public static void main(String[] args)
String Cmd;
for(;;) {
Menu();
System.out.print("Command: ");
Cmd = SimpleIO.inputString();
if(Cmd.equals("Quit"))
break;
else if(Cmd.equals("Fill"))
FillList();
else if(Cmd.equals("Search"))
SearchList();
else if(Cmd.equals("Show"))
ShowList();
else if(Cmd.equals("Remove"))
Remove();
//Tells you what you can do...
public static void Menu()
System.out.println("Choices..................................");
System.out.println("\tFill to Enter Product");
System.out.println("\tShow to Show Products");
System.out.println("\tSearch to Search for Product");
System.out.println("\tRemove a Product");
System.out.println("\tQuit");
System.out.println(".........................................");
//This method will allow the user to fill an array with values...
public static void FillList()
int Count;
System.out.println("Type Stop to Stop");
for(Count = 0 ; Count < List.length ; Count++)
System.out.print("Enter Product: ");
List[Count] = SimpleIO.inputString();
if(List[Count].equals("Stop"))
break;
Size = Count;
//This method will rearrange the values in the array so that
// go from smallest to largest (ascending) order...
public static void SearchList()
String KeyValue;
boolean NotFoundFlag;
int Z;
System.out.println("Enter Product Names Below, Stop To Quit");
while(true)
System.out.print("Enter: ");
KeyValue = SimpleIO.inputString();
if(KeyValue.equals("Stop")) //Note the use of a method for testing
break; // for equality...
NotFoundFlag = true; //We'll assume the negative
for(Z = 0 ; Z < Size ; Z++)
if(List[Z].equals(KeyValue)) {
NotFoundFlag = false; //If we fine the name, we'll reset the flag
System.out.println(List[Z] + " was found");
if(NotFoundFlag)
System.out.println(KeyValue + " was not found");
//This method will display the contents of the array...
public static void ShowList()
int Z;
for(Z = 0 ; Z < Size ; Z++)
System.out.println("Product " + (Z+1) + " = " + List[Z]);
public static void Remove()
}I need help removing a product from the arrayYes. So what's your problem?
"Doctor, I need help."
"What's wrong?"
"I need help!"
Great.
By the way, you can't remove anything from an array. You'll have to copy the remaining stuff into a new one, or maybe maintain a list of "empty" slots. Or null the slots and handle that. The first way will be the easiest though. -
Need some hints on using dbms_crypto
Hello,
I need some hints on using the dbms_crypto package to generate some password for the OID userpassword attribute. The passwordstring is stored in a format {CRYPT}dasdasdawdww, {SHA}jfsklefjskldjkdlkldf, {MD4}dfdsfgsdgdfewwe or {MD5}fsdfsdadsgdfg where the keyword in the curly brackets describes the encryption methods. I think CRYPT means DES, SHA means SHA-1.
The key for the DES encryption for UNIX password authentification is in the first 2 letters of the encrypted string. I wanna have an encryption function which encrypts the clear type passwords in the right format like this perl script:
#!/bin/perl
print crypt($ARGV[0],"HS");
#: crypt.pl Test123 # program fetch
HSF0Sx2zdrLoQ
Regards
HolgerHello,
meanwhile I made some investigations on the Problem
I tried this code:
DECLARE
input_string VARCHAR2 (200) := 'Test123';
output_string VARCHAR2 (200);
encrypted_raw RAW (2000); -- stores encrypted binary text
decrypted_raw RAW (2000); -- stores decrypted binary text
num_key_bytes NUMBER := 256/8; -- key length 256 bits (32 bytes)
key_bytes_raw RAW (32); -- stores 256-bit encryption key
encryption_type PLS_INTEGER := -- total encryption type
DBMS_CRYPTO.ENCRYPT_DES
+ DBMS_CRYPTO.CHAIN_CBC
+ DBMS_CRYPTO.PAD_PKCS5;
BEGIN
DBMS_OUTPUT.PUT_LINE ( 'Original string: ' || input_string);
key_bytes_raw := UTL_I18N.STRING_TO_RAW ( 'HS' );
encrypted_raw := DBMS_CRYPTO.ENCRYPT
src => UTL_I18N.STRING_TO_RAW (input_string, 'AL32UTF8'
typ => encryption_type,
key => key_bytes_raw
-- The encrypted value "encrypted_raw" can be used here
DBMS_OUTPUT.PUT_LINE ( 'Encrypted string: ' || encrypted_raw);
decrypted_raw := DBMS_CRYPTO.DECRYPT
src => encrypted_raw,
typ => encryption_type,
key => key_bytes_raw
DBMS_OUTPUT.PUT_LINE ('Decrypted string: ' || UTL_I18N.RAW_TO_CHAR (decr
ypted_raw, 'AL32UTF8'));
DBMS_OUTPUT.PUT_LINE ('Encrypted Char string: ' || UTL_I18N.RAW_TO_CHAR
(encrypted_raw, 'AL32UTF8'));
END;
/and got these error messages:
ERROR at line 1:
ORA-28234: key length too short
ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 3
ORA-06512: at "SYS.DBMS_CRYPTO", line 10
ORA-06512: at line 15In the next try:
DECLARE
input_string VARCHAR2 (200) := 'Test123';
output_string VARCHAR2 (200);
encrypted_raw RAW (2000); -- stores encrypted binary text
decrypted_raw RAW (2000); -- stores decrypted binary text
num_key_bytes NUMBER := 256/8; -- key length 256 bits (32 bytes)
key_bytes_raw RAW (32); -- stores 256-bit encryption key
encryption_type PLS_INTEGER := -- total encryption type
DBMS_CRYPTO.ENCRYPT_DES
+ DBMS_CRYPTO.CHAIN_CBC
+ DBMS_CRYPTO.PAD_PKCS5;
BEGIN
DBMS_OUTPUT.PUT_LINE ( 'Original string: ' || input_string);
key_bytes_raw := UTL_I18N.STRING_TO_RAW ( 'HS12345678901234' );
encrypted_raw := DBMS_CRYPTO.ENCRYPT
src => UTL_I18N.STRING_TO_RAW (input_string, 'AL32UTF8'
typ => encryption_type,
key => key_bytes_raw
-- The encrypted value "encrypted_raw" can be used here
DBMS_OUTPUT.PUT_LINE ( 'Encrypted string: ' || encrypted_raw);
decrypted_raw := DBMS_CRYPTO.DECRYPT
src => encrypted_raw,
typ => encryption_type,
key => key_bytes_raw
DBMS_OUTPUT.PUT_LINE ('Decrypted string: ' || UTL_I18N.RAW_TO_CHAR (decr
ypted_raw, 'AL32UTF8'));
DBMS_OUTPUT.PUT_LINE ('Encrypted Char string: ' || UTL_I18N.RAW_TO_CHAR
(encrypted_raw, 'AL32UTF8'));
END;
/I got some results which have nothing in common with the perl script:
Original string: Test123
Encrypted string: DE5668CD7762074C
Decrypted string: Test123
Encrypted Char string: ?h?bL
PL/SQL procedure successfully completed.Come to think of it I doubt if DBMS_CRYPTO is the right way to solve my problem. Any further hints?
Regards Holger
Maybe you are looking for
-
How to get Request Variables in Variables-View
while editing a jsp-page i always can see the "Session Variables" in variables-view (left down corner of eclipse above tag libraries). also while working with forms i can see all available form variables for the as "Page Variables". but what i really
-
ITunes 10.5.3.3 "You must log in to the proxy server" error
Hi, I recently upgraded my iTunes to v10.5.3.3 running on a Windows 7 machine at work. I have had no issues with previous versions, but this new version occasionally gives me the error below: I can start iTunes without a problem, when I go to the sto
-
How to pass an IN argument of object type from VB
I need to call a PL/SQL function in Oracle 8.1.6 from VB. One of the IN arguments is an object type (TYPE). How would I instantiate the variable of Oracle object type on VB side so that it can be passed to the Oracle? Thank you
-
Reg: navigation from tree node to page
Hi plz suggest me form where should i start. I have similar use case as given in this link http://jdevadf.oracle.com/adf-richclient-demo/faces/index.jspx left side i have tree and right side corresponding pages.Whenever i click on tree node correspon
-
Delete passwords in Safari 6?
The new pane in Prefs in Safari lists some URL; usersames, passwords. But it seems impossible to delete these, individually, or as a whole. WHen I click ok in the Warning-window. Nothing more is happening. How can one get rid of this?