Problem making jar..pls see the code.

i have some class files in a folder.
i created a batch file for making jar.
and when i copy this jar file somewhere and write another batch file to run my java application its showing noclassfound error?.
pls see the code below and tell me where did i go wrong?
batch file making jar. 1
jar cvf SpectrobesUploadSimulator.jar *.class
pausebatch file to run the application 2
java SpectrobesSimulator
pausethe batch file 2 will run if i have the classes in the same directory but when i remove the classes and put the jar its not working.

i gave the classpaths also
set CLASSPATH=$CLASSPATH:.:Spectrobes.jar
java SpectrobesSimulator
pause

Similar Messages

  • How to create an audit trail file and what is it ( pls see the code)

    All my System.out.println statements , should be printed in an audit file , instead of printing to a console .
    How and where in the program , i should create a file and how should i write System.out.println statements output to it .
    Pls help me with the code .
    //Start the main method
         public static void main(String[] args){
              if(!(args.length == 3 || args.length == 4))
                   System.out.println("Usage: java Load_data @baseyr @rateyr @caseID [@infile]");
                   System.exit(1);
              String baseYr = args[0];
              String rateYr = args[1];
              String param3 = args[2];
              System.out.println("The base year is :"+baseYr);
              System.out.println("The rate year is :"+rateYr);
              if(param3.compareToIgnoreCase("max") == 0)
                   caseID=25;
                   System.out.println("The CaseID begins at :"+caseID);
              else if(param3.compareToIgnoreCase("one") == 0)
                   System.out.println("Warning : I am assuming the CaseID as 1");
                   //caseID=1;
              inFile = (args.length == 4) ? args[3] : "C\\UDS_YYYY.txt";     
            System.out.println("The Input file we are using is :"+inFile);
              goodOutFile = "C:/Documents and Settings/Desktop/Program/GOOD_LOAD.txt";
              badOutFile = "C:/Documents and Settings/Desktop/Program/BAD_LOAD.txt";
              inFormat = "C:/Documents and Settings/Desktop/Program/FORMAT.csv";
    //Here I call the Load_data method.
              new Load_data();
              System.out.println("The number of records written to good O/P FIle :" +goodRecord);
              System.out.println("The number of records written to bad O/P FIle :" +badRecord);
              System.out.println("")
    }

    1sai wrote:
    However, a better choice would be to use log4j which support rolling log files and more control over what output goes where in what format.
    Can U pls explain this ,or where i can learn abt this .
    Thank UTry clicking on the link BigDaddyLoveHandles provided you in the previous reply.
    Your hands must get tired with your hiney sitting on them all day, huh?

  • I had a big problem i scrape the gift card hard and i cant see the code what should i do??, i had a big problem i scrape the gift card hard and i cant see the code what should i do??

    i have a problem i scrape the gift card hard and i cant see the code what should i do??

    iTunes Store: Invalid, inactive, or illegible codes

  • Hi guys, pls help! iMovie crashes sometime on tiltes or transitions or export, pls see the error report export below, thnx for looking.

    Hi guys, pls help! iMovie crashes sometime on tiltes or transitions or export, pls see the error report export below, thnx for looking.
    Process:         iMovie [239]
    Path: /Applications/iMovie.app/Contents/MacOS/iMovie
    Identifier:      com.apple.iMovie8
    Version:         8.0.6 (821)
    Build Info:      iMovieApp-8210000~16
    Code Type:       X86 (Native)
    Parent Process:  launchd [117]
    Date/Time:       2012-12-10 16:05:48.659 +0000
    OS Version:      Mac OS X 10.7.4 (11E53)
    Report Version:  9
    Interval Since Last Report:          413560 sec
    Crashes Since Last Report:           1
    Per-App Interval Since Last Report:  231215 sec
    Per-App Crashes Since Last Report:   1
    Anonymous UUID: C896B72D-2C04-428D-A58E-137974A49295
    Crashed Thread:  0 Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: 0x000000000000000d, 0x0000000000000000
    VM Regions Near 0:
    --> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL /Applications/iMovie.app/Contents/MacOS/iMovie
    __TEXT 0000000000001000-0000000000335000 [ 3280K] r-x/rwx SM=COW /Applications/iMovie.app/Contents/MacOS/iMovie
    Application Specific Information:
    objc[239]: garbage collection is OFF
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 ???                                   0x0ceb9398 0 + 216765336
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0 libsystem_kernel.dylib            0x96222b5e __select_nocancel + 10
    1 libdispatch.dylib                       0x9ceabcc9 _dispatch_mgr_invoke + 642
    2 libdispatch.dylib                       0x9ceaa85f _dispatch_mgr_thread + 53
    Thread 2:: com.apple.NSURLConnectionLoader
    0 libsystem_kernel.dylib            0x96220c22 mach_msg_trap + 10
    1 libsystem_kernel.dylib            0x962201f6 mach_msg + 70
    2 com.apple.CoreFoundation            0x9683d9da __CFRunLoopServiceMachPort + 170
    3 com.apple.CoreFoundation            0x96846b04 __CFRunLoopRun + 1428
    4 com.apple.CoreFoundation            0x968461dc CFRunLoopRunSpecific + 332
    5 com.apple.CoreFoundation            0x96846088 CFRunLoopRunInMode + 120
    6 com.apple.Foundation           0x906ed0c4 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 378
    7 com.apple.Foundation           0x906e0e25 -[NSThread main] + 45
    8 com.apple.Foundation           0x906e0dd5 __NSThread__main__ + 1582
    9 libsystem_c.dylib                     0x9b92aed9 _pthread_start + 335
    10 libsystem_c.dylib                    0x9b92e6de thread_start + 34
    Thread 3:: QTKit: QTVisualContextImageProviderWorkLoop
    0 libsystem_kernel.dylib            0x96220c22 mach_msg_trap + 10
    1 libsystem_kernel.dylib            0x962201f6 mach_msg + 70
    2 com.apple.CoreFoundation            0x9683d9da __CFRunLoopServiceMachPort + 170
    3 com.apple.CoreFoundation            0x96846b04 __CFRunLoopRun + 1428
    4 com.apple.CoreFoundation            0x968461dc CFRunLoopRunSpecific + 332
    5 com.apple.CoreFoundation            0x96856f01 CFRunLoopRun + 129
    6 com.apple.QTKit                      0x94a96fde QTVisualContextImageProviderWorkLoop + 124
    7 libsystem_c.dylib                     0x9b92aed9 _pthread_start + 335
    8 libsystem_c.dylib                     0x9b92e6de thread_start + 34
    Thread 4:
    0 libsystem_kernel.dylib            0x96220c22 mach_msg_trap + 10
    1 libsystem_kernel.dylib            0x962201f6 mach_msg + 70
    2 com.apple.CoreFoundation            0x9683d9da __CFRunLoopServiceMachPort + 170
    3 com.apple.CoreFoundation            0x96846b04 __CFRunLoopRun + 1428
    4 com.apple.CoreFoundation            0x968461dc CFRunLoopRunSpecific + 332
    5 com.apple.CoreFoundation            0x96856f01 CFRunLoopRun + 129
    6 com.apple.FWAVCPrivate              0x02404763 _ZN3AVSL27AVCVideoServicesThreadStartEPNS_28AVCVideoServicesThreadParamsE + 254
    7 libsystem_c.dylib                     0x9b92aed9 _pthread_start + 335
    8 libsystem_c.dylib                     0x9b92e6de thread_start + 34
    Thread 5:: WebCore: LocalStorage
    0 libsystem_kernel.dylib            0x9622283e __psynch_cvwait + 10
    1 libsystem_c.dylib                     0x9b92ee21 _pthread_cond_wait + 827
    2 libsystem_c.dylib                     0x9b8df42c pthread_cond_wait$UNIX2003 + 71
    3 com.apple.JavaScriptCore              0x93f3be81 ***::ThreadCondition::timedWait(***::Mutex&, double) + 81
    4 com.apple.WebCore               0x9ade5501 ***::MessageQueue<WebCore::LocalStorageTask>::waitForMessage() + 135
    5 com.apple.WebCore               0x9ade5454 WebCore::LocalStorageThread::threadEntryPoint() + 74
    6 com.apple.WebCore               0x9ade53b1 WebCore::LocalStorageThread::threadEntryPointCallback(void*) + 17
    7 libsystem_c.dylib                     0x9b92aed9 _pthread_start + 335
    8 libsystem_c.dylib                     0x9b92e6de thread_start + 34
    Thread 6:
    0 libsystem_kernel.dylib            0x9622283e __psynch_cvwait + 10
    1 libsystem_c.dylib                     0x9b92ee78 _pthread_cond_wait + 914
    2 libsystem_c.dylib                     0x9b92ef7b pthread_cond_timedwait_relative_np + 47
    3 com.apple.CoreServices.CarbonCore   0x942693a7 TSWaitOnConditionTimedRelative + 178
    4 com.apple.CoreServices.CarbonCore   0x9426911d TSWaitOnSemaphoreCommon + 490
    5 com.apple.CoreServices.CarbonCore   0x94268f2e TSWaitOnSemaphoreRelative + 24
    6 com.apple.QuickTimeComponents.component      0x916b4516 0x910c8000 + 6210838
    7 libsystem_c.dylib                     0x9b92aed9 _pthread_start + 335
    8 libsystem_c.dylib                     0x9b92e6de thread_start + 34
    Thread 7:: jpegdecompress_MPLoop
    0 libsystem_kernel.dylib            0x9622283e __psynch_cvwait + 10
    1 libsystem_c.dylib                     0x9b92ee78 _pthread_cond_wait + 914
    2 libsystem_c.dylib                     0x9b8d682a pthread_cond_wait + 48
    3 com.apple.QuickTimeComponents.component      0x917d6553 0x910c8000 + 7398739
    4 libsystem_c.dylib                     0x9b92aed9 _pthread_start + 335
    5 libsystem_c.dylib                     0x9b92e6de thread_start + 34
    Thread 8:: JavaScriptCore::Marking
    0 libsystem_kernel.dylib            0x9622283e __psynch_cvwait + 10
    1 libsystem_c.dylib                     0x9b92ee21 _pthread_cond_wait + 827
    2 libsystem_c.dylib                     0x9b8df42c pthread_cond_wait$UNIX2003 + 71
    Thread 9:: JavaScriptCore::BlockFree
    0 libsystem_kernel.dylib            0x9622283e __psynch_cvwait + 10
    1 libsystem_c.dylib                     0x9b92ee21 _pthread_cond_wait + 827
    2 libsystem_c.dylib                     0x9b8df3e0 pthread_cond_timedwait$UNIX2003 + 70
    3 com.apple.JavaScriptCore              0x93f3becc ***::ThreadCondition::timedWait(***::Mutex&, double) + 156
    4 com.apple.JavaScriptCore              0x94189c33 JSC::Heap::blockFreeingThreadMain() + 323
    5 com.apple.JavaScriptCore              0x94189c6f JSC::Heap::blockFreeingThreadStartFunc(void*) + 15
    6 libsystem_c.dylib                     0x9b92aed9 _pthread_start + 335
    7 libsystem_c.dylib                     0x9b92e6de thread_start + 34
    Thread 10:
    0 libsystem_kernel.dylib            0x9622283e __psynch_cvwait + 10
    1 libsystem_c.dylib                     0x9b92ee78 _pthread_cond_wait + 914
    2 libsystem_c.dylib                     0x9b92ef7b pthread_cond_timedwait_relative_np + 47
    3 com.apple.CoreServices.CarbonCore   0x942693a7 TSWaitOnConditionTimedRelative + 178
    4 com.apple.CoreServices.CarbonCore   0x9426911d TSWaitOnSemaphoreCommon + 490
    5 com.apple.CoreServices.CarbonCore   0x94268f2e TSWaitOnSemaphoreRelative + 24
    6 com.apple.CoreServices.CarbonCore   0x9429be53 AIOFileThread(void*) + 1019
    7 libsystem_c.dylib                     0x9b92aed9 _pthread_start + 335
    8 libsystem_c.dylib                     0x9b92e6de thread_start + 34
    Thread 11:
    0 libsystem_kernel.dylib            0x9622302e __workq_kernreturn + 10
    1 libsystem_c.dylib                     0x9b92cccf _pthread_wqthread + 773
    2 libsystem_c.dylib                     0x9b92e6fe start_wqthread + 30
    Thread 12:
    0 libsystem_kernel.dylib            0x9622302e __workq_kernreturn + 10
    1 libsystem_c.dylib                     0x9b92cccf _pthread_wqthread + 773
    2 libsystem_c.dylib                     0x9b92e6fe start_wqthread + 30
    Thread 13:
    0 libsystem_kernel.dylib            0x9622302e __workq_kernreturn + 10
    1 libsystem_c.dylib                     0x9b92cccf _pthread_wqthread + 773
    2 libsystem_c.dylib                     0x9b92e6fe start_wqthread + 30
    Thread 14:: JavaScriptCore::Marking
    0 libsystem_kernel.dylib            0x9622283e __psynch_cvwait + 10
    1 libsystem_c.dylib                     0x9b92ee21 _pthread_cond_wait + 827
    2 libsystem_c.dylib                     0x9b8df42c pthread_cond_wait$UNIX2003 + 71
    Thread 15:: JavaScriptCore::BlockFree
    0 libsystem_kernel.dylib            0x9622283e __psynch_cvwait + 10
    1 libsystem_c.dylib                     0x9b92ee21 _pthread_cond_wait + 827
    2 libsystem_c.dylib                     0x9b8df3e0 pthread_cond_timedwait$UNIX2003 + 70
    3 com.apple.JavaScriptCore              0x93f3becc ***::ThreadCondition::timedWait(***::Mutex&, double) + 156
    4 com.apple.JavaScriptCore              0x94189c33 JSC::Heap::blockFreeingThreadMain() + 323
    5 com.apple.JavaScriptCore              0x94189c6f JSC::Heap::blockFreeingThreadStartFunc(void*) + 15
    6 libsystem_c.dylib                     0x9b92aed9 _pthread_start + 335
    7 libsystem_c.dylib                     0x9b92e6de thread_start + 34
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x00000001  ebx: 0xbfffe5ac  ecx: 0x00000da0  edx: 0x0ce724a8
    edi: 0x0e0f0000  esi: 0x0cebf1b4  ebp: 0x0cec9d00  esp: 0x0ce72408
    ss: 0x00000023  efl: 0x00010216  eip: 0x0ceb9398   cs: 0x0000001b
    ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
    cr2: 0x1d13b878
    Logical CPU: 1
    Binary Images:
    0x1000 -   0x334ffc  com.apple.iMovie8 (8.0.6 - 821) <CD0B8453-4663-7F8C-EFF4-926EAB254B2A> /Applications/iMovie.app/Contents/MacOS/iMovie
    0x3d2000 -   0x3e0fff  com.apple.opengl (1.7.7 - 1.7.7) <2D362F15-5EA6-37B6-9BCB-58F2C599ACDA> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x3e8000 -   0x421fe3  com.apple.MPEG2TSDecoder (1.0 - 84) <75EC884A-7300-87B1-7E3A-A2B156BD4D79> /Applications/iMovie.app/Contents/Frameworks/Mpeg2TsDecoder.framework/Versions/ A/Mpeg2TsDecoder
    0x459000 -   0x47afff  com.apple.iWidgets (1.0.0 - 24) /Applications/iMovie.app/Contents/Frameworks/iWidgets.framework/Versions/A/iWid gets
    0x48d000 -   0x530ff4  com.apple.DotMacKit (47 - 3.0.2L) <5C3FF2BA-7124-3DF9-B197-19DD4D543798> /Applications/iMovie.app/Contents/Frameworks/DotMacKit.framework/Versions/A/Dot MacKit
    0x596000 -   0x597ff7  com.apple.Helium (3.0.0 - 157) <22FD7CB4-024E-3065-EB67-262ABF99636E> /Applications/iMovie.app/Contents/Frameworks/Helium.framework/Versions/A/Helium
    0x59d000 -   0x59efff +com.bensyverson.dvmatte.autopicker (1.0 - 1.0) <5FB2D0C9-D6D7-036E-F739-DA7CE5BAD36E> /Applications/iMovie.app/Contents/Frameworks/DVMAutopick.framework/Versions/A/D VMAutopick
    0x5a4000 -   0x5d2fe7  libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <0D8984D3-BFCF-35A7-AA71-BEDC92126B7E> /usr/lib/libSystem.B.dylib
    0x5df000 -  0x1074ff6  com.apple.AppKit (6.7.3 - 1138.47) <D8CD06D7-F18C-39BE-BC68-B343F87F0469> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x154e000 - 0x1811fff  com.apple.security (7.0 - 55148.1) <77754898-4FCD-3CA3-9339-F1058C852806> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x1909000 - 0x1abdff3  libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <6AD14A51-AEA8-3732-B07B-DEA37577E13A> /usr/lib/libicucore.A.dylib
    0x1b3c000 - 0x1b9afff  com.apple.coreui (1.2.2 - 165.10) <C6B099D6-7F02-3971-99B9-E415308959CF> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x1bc9000 - 0x1bcdff3  libsystem_network.dylib (??? - ???) <62EBADDA-FC72-3275-AAB3-5EDD949FEFAF> /usr/lib/system/libsystem_network.dylib
    0x1bd4000 - 0x1be2ff7  libxar-nossl.dylib (??? - ???) <5BF4DA8E-C319-354A-967E-A0C725DC8BA3> /usr/lib/libxar-nossl.dylib
    0x1bea000 - 0x1c15fff  com.apple.GSS (2.2 - 2.0) <2C468B23-FA87-30B5-B9A6-8C5D1373AA30> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x1c2b000 - 0x1c74ff7  libGLU.dylib (??? - ???) <5EE0B644-FAD6-3E3C-A380-9B0CDA0B6432> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x1c82000 - 0x1c87ffd  libGFXShared.dylib (??? - ???) <1CA9B41B-2C61-38F8-ABAC-1D5511478F5C> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
    0x1c8d000 - 0x1c9afff  libGL.dylib (??? - ???) <30E6DED6-0213-3A3B-B2B3-310E33301CCB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x1cab000 - 0x1ce7ffa  libGLImage.dylib (??? - ???) <504E7865-571E-38B4-A84A-D7B513AC84F5> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
    0x1cef000 - 0x1cf0ffd  libCVMSPluginSupport.dylib (??? - ???) <22B85645-AA98-372B-BB55-55DCCF0EC716> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
    0x1cf5000 - 0x1cf8ffd  libCoreVMClient.dylib (??? - ???) <361CCFAF-8565-383F-915F-0B059C793E42> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
    0x1cfd000 - 0x1d26ffe  com.apple.opencl (1.50.69 - 1.50.69) <2601993F-F3B3-3737-91AE-4A5795C52CD5> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x1d32000 - 0x1ddfff7  libcrypto.0.9.7.dylib (0.9.7 - compatibility 0.9.7) <7B6DB792-C9E5-3772-8734-8D0052757B8C> /usr/lib/libcrypto.0.9.7.dylib
    0x1e24000 - 0x1f56fe4 com.apple.Helium.HeliumRender (2.0.0 - 157) <DEA355F6-22DC-68D4-EA7A-EE06C0D7F150> /Applications/iMovie.app/Contents/Frameworks/Helium.framework/Versions/A/Framew orks/HeliumRender.framework/Versions/A/HeliumRender
    0x1faf000 - 0x1faffff  libmx.A.dylib (2026.0.0 - compatibility 1.0.0) <859B5BCC-B5D9-370F-8B6C-1E2B242D5DCD> /usr/lib/libmx.A.dylib
    0x2400000 - 0x2430ff7  com.apple.FWAVCPrivate (52.47 - 47) <8E724EF3-79D6-3B0D-8A57-6E13DA3EACB5> /System/Library/PrivateFrameworks/FWAVCPrivate.framework/FWAVCPrivate
    0x24b6000 - 0x25adffb libGLProgrammability.dylib (??? - ???) <FA509930-D201-372B-B787-18CBD8477D06> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
    0x25d1000 - 0x25feff8  GLRendererFloat (??? - ???) <70ADE58D-B399-3279-9774-2D5929D5FCB1> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GL RendererFloat
    0x47a5000 - 0x4912ffb  GLEngine (??? - ???) <D73F1031-6DD3-38EB-966B-7A2C9F17F023> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
    0x4946000 - 0x4fd7fe3  libclh.dylib (4.0.3 - 4.0.3) <8A4B12EC-F8F1-3D5E-945D-56467F8F4476> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib
    0x508f000 - 0x5091fff com.apple.AddressBook.LocalSourceBundle (1.4 - 1090) <61BC69A7-F09E-3CD9-A4CD-FAB46898E9DD> /System/Library/Address Book Plug-Ins/LocalSource.sourcebundle/Contents/MacOS/LocalSource
    0x5096000 - 0x5099ffe  com.apple.DirectoryServicesSource (1.4 - 1090) <D9ED3AB9-2F3E-3331-84B5-EDDDBBC1F371> /System/Library/Address Book Plug-Ins/DirectoryServices.sourcebundle/Contents/MacOS/DirectoryServices
    0x5f9b000 - 0x5ff6fff com.apple.AddressBook.CardDAVPlugin (10.7.2 - 200) <8A30F13D-0ED4-32F5-829C-4FECEE3C535D> /System/Library/Address Book Plug-Ins/CardDAVPlugin.sourcebundle/Contents/MacOS/CardDAVPlugin
    0x7612000 - 0x7612fff com.apple.iLMBAppDefPlugin (2.6.3 - 288.3.32) <2DD0403B-5608-3BE8-B005-27F92AC570F4> /Library/Application Support/iLifeMediaBrowser/*/iLMBAppDefPlugin
    0x95c0000 - 0x95c1fff com.apple.iLMBFolderPlugin (2.6.3 - 288.3.32) <D85D3CB7-6A10-3F68-96E9-C9CC5A66255D> /Library/Application Support/iLifeMediaBrowser/*/iLMBFolderPlugin
    0x9672000 - 0x9679ff5  com.apple.iLMBAperturePlugin (2.6.3 - 288.3.32) <5E332CFA-0A13-3C06-AF16-EFCC1FDD2038> /Library/Application Support/iLifeMediaBrowser/*/iLMBAperturePlugin
    0x9680000 - 0x9689ffc com.apple.iLMBFinalCutPlugin (2.6.3 - 288.3.32) <46FDDF4E-4165-3923-B57A-21D38462C472> /Library/Application Support/iLifeMediaBrowser/*/iLMBFinalCutPlugin
    0x968f000 - 0x9692fff com.apple.iLMBGarageBandPlugin (2.6.3 - 288.3.32) <75D95F77-ED1C-31DD-B4D6-BACA044399C3> /Library/Application Support/iLifeMediaBrowser/*/iLMBGarageBandPlugin
    0x9698000 -  0x96a3ff3  com.apple.iLMBiMoviePlugin (2.6.3 - 288.3.32) <583F1438-3B57-3B81-AF28-FB82A82054B5> /Library/Application Support/iLifeMediaBrowser/*/iLMBiMoviePlugin
    0x96aa000 - 0x96bdff7 com.apple.iLMBiPhoto8Plugin (2.6.3 - 288.3.32) <7A31CC42-9752-3B19-B3D2-7435CB7A0D50> /Library/Application Support/iLifeMediaBrowser/*/iLMBiPhoto8Plugin
    0x96c5000 - 0x96cdff3 com.apple.iLMBiPhotoPlugin (2.6.3 - 288.3.32) <845CB0C1-6DF5-3D73-B914-ADCD529DE7E1> /Library/Application Support/iLifeMediaBrowser/*/iLMBiPhotoPlugin
    0x96d4000 - 0x96dcff3 com.apple.iLMBiTunesPlugin (2.6.3 - 288.3.32) <26B31C94-C68B-35D2-976D-53869C819FDD> /Library/Application Support/iLifeMediaBrowser/*/iLMBiTunesPlugin
    0x96e3000 - 0x96e4ff7 com.apple.iLMBMoviesFolderPlugin (2.6.3 - 288.3.32) <046183A4-8B97-3CF4-929B-F73FE64B6276> /Library/Application Support/iLifeMediaBrowser/*/iLMBMoviesFolderPlugin
    0x96e9000 - 0x96ebff8 com.apple.iLMBPhotoBooth2Plugin (2.6.3 - 288.3.32) <96393C47-51C0-3A02-B182-A155B9DBD2A6> /Library/Application Support/iLifeMediaBrowser/*/iLMBPhotoBooth2Plugin
    0x96f0000 - 0x96f1ff7 com.apple.iLMBPhotoBoothPlugin (2.6.3 - 288.3.32) <B033393A-644E-32AB-85C4-77D1B30C0850> /Library/Application Support/iLifeMediaBrowser/*/iLMBPhotoBoothPlugin
    0x9900000 - 0x9a56ff9 com.apple.iLMBAperture31Plugin (2.6.3 - 288.3.32) <F7E40BA5-4DB1-3486-96E8-1106CC60FD48> /Library/Application Support/iLifeMediaBrowser/*/iLMBAperture31Plugin
    0x9a9e000 - 0x9c42ff5 com.apple.iLMBAperturePlugin2012 (2.6.3 - 288.3.32) <44BB86D6-86F9-3877-9137-CDF1DB927554> /Library/Application Support/iLifeMediaBrowser/*/iLMBAperturePlugin2012
    0x9c9c000 - 0x9df5ff9 com.apple.iLMBiPhoto9Plugin (2.6.3 - 288.3.32) <F8C6F271-ED94-35D9-A5A1-0BF62F6FAC27> /Library/Application Support/iLifeMediaBrowser/*/iLMBiPhoto9Plugin
    0x9e3d000 - 0x9fe2ffd com.apple.iLMBiPhotoPlugin2012 (2.6.3 - 288.3.32) <01BA4581-21CB-37B1-A083-5B3A5717F2EC> /Library/Application Support/iLifeMediaBrowser/*/iLMBiPhotoPlugin2012
    0xa03d000 - 0xa0f4ff7  com.apple.iTunesAccess (10.6.3 - 10.6.3) <20F54184-69D0-468A-CEA5-1665192AF5BA> /System/Library/PrivateFrameworks/iTunesAccess.framework/iTunesAccess
    0xaa93000 - 0xaa98fe2  libcldcpuengine.dylib (1.50.69 - compatibility 1.0.0) <864BA467-5F11-3B41-B261-894067B8209E> /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib
    0xaa9f000 - 0xaaa1fff  libCoreFSCache.dylib (??? - ???) <5B141DE1-6FC9-3155-833B-23A447A598AB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache .dylib
    0xaaa9000 - 0xaaa9ffb +cl_kernels (??? - ???) <59153EF5-3CBB-4296-AB67-C8CF34CA39E4> cl_kernels
    0xaec9000 - 0xaecaff0 +cl_kernels (??? - ???) <F13753ED-2573-43F6-A8C3-CBF139AA6CF6> cl_kernels
    0xc1e2000 - 0xc1e6ffb com.apple.audio.AudioIPCPlugIn (1.2.2 - 1.2.2) <D4092467-5BBE-3ED6-A493-7DB1EE8E6686> /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugI n.bundle/Contents/MacOS/AudioIPCPlugIn
    0xc1eb000 - 0xc1f0fff com.apple.audio.AppleHDAHALPlugIn (2.2.0 - 2.2.0f3) <BAD1E0E6-10E6-342C-BEB8-B1706F0CE2CF> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bun dle/Contents/MacOS/AppleHDAHALPlugIn
    0xc4cf000 - 0xc4cfff3 +cl_kernels (??? - ???) <582D73FD-C36E-49B0-849E-06D96A4954C9> cl_kernels
    0xc4ed000 -  0xc4f4ffe com.apple.AppleGVAHW.component (1.0 - 1) <B7C2F235-194D-36F8-8EAC-9A70B5A29B03> /System/Library/QuickTime/AppleGVAHW.component/Contents/MacOS/AppleGVAHW
    0xcc40000 - 0xcc42fff com.apple.podcastproducer.ImageDiffer (1.3 - 245) <004DC137-08A6-3649-BFDB-C882309D6827> /System/Library/Graphics/Quartz Composer Patches/ImageDifferPatch.plugin/Contents/MacOS/ImageDifferPatch
    0xcfe4000 - 0xcfe9ffb com.apple.AppleMPEG2Codec (1.0.2 - 220.1) <A9023E7A-7A60-3EB9-9AB1-AAFC8C87B2C1> /Library/QuickTime/AppleMPEG2Codec.component/Contents/MacOS/AppleMPEG2Codec
    0xdb1b000 - 0xdb33ff2 com.apple.applepixletvideo (1.2.30 - 1.2d30) <72A0B4BD-DB7A-3C7F-ADB9-6D059F7ABA2B> /System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixlet Video
    0xe5c4000 - 0xe5e5fe7 com.apple.AppleIntermediateCodec (2.0 - 542.4) <1999D33E-4FF4-3282-B357-D68A30427FB7> /Library/QuickTime/AppleIntermediateCodec.component/Contents/MacOS/AppleInterme diateCodec
    0xe700000 - 0xe766fff com.apple.AppleProResDecoder (3.0 - 542.6) <262D3868-74C4-38E6-8448-3BEB84721650> /System/Library/QuickTime/AppleProResDecoder.component/Contents/MacOS/AppleProR esDecoder
    0xe797000 - 0xe7d0ff3 com.apple.QuickTimeFireWireDV.component (7.7.1 - 2330) <8C6BCE18-BB4B-3507-AF89-433E582DB4F0> /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTim eFireWireDV
    0xe92a000 - 0xe94ffff com.apple.QuartzComposer.ExtraPatches (4.0 - 236.7) <64765331-E282-397D-8DE7-6BB159782CA2> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/Resources/ExtraPatches.plugin/Contents/MacOS/ExtraPatches
    0xe95f000 - 0xe9abffb com.apple.audio.midi.CoreMIDI (1.8 - 42) <67FE17BA-C921-3D2D-AAC5-B5E9083CE004> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
    0xeb00000 - 0xeb29fff  com.apple.audio.OpenAL (1.5.1 - 1.5.1) <66AB8BA7-6F8A-3D8C-9DAE-D82AF54139BB> /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL
    0xed00000 - 0xed3fff7 com.apple.AppleVAH264HW.component (3.0 - 3.0) <952FB556-4DBA-35E5-9390-0B944801C63A> /System/Library/QuickTime/AppleVAH264HW.component/Contents/MacOS/AppleVAH264HW
    0xef3b000 - 0xf051ff3 com.apple.AppleGVAFramework (2.2.80 - 2.2.80) <D615A7A9-F326-3A95-AAFD-F9AFF8E55517> /System/Library/PrivateFrameworks/AppleGVA.framework/Versions/A/AppleGVA
    0x10f58000 - 0x10f84fff  com.apple.oxygene.layers.iDVDQCPatches (1.0.0 - 602.0.2) <2F6AD71A-EDFB-66DF-ACBD-46617FDB7C0E> /Applications/iMovie.app/Contents/Resources/iDVDQCPatches.plugin/Contents/MacOS /iDVDQCPatches
    0x111eb000 - 0x111efff7 +com.bensyverson.quartzcomposer.dvmatte (1.0 - 1.0) <DC961ABE-200A-E9E3-5CD2-7B98F129D0BF> /Applications/iMovie.app/Contents/Resources/Plugins/dvmatte.plugin/Contents/Mac OS/dvmatte
    0x28217000 - 0x282b6ff7  unorm8_rgba.dylib (1.50.69 - compatibility 1.0.0) <3A06E8EA-0335-348A-BCCB-21C3E94AED31> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_rgba. dylib
    0x2954f000 - 0x295f0ff7  unorm8_bgra.dylib (1.50.69 - compatibility 1.0.0) <7A0427BD-4FB5-3F4E-A7F8-F760AD944283> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_bgra. dylib
    0x70000000 - 0x70141fff  com.apple.audio.units.Components (1.7.2 - 1.7.2) <44C7D574-F577-30B8-B74D-F2EF8A5A282A> /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
    0x8effe000 - 0x8f7a3ffb  com.apple.GeForceGLDriver (7.18.18 - 7.1.8) <106B3686-32B8-3717-AAE1-95313E72034E> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDrive r
    0x8feca000 - 0x8fefcaa7  dyld (195.6 - ???) <60FD3471-A1D7-342E-99A7-3EDECDAEC6EC> /usr/lib/dyld
    0x90005000 - 0x90680fe5  com.apple.CoreAUC (6.16.11 - 6.16.11) <E52E2D54-138B-3F44-AA2C-309FB876DF6A> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
    0x90681000 - 0x9098bff3  com.apple.Foundation (6.7.2 - 833.25) <4C52ED74-A1FD-3087-A2E1-035AB3CF9610> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x9098c000 - 0x90a5cffb  com.apple.ImageIO.framework (3.1.2 - 3.1.2) <94798A2B-4C7A-30EA-9920-283451BDB9FA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
    0x90a97000 - 0x90ad9ff7  com.apple.CoreMedia (1.0 - 705.78) <D88AC852-8844-3B73-81C8-DF605F00AB40> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
    0x90ada000 - 0x90ae2ff3  libunwind.dylib (30.0.0 - compatibility 1.0.0) <E8DA8CEC-12D6-3C8D-B2E2-5D567C8F3CB5> /usr/lib/system/libunwind.dylib
    0x90ae3000 - 0x90b35ff3  com.apple.ImageCaptureCore (3.0.3 - 3.0.3) <9C6A4134-0D1D-323F-BD07-1D88D258A7B4> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCo re
    0x90b3c000 - 0x90b44fff  com.apple.DiskArbitration (2.4.1 - 2.4.1) <28D5D8B5-14E8-3DA1-9085-B9BC96835ACF> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x90b45000 - 0x90b7bff4  com.apple.LDAPFramework (3.2 - 120.2) <39DF72E3-CDAF-33CC-B2DA-67B8891A5CFF> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x90b7c000 - 0x90c64fff  libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <1841196F-68B5-309F-8ED1-6714B1DFEC83> /usr/lib/libxml2.2.dylib
    0x90cbf000 - 0x90d4cfe7  libvMisc.dylib (325.4.0 - compatibility 1.0.0) <F2A8BBA3-6431-3CED-8CD3-0953410B6F96> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
    0x90d4d000 - 0x90d58ff3  libCSync.A.dylib (600.0.0 - compatibility 64.0.0) <EDA0F56F-CB2C-30BB-940D-C6A25B73C717> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x90d59000 - 0x90d8fff7  com.apple.AE (527.7 - 527.7) <7BAFBF18-3997-3656-9823-FD3B455056A4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
    0x90d90000 - 0x90e08ff8  com.apple.CorePDF (3.1 - 3.1) <0074267B-F74A-30FC-8508-A14C821F0771> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF
    0x90e14000 - 0x90e24ff7  libCRFSuite.dylib (??? - ???) <94E040D2-2769-359A-A21B-DB85FCB73BDC> /usr/lib/libCRFSuite.dylib
    0x90e25000 - 0x90e42fff  libresolv.9.dylib (46.1.0 - compatibility 1.0.0) <2870320A-28DA-3B44-9D82-D56E0036F6BB> /usr/lib/libresolv.9.dylib
    0x90e9d000 - 0x90f80ff7  libcrypto.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <BD913D3B-388D-33AE-AA5E-4810C743C28F> /usr/lib/libcrypto.0.9.8.dylib
    0x90f81000 - 0x90f86ff7  libmacho.dylib (800.0.0 - compatibility 1.0.0) <943213F3-CC9B-328E-8A6F-16D85C4274C7> /usr/lib/system/libmacho.dylib
    0x90fa2000 - 0x90feaff7  com.apple.SystemConfiguration (1.11.3 - 1.11) <68B92FEA-F754-3E7E-B5E6-D512E26144E7> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x90feb000 - 0x90ff3ff5  libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <BB0C7B49-600F-3551-A460-B7E36CA4C4A4> /usr/lib/system/libcopyfile.dylib
    0x90ff4000 - 0x90ffdffb  com.apple.aps.framework (2.1 - 2.1) <498C8125-A32E-3554-B4B1-8F416623D45C> /System/Library/PrivateFrameworks/ApplePushService.framework/Versions/A/ApplePu shService
    0x9102d000 - 0x9104fff8  com.apple.PerformanceAnalysis (1.11 - 11) <453463FF-7C42-3526-8C96-A9971EE07154> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/Perf ormanceAnalysis
    0x910c7000 - 0x910c7fff  com.apple.Accelerate (1.7 - Accelerate 1.7) <4192CE7A-BCE0-3D3C-AAF7-6F1B3C607386> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x910c8000 - 0x91e18ffb  com.apple.QuickTimeComponents.component (7.7.1 - 2330) <91F3ABCA-3BB8-3B01-AA3F-37B3D798755A> /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
    0x91e1f000 - 0x91e87ff3  com.apple.ISSupport (1.9.8 - 56) <59225A65-41C1-35CA-9F29-229AC427B728> /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
    0x91e88000 - 0x91f1eff7  com.apple.LaunchServices (480.33 - 480.33) <5A4BF529-391E-3987-940E-287ACE56078A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
    0x91f1f000 - 0x92265fff  com.apple.MediaToolbox (1.0 - 705.78) <E6990E4A-B562-3051-86A6-B39E040BF766> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbo x
    0x92323000 - 0x92375ff7  libFontRegistry.dylib (??? - ???) <96E9602C-DFD3-3021-8090-60228CC80D26> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x92376000 - 0x9238bff7  com.apple.ImageCapture (7.0.1 - 7.0.1) <1C8933A9-C7C6-36E9-9D8B-0EF08ACA3315> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
    0x9238d000 - 0x92395ff3  liblaunch.dylib (392.38.0 - compatibility 1.0.0) <D7F6E875-263A-37B5-B403-53F76710538C> /usr/lib/system/liblaunch.dylib
    0x923ba000 - 0x923dbfff  com.apple.framework.internetaccounts (1.2 - 3) <5A5099CB-8F73-3425-BAB1-FF6CD624143C> /System/Library/PrivateFrameworks/InternetAccounts.framework/Versions/A/Interne tAccounts
    0x923dc000 - 0x92463fff  com.apple.print.framework.PrintCore (7.1 - 366.3) <EEC03CAB-7F79-3931-87FE-4DF0B767BF47> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
    0x92464000 - 0x92481ff3  com.apple.openscripting (1.3.3 - ???) <33713C0B-B7D5-37AA-87DB-2727FDCC8007> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
    0x92635000 - 0x92669ff8  libssl.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <567E922C-E64F-321B-9A47-6B18BF481625> /usr/lib/libssl.0.9.8.dylib
    0x9266a000 - 0x92697ff9  com.apple.securityinterface (5.0 - 55022.4) <B59D9B2A-7FB8-32EC-B8D9-6D4DE76508F7> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
    0x92698000 - 0x926e9ff9  com.apple.QuickLookFramework (3.2 - 500.16) <725FAE01-1597-38C7-841D-D9D83358921E> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
    0x926ea000 - 0x926ecffb  libRadiance.dylib (??? - ???) <4721057E-5A1F-3083-911B-200ED1CE7678> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x92713000 - 0x92b07ffb  com.apple.VideoToolbox (1.0 - 705.78) <BE955448-F79F-3136-A4AF-6EDBAFEDD9C2> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbo x
    0x92b59000 - 0x92cbbffb  com.apple.QuartzCore (1.7 - 270.4) <6BC84C60-1003-3008-ABE4-779EF7B4F524> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x92e04000 - 0x92e73fff  com.apple.Heimdal (2.2 - 2.0) <2E1B8779-36D4-3C62-A67E-0034D77D7707> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x92e74000 - 0x92edcff7  libc++.1.dylib (28.1.0 - compatibility 1.0.0) <FE3304C5-C000-3DA0-9E53-0E4CA074B73B> /usr/lib/libc++.1.dylib
    0x92edd000 - 0x92ee1ffa  libcache.dylib (47.0.0 - compatibility 1.0.0) <56256537-6538-3522-BCB6-2C79DA6AC8CD> /usr/lib/system/libcache.dylib
    0x92ef1000 - 0x92ef9fff  com.apple.AOSNotification (1.4.0 - 504.1) <DB0B29CD-8

    Hi,
    Please help.
    How did you manage to resolve this. I have similar issues.
    I have SAP_ALL and can run the reports without problems but users have error message
    general exception in deploy transformation for object "WEB_TEMPLATE"
    thanks

  • HT5429 Map Problem: I can't see the roads in Standard view. Is there any way to improve this serious problem?

    Map Problem: I can't see the roads in Standard view. Is there any way to improve this serious problem?

    Hi Ben,
    both BSIS selects would become faster if you can add Company Code BUKRS as 1st field of WHERE clause, because it's the 1st field of primary key and HKONT is the 2nd field of primary key.
    If you have no table index with HKONT as 1st field it's a full database access.
    If possible, try to add BUKRS as 1st field of WHERE clause, otherwise ask for an additional BSIS index at your basis team.
    Regards,
    Klaus

  • How to refer a .jar file in the code.

    How to refer a .jar file in the code.
    I want to use a library dnsjava.jar, which I download from the internet. I want to know how to refer it
         If I am compiling the code on Solaris
         If I compiling the code on windows using eclipse.
    I added the following line in my code to refer to this library. But it always complains of not found the class
    import org.xbill.DNS.*;
    I tried the following to add this library but did not work
    On eclipse/windows: Went to window-> preferences -> BuildPath _> class path Variable.
    On Solaris: Could not add this library /opt/java_reference/v1.6.0_04/jre/lib. Although I am logged in as root, but not able to add the library there. Complains of Permission denied.

    Set the classpath option when compiling.
    javac -classpath /path/to/lib/dnsjava.jar YourProgram.java
    I don't use Eclipse, but it probably has a library list on your project preferences. Add it there.
    Regards,
    Henrique Abreu

  • Can we see the code of GUI UDF functions

    Hi All,
    Can we see the code of GUI UDF functions?
    Which language it has been written?
    Cheers!
    Samarjit

    Hi,
    Have a look at this blog.
    Is this what you are looking for?
    <a href="/people/venkataramanan.parameswaran/blog/2007/02/06/is-there-a-possibility-to-access-xi-standard-functions-in-user-defined-functions-yes there a possibility to access XI standard functions in User defined Functions?" Yes!</a>
    Regards
    Bhavesh

  • Today was my ipod disabled. it says I need to connect to iTunes, but when I connect it brings up an error message that says I have to enter code but my problem is that I forgot the code!!!!

    Today was my ipod disabled. it says I need to connect to iTunes, but when I connect it brings up an error message that says I have to enter code but my problem is that I forgot the code!!!!

    Place the iPod in Recovery Mode and restore via iTunes.
    iOS: Wrong passcode results in red disabled screen
    If not successful, try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • What can i do if I scratch the itunes card and I can´t see the code?

    what can i do if I scratch the itunes card and I can´t see the code?

    Follow these instructions;  iTunes Store:  Invalid, Inactive, or Illegible codes, http://support.apple.com/kb/TS1292

  • How see the code of the application

    I would like to know how to see the code generated by APEX since I need to stamp(print) it.
    Thank you

    Hello,
    In FireFox : Right Mouse Click + View Page Source
    In IE: Right Mouse Click + View Source
    (might be a lot of pages though)
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • SAX problem(plz see the code given)

    hi all,
    i am using SAX parser for validating my xml file against the dtd,i am getting some errors that i am not able to make out.cud u plz help me.i am sending u my files.
    ------------------------java file------------------------------------
    import java.io.*;
    import org.xml.sax.*;
    import org.xml.sax.helpers.DefaultHandler;
    import javax.xml.parsers.SAXParserFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.parsers.SAXParser;
    public class Echo extends DefaultHandler
    public static void main(String argv[]){
    if (argv.length != 1) {
    System.err.println("Usage: cmd filename");
    System.exit(1);
    // Use an instance of ourselves as the SAX event handler
    //DefaultHandler handler=new DefaultHandler();
    Echo handler=new Echo();
    // Use the default (non-validating) parser
    SAXParserFactory factory = SAXParserFactory.newInstance();
    factory.setValidating(true);
    try {
    // Set up output stream
    out = new OutputStreamWriter(System.out, "UTF8");
    // Parse the input
    SAXParser saxParser = factory.newSAXParser();
    saxParser.parse( new File(argv[0]), handler );
    catch (SAXParseException spe) {
    // Error generated by the parser
    System.out.println("\n** Parsing error"
    + ", line " + spe.getLineNumber()
    + ", uri " + spe.getSystemId());
    System.out.println(" " + spe.getMessage() );
    }catch (Throwable t){
    t.printStackTrace();
    System.exit(0);
    static private Writer out;
    public void startDocument()
    throws SAXException{
    emit("<?xml version='1.0' encoding='UTF-8'?>");
    nl();
    public void endDocument()
    throws SAXException{
    try {
    nl();
    out.flush();
    }catch (IOException e) {
    throw new SAXException("I/O error", e);
    public void startElement(String namespaceURI,
    String sName, // simple name (localName)
    String qName, // qualified name
    Attributes attrs)
    throws SAXException
    String eName = sName; // element name
    if ("".equals(eName)) eName = qName; // namespaceAware = false
    emit("<"+eName);
    if (attrs != null) {
    for (int i = 0; i < attrs.getLength(); i++) {
    String aName = attrs.getLocalName(i); // Attr name
    if ("".equals(aName)) aName = attrs.getQName(i);
    emit(" ");
    emit(aName+"=\""+attrs.getValue(i)+"\"");
    emit(">");
    public void endElement(String namespaceURI,
    String sName, // simple name
    String qName // qualified name
    throws SAXException
    emit("</"+qName+">");
    public void characters(char buf[], int offset, int len)
    throws SAXException
    String s = new String(buf, offset, len);
    emit(s);
    public void ignorableWhitespace(char buf[], int offset, int Len)
    throws SAXException
    nl();
    //emit("IGNORABLE");
    private void emit(String s)
    throws SAXException
    try {
    out.write(s);
    out.flush();
    } catch (IOException e) {
    throw new SAXException("I/O error", e);
    private void nl()
    throws SAXException
    String lineEnd = System.getProperty("line.separator");
    try {
    out.write(lineEnd);
    } catch (IOException e) {
    throw new SAXException("I/O error", e);
    public void error(SAXParseException e)
    throws SAXParseException
    throw e;
    public void warning(SAXParseException e)throws SAXParseException{
    System.out.println("WARNING : Line Number:- "+e.getLineNumber());
    System.out.println("WARNING : Column Number:- "+e.getColumnNumber());
    System.out.println("WARNING : System ID:- "+e.getSystemId());
    System.out.println("WARNING : Public Number:- "+e.getPublicId());
    --------------------------xml file------------------------------------
    <?xml version='1.0' encoding='utf-8'?>
    <!DOCTYPE slideshow SYSTEM "echo.dtd">
    <!-- A SAMPLE set of slides -->
    <slideshow
    title="Sample Slide Show"
    date="Date of publication"
    author="Yours Truly"
    >
    <![CDATA[Digram : frobmorten <------------ fuznaten
    | <3> ^
    | <1> | <1> = fozzle
    V | <2> = framboze
    Staten+ <3> = frenzle
    <2>
    ]]>
    <!-- TITLE SLIDE -->
    <slide type="all">
    <image src="my.gif" alt="this is my pic" type="image/gif"/>
    <title>Wake up to WonderWidgets!</title>
    </slide>
    <!-- OVERVIEW -->
    <slide type="all">
    <title>Overview</title>
    <item>WonderWidgets are great</item>
    <item/>
    <item>Who buys WonderWidgets</item>
    </slide>
    <slide type="all">
    <title>Overview</title>
    <item>Who buys WonderWidgets</item>
    </slide>
    </slideshow>
    -----------------------------dtd file---------------------------------
    <!ELEMENT slideshow (slide+)>
    <!ATTLIST slideshow
    title CDATA #IMPLIED
    date CDATA #IMPLIED
    author CDATA #IMPLIED
    >
    <!ELEMENT slide (image?,title, item*)>
    <!ATTLIST slide type CDATA #IMPLIED>
    <!ELEMENT title (#PCDATA)>
    <!ELEMENT item (#PCDATA | item)* >
    <!ELEMENT image EMPTY>
    <!ATTLIST image
    alt CDATA #IMPLIED
    src CDATA #REQUIRED
    type CDATA "image/gif"
    >
    -----------------------ERROR I AM GETTING IS--------------------------
    <?xml version='1.0' encoding='UTF-8'?>
    <slideshow title="Sample Slide Show" date="Date of publication" author="Yours Tr
    uly">
    Digram : frobmorten <------------ fuznaten
    | <3> ^
    | <1> | <1> = fozzle
    V | <2> = framboze
    Staten+ <3> = frenzle
    <2>
    <slide type="all">
    <image src="my.gif" alt="this is my pic" type="image/gif"></image>
    <title>Wake up to WonderWidgets!</title>
    </slide>
    <slide type="all">
    <title>Overview</title>
    <item>WonderWidgets are great</item>
    <item></item>
    <item>Who buys WonderWidgets</item>
    </slide>
    <slide type="all">
    <title>Overview</title>
    <item>Who buys WonderWidgets</item>
    </slide>
    org.xml.sax.SAXException: The content of element type "slideshow" must m
    atch "(slide)+".
    at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
    ava:979)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at Echo.main(Echo.java:28)
    with my lot efforts i am not able to make out where i am wrong,plz do have a look on the codes.
    thanx in advance
    best regards
    anshul

    Hi i have consulted the XML spec and it is not possible to have a CDATA section as element content. A element declaration can have only content that is empty, ANY (i.e. can include any other declared elements in DTD), mixed (i.e. can contain PCDATA or child elements, or child elements. An element cannot include any character data which CDATA represents. i.e it is not valid to do <!ELEMENT slideshow CDATA>
    The CDATA can only be used with an attribute declaration. Regard CDATA as a type definition for any attribute variables.
    So what do i suggest. You could declare a separate element which has an attribute for the CDATA section
    <!ELEMENT input (Name)>
    <!ATTLIST input instructions CDATA #REQUIRED>
    hope this helps.

  • Error while running PING program using applet. Pls correct the code.-urgent

    Can anyone pls correct the error in the below code.
    Program : TestExec1
    Using : Applet
    Logic : Trying to display the ping status in the text area but it returns error...!
    CODING
    import java.awt.*;
    import java.lang.*;
    import java.io.*;
    import java.net.*;
    import java.awt.event.*;
    import java.applet.*;
    import java.*;
    /*<applet code="TestExec1" width=380 height=150>
    </applet>
    public class TestExec1 extends Applet
    String line = null;
    TextArea outputArea;
    Process p;     
         public void init()
              outputArea = new TextArea(20,20);
         public void start()
              try
                        Process p= Runtime.getRuntime().exec("ping 192.168.100.192 -t");
                        BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
                        while ((line = in.readLine()) != null)
                             outputArea.append("\n" + line);
                             System.out.println(line);
              catch (IOException e)
                        e.printStackTrace();
    Error : C:\Program Files\Java\jdk1.6.0_02\bin>appletviewer TestExec1.java
    java.security.AccessControlException: access denied (java.io.FilePermission <<AL
    L FILES>> execute)
    at java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java:323)
    at java.security.AccessController.checkPermission(AccessController.java:
    546)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at java.lang.SecurityManager.checkExec(SecurityManager.java:782)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:447)
    at java.lang.Runtime.exec(Runtime.java:593)
    at java.lang.Runtime.exec(Runtime.java:431)
    at java.lang.Runtime.exec(Runtime.java:328)
    at TestExec1.start(TestExec1.java:31)
    at sun.applet.AppletPanel.run(AppletPanel.java:458)
    at java.lang.Thread.run(Thread.java:619)
    Regards
    ESM

    java.security.AccessControlException: access denied (java.io.FilePermission
    <<ALL FILES>> execute)This message tells you that the applet does not have permission to access/execute files. Access may be granted by either signing the applet, which allows the user to grant (or not grant) the access when running the applet, or by adding the necessary permission file to the user's computer.
    See http://java.sun.com/javase/6/docs/technotes/guides/security/index.html

  • A question on JInternalFrame of Swing. Let see the code

    Hello everybody,
    I am setting up a Frame that contains 2 JInternalFrames in its desktopPane. The first JInternalFrame is to show the map. The second one have some check box. What I wanna do is, when I check the CheckBox in the second JInternalFrame, after getting the result from Database, it show the result on Map. The result will be some red ellipses on the first JInternalFrame.
    The code work well with Database. But I really need your help to do with the event on InternalFrame
    Thanks in advance !
    Quin,
    Here is the code of the main Frame:
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.font.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.util.*;
    import java.io.*;
    import java.net.*;
    import java.beans.*;
    public class MapLocator
         public static void main(String [] args)
              JFrame frame = new DesktopFrame();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setVisible(true);
    Create a desktop frames that contains internal frame
    class DesktopFrame extends JFrame implements ActionListener
         public DesktopFrame()
              super("Map Locator v.1.0.0");
              this.setSize(new Dimension(WIDTH,HEIGHT));
              desktop = new JDesktopPane();
              this.setContentPane(desktop);
              this.createInternalFrame(
                   new mapPanel(),"Ban do Thanh pho Ho Chi Minh",0,0,480,515);
              this.createInternalFrame(
                   new commandPanel(),"Chu thich va tim kiem",480,0,320,515);
    Create an internal frame on the desktop.
    @param c the component to display in the internal frame
    @param t the title ofthe internal frame.
         public void createInternalFrame(JPanel c, String t,int ifx, int ify, int ifwidth, int ifheight)
                 final JInternalFrame iframe = new JInternalFrame(t,
                 true//resizeable
                 ,true//closable
                 ,true//maximizable
                 ,true//iconifiable
                 iframe.getContentPane().add(c);
                 desktop.add(iframe);
                 iframe.setFrameIcon(new ImageIcon("new.gif"));
                 //add listener to confirm frame closing
                 iframe.addVetoableChangeListener(new VetoableChangeListener()
                      public void vetoableChange(PropertyChangeEvent event)
                           throws PropertyVetoException
                           String name = event.getPropertyName();
                           Object value = event.getNewValue();
                           //we only want to check attempts to close a frame
                           if(name.equals("closed") && value.equals(Boolean.TRUE))
                                //ask user if it is ok to close
                                int result =
                      JOptionPane.showInternalConfirmDialog(iframe,"OK to close");
                                //if the user doesn't agree, veto the close
                                if(result != JOptionPane.YES_OPTION)
                      throw new PropertyVetoException("User cancel the close",event);
                 iframe.setVisible(true);
                 iframe.setLocation(ifx,ify);
                 iframe.setSize(new Dimension (ifwidth, ifheight));
         private static final int WIDTH = 800;
         private static final int HEIGHT = 600;
         private JDesktopPane desktop;
         private int nextFrameX;
           private int nextFrameY;
            private int frameDistance;
         private JMenuBar menuBar;
         private JMenu fileMenu, viewMenu, searchMenu, windowMenu, helpMenu;
         private JRadioButtonMenuItem javalaf, liquidlaf, motiflaf, windowlaf, threedlaf;
    }Below is the code of first JInternalFrame
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import java.util.Random;
    import java.util.*;
    import com.sun.image.codec.jpeg.*;
    Create a canvas that show a map
    public class mapPanel extends JPanel
         implements MouseMotionListener, MouseListener
         public mapPanel()
              addMouseMotionListener(this);
              addMouseListener(this);
    Unbarrier the comment below to see how the map model work
    //Unbarrier this to see -->
             try
                InputStream in = getClass().getResourceAsStream(nameOfMap);
                JPEGImageDecoder decoder = JPEGCodec.createJPEGDecoder(in);
                mImage = decoder.decodeAsBufferedImage();
                in.close();//Close dong nhap
              catch(ImageFormatException ie)
              { System.out.println ("Error on formating image");}
              catch(IOException ioe)
              { System.out.println ("Error on input/ouput image");}
              catch(Exception e){}
    Connect to database
              connDB();
              String addQuery = "";
              try
              Get the relation amongs points
                   int idStart = 0;
                   int idEnd = 0;
                   addQuery ="SELECT IDStart, IDEnd FROM 2Diem";
                   rs = stmt.executeQuery(addQuery);
                   int incre = 0;
                   while(rs.next())
                        idStart = rs.getInt(1);
                        Rel.add(incre, new Integer(idStart));
                        incre ++;
                        idEnd = rs.getInt(2);
                        Rel.add(incre, new Integer(idEnd));
                        incre ++;
         Load the Coordination of the points to hash table
                   int idPoint = 0;
                   int XP = 0;
                   int YP = 0;
                   addQuery ="SELECT IDDiem, CoorX, CoorY FROM Diem";
                   rs = stmt.executeQuery(addQuery);     
                   while(rs.next())
                        idPoint = rs.getInt(1);
                        XP = rs.getInt(2);
                        YP = rs.getInt(3);
                        hashX.put(new Integer(idPoint), new Integer(XP));
                        hashY.put(new Integer(idPoint), new Integer(YP));
         Create Points to draw the Line
                   line = new Line2D[(Rel.size())/2];
                   for(int i = 0, k = 0; i < Rel.size();i++, k = k+2)
                        X1 = Integer.parseInt(""+hashX.get(Rel.elementAt(i)));
                        Y1 = Integer.parseInt(""+hashY.get(Rel.elementAt(i)));
                        i++;
                        X2 = Integer.parseInt(""+hashX.get(Rel.elementAt(i)));
                        Y2 = Integer.parseInt(""+hashY.get(Rel.elementAt(i)));
                        line[k/2] = new Line2D.Double(X1,Y1,X2,Y2);
              catch(SQLException sqle){}
         private Hashtable hashX = new Hashtable();
         private Hashtable hashY = new Hashtable();
         private Vector Rel = new Vector(100,10);
         private Vector vecBackX = new Vector(10,2);
         private Vector vecBackY = new Vector(10,2);
         private int X1 = 0, X2 = 0, Y1 = 0, Y2 = 0;
         Draw the image to show
         public void paintComponent(Graphics g)
              super.paintComponent(g);
              Graphics2D g2 = (Graphics2D) g;
              g2.setRenderingHint(
                   RenderingHints.KEY_ANTIALIASING,
                   RenderingHints.VALUE_ANTIALIAS_ON);
        //     g2.drawImage(mImage,0,0,null);
        Paint the background with light Gray
              g2.setPaint(Color.lightGray);
              g2.fill(new Rectangle2D.Double(0,0,480,480));          
             fillBack(g2);
        Draw the street with its border is white, its background is orange
             g2.setPaint(Color.white);
              g2.setStroke(new BasicStroke(14,BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND));
              for(int k = 0; k < Rel.size()/2; k++)
                   g2.draw(line[k]);
              g2.setPaint(Color.orange);
              g2.setStroke(new BasicStroke(10,BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND));
              for(int k = 0; k < Rel.size()/2; k++)
                   g2.draw(line[k]);
         Draw the grid on map
              g2.setPaint(Color.white);
              g2.setStroke(new BasicStroke(1));
              drawGrid(g2);
              if(point != null)
                   g2.setPaint(Color.red);
                   g2.fillOval(point.x - 3, point.y - 3, 7, 7);
    Draw the Background with tree and water
    @param g2 the Graphics2D that used to draw shapes
         private void fillBack(Graphics2D g2)
              Draw the background for map
              try
                   int BackX = 0;
                   int BackY = 0;
                   int incre = 0;
                   backGround = new GeneralPath[3];
                   for(int idBack = 1; idBack <= 3; idBack++)
    Since we use the vector for each background(tree / water), we have to
    refresh the vector before it can add new path inside
                        vecBackX.clear();
                        vecBackY.clear();
                        String addQuery = "SELECT CoorX, CoorY FROM BackCoor WHERE "
                        + " IDBack =" + idBack;
                        rs = stmt.executeQuery(addQuery);
                        while(rs.next())
                             BackX = rs.getInt(1);
                             BackY = rs.getInt(2);
    This will take the point into vector
                             vecBackX.add(incre,new Integer(BackX));
                             vecBackY.add(incre,new Integer(BackY));
                             incre++;
    Design the shapes of path
                             backGround[(idBack - 1)] =
                                  new GeneralPath(GeneralPath.WIND_EVEN_ODD);
                             backGround[(idBack - 1)].moveTo(
                                  Integer.parseInt(""+vecBackX.elementAt(0)),
                                  Integer.parseInt(""+vecBackY.elementAt(0)));
                             for(int i = 1; i < vecBackX.size(); i++)
                                  backGround[(idBack - 1)].lineTo(
                                       Integer.parseInt(""+vecBackX.elementAt(i)),
                                       Integer.parseInt(""+vecBackY.elementAt(i)));
                             backGround[(idBack - 1)].lineTo(
                                       Integer.parseInt(""+vecBackX.elementAt(0)),
                                       Integer.parseInt(""+vecBackY.elementAt(0)));
                             backGround[(idBack - 1)].closePath();
    Here we have 3 Path that represented to tree and water
    The first and second one is tree.
    The last one is water.
    Draw the path now
                             if(idBack == 3)
                                  g2.setPaint(Color.cyan);
                                  g2.fill(backGround[(idBack - 1)]);
                             else
                                  g2.setPaint(Color.green);
                                  g2.fill(backGround[(idBack - 1)]);
                             incre = 0;
              catch(SQLException sqle)
                   System.out.println ("Khong ve duoc back ground");
    Create the grid on map
    @param g2 the Graphics2D that used to draw shapes
         private void drawGrid(Graphics2D g2)
              try
                 String Query =
                 "SELECT * FROM Grid";
                 rs = stmt.executeQuery(Query);
                 GridX = new Vector(100,2);
                 GridY = new Vector(100,2);
                 GridW = new Vector(100,2);
                 GridH = new Vector(100,2);
                 int incr = 0;
                 while(rs.next())
                      gridX = rs.getInt(2);
                      gridY = rs.getInt(3);
                      gridW = rs.getInt(4);
                      gridH = rs.getInt(5);
                      GridX.add(incr, new Integer(gridX));
                      GridY.add(incr, new Integer(gridY));
                      GridW.add(incr, new Integer(gridW));
                      GridH.add(incr, new Integer(gridH));
                      incr ++;
                 rec = new Rectangle2D.Double[GridX.size()];
                 for(int i = 0; i < GridX.size(); i++)
                      gridX = Integer.parseInt(""+GridX.elementAt(i));
                      gridY = Integer.parseInt(""+GridY.elementAt(i));
                      gridW = Integer.parseInt(""+GridW.elementAt(i));
                      gridH = Integer.parseInt(""+GridH.elementAt(i));
                      rec[i] = new Rectangle2D.Double(gridX, gridY, gridW, gridH);
                      g2.draw(rec);
    catch(SQLException sqle){}
    private Vector GridX, GridY, GridW, GridH;
    private int gridX = 0, gridY = 0, gridW = 0, gridH = 0;
    Fill the point
         public void placePoint(Graphics2D g2,Point p)
              g2.setPaint(Color.red);
              g2.fill(new Ellipse2D.Double(p.x - 3, p.y - 3, 7,7));
    Create connection to Database
         public void connDB()
              System.out.println ("Connecting to Database");
              String fileName = "Pro.mdb";
              String data = "jdbc:odbc:Driver={Microsoft Access Driver " +
         "(*.mdb)};DBQ=" + fileName + ";DriverID=22";
              try
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   conn = DriverManager.getConnection(data,"","");
                   stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
                        ResultSet.CONCUR_UPDATABLE);
              catch(ClassNotFoundException ce)
              { System.out.println ("Khong tim thay Driver"); }
              catch(SQLException sqle)
              { System.out.println ("Loi SQL trong khi Connect"); }
              Statement stmt = null;
              ResultSet rs = null;
              Connection conn = null;     
    This one is the model map to draw
         private String nameOfMap = "map.jpg";
         private BufferedImage mImage;
    Initialize the path and shapes to draw
         private Line2D line[];
         private Rectangle2D.Double rec[];
         private GeneralPath backGround[];
         private Point point;
         private int changeColor = 0;
    The last one is:
    import java.awt.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.sql.*;
    public class commandPanel extends JPanel implements ActionListener
    Initial check box
         JCheckBox uyBanNhanDan = new JCheckBox();
         JCheckBox nganHang = new JCheckBox();
         JCheckBox buuDien = new JCheckBox();     
         JCheckBox khachSan = new JCheckBox();     
         JCheckBox benhVien = new JCheckBox();          
         JCheckBox cho = new JCheckBox();     
         JCheckBox nhaHat = new JCheckBox();     
         JCheckBox daiHoc = new JCheckBox();     
         JCheckBox thuvien = new JCheckBox();     
         JCheckBox nhaTho = new JCheckBox();     
         public commandPanel()
              this.setLayout(new BorderLayout());
              this.setBorder(BorderFactory.createCompoundBorder(
                          BorderFactory.createTitledBorder("***Chu dan***"),
                          BorderFactory.createEmptyBorder(5,5,5,5)));
    Create the combobox to show information
              uyBanNhanDan.setText("Uy Ban ND Quan");
              nganHang.setText("Ngan Hang");
              buuDien.setText("Buu Dien");
              khachSan.setText("Khach San");
              benhVien.setText("Benh Vien");
              cho.setText("Cho - Mua Sam");
              nhaHat.setText("Nha Hat");
              daiHoc.setText("Dai Hoc - Dao Tao");
              thuvien.setText("Thu Vien - Nha Sach");
              nhaTho.setText("Nha Tho - Chua");
              uyBanNhanDan.addActionListener(this);
              nganHang.addActionListener(this);
              buuDien.addActionListener(this);
              khachSan.addActionListener(this);
              benhVien.addActionListener(this);
              cho.addActionListener(this);
              nhaHat.addActionListener(this);
              daiHoc.addActionListener(this);
              thuvien.addActionListener(this);
              nhaTho.addActionListener(this);
              uyBanNhanDan.setActionCommand("1");
              nganHang.setActionCommand("2");
              buuDien.setActionCommand("3");
              khachSan.setActionCommand("4");
              benhVien.setActionCommand("5");
              cho.setActionCommand("6");
              nhaHat.setActionCommand("7");
              daiHoc.setActionCommand("8");
              thuvien.setActionCommand("10");
              nhaTho.setActionCommand("11");
              JPanel secP = new JPanel();
              secP.setLayout(new GridLayout(5,2));
              secP.add(uyBanNhanDan);
              secP.add(nganHang);
              secP.add(buuDien);
              secP.add(khachSan);
              secP.add(benhVien);
              secP.add(cho);
              secP.add(nhaHat);
              secP.add(daiHoc);
              secP.add(thuvien);
              secP.add(nhaTho);
              this.add(secP,BorderLayout.NORTH);
         public void actionPerformed(ActionEvent event)
              int x = 0;
              int y = 0;
              try
                   mapPanel mp = new mapPanel();
                   int idDiaDanh = 0;
                   if(event.getActionCommand() == "1")
                        idDiaDanh = 1;
                   String Query =
                   "SELECT CoorX, CoorY FROM MoTa WHERE IDDiaDanh =" + idDiaDanh;
                   mp.rs = mp.stmt.executeQuery(Query);
                   while(mp.rs.next())
    /*I have problem here*/
    /*Process the event for me*/          x = mp.rs.getInt(1);
                        y = mp.rs.getInt(2);
                        Graphics g2 = mp.getGraphics();
                        mp.paintComponents(g2);
                             g2.setPaint(Color.red);
                             g2.fill(new Ellipse2D.Double(x - 3, y - 3, 7, 7));     
              catch(SQLException sqle){}

    Strings are Objects.
    String[] strings = new String[3];
    String[0]="abcde";Right here, you are initializing the String array, and the String at index 0.
    JButton[] buttons = new JButton[2];
    buttons[0].setText("abcde");Right here, you are initializing the JButton array, but not any of the JButtons in the array. You then try to use the setText() method on a null JButton.

  • I'd like to know how can see the code editor for FormBeans y ActionBean

    Hi, I'm testing JDeveloper 10 and found this problem: When a created (Struts) FormBeans or ActionBeans I can't see formBean class or where it created and obviusly can't see source code in code editor.
    Can you help me?
    Sorry for my english
    Paio

    Form beans will be created in the default package for the project. We don't create them for you automatically though - unless you click on an Action in the Diagram, and choose "Go to Form Bean" from the context menu.
    If you just create a bean in the Struts Structure pane - that will create the XML entry but not the implementation.

  • Where to see the code of enhanced field

    Hi experts,
    there is field called ZZEDATU , for 2LIS_12_VCITM i want to see the coding for it where do i see
    Thanks in Advance,
    Nitya

    Hi,
    Thanks for your answers, Resolved my problem
    Thnaks,
    Nitya

Maybe you are looking for

  • Update  JComponents

    i dont know how to update Jcomponents and Jframes etc.. i have a JFrame, there are some JPanels in it... while inilitalizing few Jbuttons,Jscrollpane etc are added in JPanels by layout manger when some action event occurs, i can write actionPerformed

  • How can I take a very large gif and print it over many pages?

    I have a gif image that, if printed, comes out all compacted (read: much too small) on one page.  It is so small that it cannot really serve as a poster that I want to hang in my classroom. My desired result is to take the image and somehow split / d

  • Is it possible to use a progress bar in Photoshop?

    Hi, I'm developing an automation plug-in to Photoshop. It take long time to do the work, I therefore want to start a none modal dialog with a progress bar and a cancel button. I did not find any example of this in the SDK. Is it possible to use any o

  • 2-color Gradient - Separations

    Hi, all.  I'm back with more silly questions about gradients for offset printing.  I'm working with a logo that features yellow streaks that fade into the solid blue shape over which they are superimposed, like so ... At some point, I'll need to prod

  • What is the best way to stitch together photos to make a panoramic?

    Can't find an app imbedded either in Aperture 2 or iPhoto '08. Is there are good (free) third party app or am i searching with the wrong keywords in Aperture and iPhoto? Thanks!