Little problem on sending an email, can you take a look ?

Hello!
I wuld like to know why I'm getting the following exception
everytime i try to send an email from a servlet with the classes below:
package radio.email;
import java.io.BufferedReader;
import java.io.File;
import java.io.InputStreamReader;
import java.util.Date;
import java.util.Properties;
import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.activation.FileDataSource;
import javax.mail.Folder;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Multipart;
import javax.mail.Session;
import javax.mail.Store;
import javax.mail.Transport;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeBodyPart;
import javax.mail.internet.MimeMessage;
import javax.mail.internet.MimeMultipart;
import radio.email.SMTPAuthenticator;
public class SendEmail {
     public void send(String smtpHost, String smtpPort, String smtpUser, String passWord, String from,
                String[] to, String subject, String content, File[] attachsFile )throws MessagingException, AddressException {
          try{
               //Create a mail session
               Properties props = new Properties();
               props.put("mail.smtp.host", smtpHost);
               props.put("mail.smtp.port", "" + smtpPort);
               props.put("mail.smtp.auth", "true");
               SMTPAuthenticator auth = new SMTPAuthenticator( smtpUser, passWord );
               //Session session = Session.getDefaultInstance(props, auth);
               Session session = Session.getInstance(props, auth);
                        session.setDebug(true);
               // Construct the message
               Message msg = new MimeMessage(session);
               msg.setSentDate( new Date() );
               msg.setFrom(new InternetAddress(from));
               InternetAddress[] addressTo = new InternetAddress[to.length];
               for (int i = 0; i < to.length; i++) {
                    addressTo[i] = new InternetAddress( to[i] );
               msg.setRecipients(Message.RecipientType.TO, addressTo);
               msg.setSubject(subject);
               msg.setHeader("Disposition-Notification-To", from);
               // create the message part
                  MimeBodyPart messageBodyPart = new MimeBodyPart();
                  //fill message
                  messageBodyPart.setContent( content, "text/plain");
                  Multipart multipart = new MimeMultipart();
                     multipart.addBodyPart(messageBodyPart);
                  if ( attachsFile != null &&  attachsFile[0] != null ){
                       for ( int i = 0; i < attachsFile.length; i++ ){
                        messageBodyPart = new MimeBodyPart();
                    DataSource source = null;
                        source = new FileDataSource( attachsFile[i] );
                        messageBodyPart.setDataHandler( new DataHandler(source) );
                        messageBodyPart.setFileName( source.getName() );
                        multipart.addBodyPart(messageBodyPart);
                  //set the content
                  msg.setContent( multipart );
               // Send the message
               Transport.send(msg);                      
          }catch( Exception e ) {
               e.printStackTrace();
               //throw new SacException();
        }My servlet
new radio.email.SendEmail().send("smtp.mail.yahoo.com.br", "587", "myuser", "xxxxxx",
                    "Marcos", to, "Web R�dio Contato", content, null);The Exception:
exception
javax.servlet.ServletException: Servlet execution threw an exception
     org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
     com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
     com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
     com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
     com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
root cause
java.lang.NoClassDefFoundError: javax/activation/DataSource
     radio.servlets.SendEmailServlet.processRequest(SendEmailServlet.java:54)
     radio.servlets.SendEmailServlet.doGet(SendEmailServlet.java:121)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
     com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
     com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
     com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
     com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)I'm importing the class "javax.activation.dataSource" properly, so What's wrong?
Thanks for helping!!

This has nothing to do with importing, which only effects compilation,
and everything to do with server configuration, especially CLASSPATH.
Start with these FAQ entries:
http://java.sun.com/products/javamail/FAQ.html#servletconfig
http://java.sun.com/products/javamail/FAQ.html#servletcp

Similar Messages

  • I keep getting BSOD, can you take a look at my dumps

    I am trying to trouble shoot BSOD's on my computer.  It seems like they are happening everyday.
    The image name was ntkrnlmp.exe in most of the dumps.  I got errors of memory_management, system_service_exception, KMODE_EXCEPTION_NOT_HANDLED, and others in the dumps  .
    Aswsp.sys also came up in one of the dumps.
    Here is a link to some of the latest minidumps:  http://meltoninteriors.com/adjc98/minidumps.zip
    Can you take a look at the dumps to point me in the right direction as to the cause of the BSOD's?
    My computer is Windows 7,  64bit Intel processor, 32 gig of ram.  Intel HD Graphics 4600.  This computer is custom built so hardware could be an isssue.
    When I ran WinDbg on the minidump from the latest BSOD I got this below:
    Latest minidump:
    2: kd> .reload
    Loading Kernel Symbols
    Loading User Symbols
    Loading unloaded module list
    2: kd> !analyze -v
    *                        Bugcheck Analysis                                    *
    KMODE_EXCEPTION_NOT_HANDLED (1e)
    This is a very common bugcheck.  Usually the exception address pinpoints
    the driver/function that caused the problem.  Always note this address
    as well as the link date of the driver/image that contains this address.
    Arguments:
    Arg1: ffffffffc0000005, The exception code that was not handled
    Arg2: fffff80002e7dfa7, The address that the exception occurred at
    Arg3: 0000000000000000, Parameter 0 of the exception
    Arg4: ffffffffffffffff, Parameter 1 of the exception
    Debugging Details:
    READ_ADDRESS: GetPointerFromAddress: unable to read from fffff800030af100
    GetUlongFromAddress: unable to read from fffff800030af1c0
     0000000000000000 Nonpaged pool
    EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
    FAULTING_IP: 
    nt!KeRemoveQueueEx+177
    fffff800`02e7dfa7 c3              ret
    BUGCHECK_STR:  0x1E_c0000005_R
    CUSTOMER_CRASH_COUNT:  1
    DEFAULT_BUCKET_ID:  WIN7_DRIVER_FAULT
    PROCESS_NAME:  svchost.exe
    CURRENT_IRQL:  0
    ANALYSIS_VERSION: 6.3.9600.17298 (debuggers(dbg).141024-1500) amd64fre
    LAST_CONTROL_TRANSFER:  from fffff80002ec1698 to fffff80002e75ec0
    STACK_TEXT:  
    fffff880`0c90cf28 fffff800`02ec1698 : 00000000`0000001e ffffffff`c0000005 fffff800`02e7dfa7 00000000`00000000 : nt!KeBugCheckEx
    fffff880`0c90cf30 fffff800`02e75542 : fffff880`0c90d708 fffff880`0c90da88 fffff880`0c90d7b0 fffff880`0c90daa0 : nt! ?? ::FNODOBFM::`string'+0x487ed
    fffff880`0c90d5d0 fffff800`02e73e4a : 00000000`00000000 fffffa80`1e2144d0 fffffa80`1e2144d0 ffeff800`02ff2e80 : nt!KiExceptionDispatch+0xc2
    fffff880`0c90d7b0 fffff800`02e7dfa7 : fffff800`03161097 fffffa80`00000000 fffffa80`1cde5e01 00000000`00000001 : nt!KiGeneralProtectionFault+0x10a
    fffff880`0c90d948 fffff800`03161097 : fffffa80`00000000 fffffa80`1cde5e01 00000000`00000001 fffffa80`1cde5ef0 : nt!KeRemoveQueueEx+0x177
    fffff880`0c90d950 fffff800`02e61df6 : 000007fe`fe362e00 fffff880`0c90da68 fffff880`0c90da88 00000000`00000001 : nt!IoRemoveIoCompletion+0x47
    fffff880`0c90d9e0 fffff800`02e75153 : fffffa80`1e2144d0 00000000`774b45c0 00000000`00000000 00000000`001f1540 : nt!NtWaitForWorkViaWorkerFactory+0x285
    fffff880`0c90dae0 00000000`77402bba : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x13
    00000000`0143fad8 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x77402bba
    STACK_COMMAND:  kb
    FOLLOWUP_IP: 
    nt!KeRemoveQueueEx+177
    fffff800`02e7dfa7 c3              ret
    SYMBOL_STACK_INDEX:  4
    SYMBOL_NAME:  nt!KeRemoveQueueEx+177
    FOLLOWUP_NAME:  MachineOwner
    MODULE_NAME: nt
    IMAGE_NAME:  ntkrnlmp.exe
    DEBUG_FLR_IMAGE_TIMESTAMP:  54d0317d
    IMAGE_VERSION:  6.1.7601.18741
    FAILURE_BUCKET_ID:  X64_0x1E_c0000005_R_nt!KeRemoveQueueEx+177
    BUCKET_ID:  X64_0x1E_c0000005_R_nt!KeRemoveQueueEx+177
    ANALYSIS_SOURCE:  KM
    FAILURE_ID_HASH_STRING:  km:x64_0x1e_c0000005_r_nt!keremovequeueex+177
    FAILURE_ID_HASH:  {e3b31b0e-2cc9-701e-fdb4-9e82dce27d67}
    Followup: MachineOwner

    Unfortunately, the crash dump was not very helpful. Do this.
    Update or remove
    Loaded symbol image file: CAM_Client_V2.sys
        Image path: \??\C:\Program Files (x86)\NZXT\CAMV2.0beta\CAM_Client_V2.sys
        Image name: CAM_Client_V2.sys
        Timestamp:        Sat Jul 26 09:29:37 2008
    (488B26C1)
    Uninstall
    Loaded symbol image file: dtsoftbus01.sys
        Image path: \SystemRoot\System32\drivers\dtsoftbus01.sys
        Image name: dtsoftbus01.sys
    dtsoftbus01.sys:
    http://sysnative.com/drivers/driver.php?id=dtsoftbus01.sys
    Please run driver verifier (DV) per the instructions in the link below.
    Note:
    Make sure to read and remember the steps to reset DV in the event of a crash, and post a link to the newly generated crash dump here.
    Driver Verifier-- tracking down a mis-behaving driver. Co-Authored by ZigZag3143& JMH3143
    http://answers.microsoft.com/en-us/windows/wiki/windows_other-system/driver-verifier-tracking-down-a-mis-behaving/f5cb4faf-556b-4b6d-95b3-c48669e4c983
    Symbol search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
    Executable search path is:
    Windows 7 Kernel Version 9600 MP (4 procs) Free x64
    Product: WinNt, suite: TerminalServer SingleUserTS
    Built by: 9600.17668.amd64fre.winblue_r8.150127-1500
    Machine Name:
    Kernel base = 0xfffff803`37c0a000 PsLoadedModuleList = 0xfffff803`37ee3250
    Debug session time: Thu Mar 26 06:33:15.079 2015 (UTC - 4:00)
    System Uptime: 0 days 5:24:33.782
    Loading Kernel Symbols
    Loading User Symbols
    Loading unloaded module list
    * Bugcheck Analysis *
    Use !analyze -v to get detailed debugging information.
    BugCheck 3B, {c0000005, fffff80337ce402c, ffffd001402ecf20, 0}
    Probably caused by : ntkrnlmp.exe ( nt!KxWaitForLockOwnerShipWithIrql+14 )
    Followup: MachineOwner
    3: kd> !analyze -v
    * Bugcheck Analysis *
    SYSTEM_SERVICE_EXCEPTION (3b)
    An exception happened while executing a system service routine.
    Arguments:
    Arg1: 00000000c0000005, Exception code that caused the bugcheck
    Arg2: fffff80337ce402c, Address of the instruction which caused the bugcheck
    Arg3: ffffd001402ecf20, Address of the context record for the exception that caused the bugcheck
    Arg4: 0000000000000000, zero.
    Debugging Details:
    EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
    FAULTING_IP:
    nt!KxWaitForLockOwnerShipWithIrql+14
    fffff803`37ce402c 48890a mov qword ptr [rdx],rcx
    CONTEXT: ffffd001402ecf20 -- (.cxr 0xffffd001402ecf20)
    rax=0000000000000000 rbx=0000000000000000 rcx=ffffd001402ed9b0
    rdx=0000800000000000 rsi=000000007eedc000 rdi=ffffd001402ed9b0
    rip=fffff80337ce402c rsp=ffffd001402ed950 rbp=0000000000000000
    r8=ffffd001402eda10 r9=0000000000000000 r10=fffff960002a85d8
    r11=000000007eeda000 r12=0000000000000000 r13=0000000000000000
    r14=ffffe000b3cb2880 r15=0000000000010001
    iopl=0 nv up di pl zr na po nc
    cs=0010 ss=0018 ds=002b es=002b fs=0053 gs=002b efl=00010046
    nt!KxWaitForLockOwnerShipWithIrql+0x14:
    fffff803`37ce402c 48890a mov qword ptr [rdx],rcx ds:002b:00008000`00000000=????????????????
    Resetting default scope
    CUSTOMER_CRASH_COUNT: 1
    DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT
    BUGCHECK_STR: 0x3B
    PROCESS_NAME: Steam.exe
    CURRENT_IRQL: 0
    LAST_CONTROL_TRANSFER: from 0000000000000000 to fffff80337ce402c
    STACK_TEXT:
    ffffd001`402ed950 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KxWaitForLockOwnerShipWithIrql+0x14
    FOLLOWUP_IP:
    nt!KxWaitForLockOwnerShipWithIrql+14
    fffff803`37ce402c 48890a mov qword ptr [rdx],rcx
    SYMBOL_STACK_INDEX: 0
    SYMBOL_NAME: nt!KxWaitForLockOwnerShipWithIrql+14
    FOLLOWUP_NAME: MachineOwner
    MODULE_NAME: nt
    IMAGE_NAME: ntkrnlmp.exe
    DEBUG_FLR_IMAGE_TIMESTAMP: 54c832b2
    STACK_COMMAND: .cxr 0xffffd001402ecf20 ; kb
    FAILURE_BUCKET_ID: X64_0x3B_nt!KxWaitForLockOwnerShipWithIrql+14
    BUCKET_ID: X64_0x3B_nt!KxWaitForLockOwnerShipWithIrql+14
    Followup: MachineOwner
    3: kd> lmsmnt
    start end module name
    fffff801`92770000 fffff801`927f8000 ACPI ACPI.sys Mon Oct 06 23:29:50 2014 (54335E2E)
    fffff801`9274d000 fffff801`92765000 acpiex acpiex.sys Thu Aug 22 07:37:47 2013 (5215F80B)
    fffff801`93a39000 fffff801`93acb000 afd afd.sys Thu May 29 23:03:01 2014 (5387F4E5)
    fffff801`93bc7000 fffff801`93bde000 ahcache ahcache.sys Thu Dec 11 19:51:20 2014 (548A3C08)
    fffff801`94000000 fffff801`9401e000 amdppm amdppm.sys Thu Aug 22 04:46:34 2013 (5215CFEA)
    fffff960`00b0a000 fffff960`00b69000 ATMFD ATMFD.DLL unavailable (00000000)
    fffff801`939bd000 fffff801`939cf000 BasicDisplay BasicDisplay.sys Thu Aug 22 07:39:31 2013 (5215F873)
    fffff801`93570000 fffff801`9357e000 BasicRender BasicRender.sys Sat Feb 22 07:14:02 2014 (5308948A)
    fffff801`93568000 fffff801`93570000 Beep Beep.SYS Thu Aug 22 07:40:24 2013 (5215F8A8)
    fffff801`925b0000 fffff801`925ba000 BOOTVID BOOTVID.dll Thu Aug 22 07:40:26 2013 (5215F8AA)
    fffff801`9534e000 fffff801`9536e000 bowser bowser.sys Thu Aug 22 07:38:38 2013 (5215F83E)
    fffff801`96bef000 fffff801`96bf6000 CAM_Client_V2 CAM_Client_V2.sys Sat Jul 26 09:29:37 2008 (488B26C1)
    fffff960`00825000 fffff960`0085f000 cdd cdd.dll unavailable (00000000)
    fffff801`92400000 fffff801`92488000 CI CI.dll Fri Dec 05 22:23:28 2014 (548276B0)
    fffff801`93487000 fffff801`934dd000 CLASSPNP CLASSPNP.SYS Wed Oct 08 01:22:07 2014 (5434C9FF)
    fffff801`92518000 fffff801`92579000 CLFS CLFS.SYS Wed Mar 19 04:12:20 2014 (53295164)
    fffff801`92888000 fffff801`92914000 cng cng.sys Tue Jan 13 21:29:05 2015 (54B5D471)
    fffff801`93dee000 fffff801`93dfd000 CompositeBus CompositeBus.sys Thu Aug 22 07:38:48 2013 (5215F848)
    fffff801`96b8c000 fffff801`96b9c000 condrv condrv.sys Thu Aug 22 07:40:17 2013 (5215F8A1)
    fffff801`96be5000 fffff801`96bef000 cpuz138_x64 cpuz138_x64.sys Thu Nov 27 06:16:46 2014 (5477081E)
    fffff801`934dd000 fffff801`934f2000 crashdmp crashdmp.sys Thu Aug 22 07:40:03 2013 (5215F893)
    fffff801`93c49000 fffff801`93cd7000 csc csc.sys Tue Oct 28 22:46:49 2014 (54505519)
    fffff801`93ba1000 fffff801`93bc7000 dfsc dfsc.sys Thu Mar 06 04:22:50 2014 (53183E6A)
    fffff801`925ba000 fffff801`925d6000 disk disk.sys Thu Aug 22 07:39:47 2013 (5215F883)
    fffff801`93fc0000 fffff801`93fdc000 drmk drmk.sys Tue Oct 28 22:47:38 2014 (5450554A)
    fffff801`94cdf000 fffff801`94d27000 dtsoftbus01 dtsoftbus01.sys Fri Feb 21 04:49:36 2014 (53072130)
    fffff801`94dd8000 fffff801`94de4000 dump_diskdump dump_diskdump.sys Thu Aug 22 07:40:18 2013 (5215F8A2)
    fffff801`94de4000 fffff801`94dfa000 dump_dumpfve dump_dumpfve.sys Sat Feb 22 07:14:48 2014 (530894B8)
    fffff801`9344c000 fffff801`93469000 dump_storahci dump_storahci.sys Thu Aug 22 07:40:39 2013 (5215F8B7)
    fffff801`9382b000 fffff801`939ab000 dxgkrnl dxgkrnl.sys Tue Oct 28 22:46:45 2014 (54505515)
    fffff801`9357e000 fffff801`935e1000 dxgmms1 dxgmms1.sys Tue Oct 28 22:46:30 2014 (54505506)
    fffff801`92b38000 fffff801`92b52000 EhStorClass EhStorClass.sys Thu Aug 22 07:38:15 2013 (5215F827)
    fffff801`94b68000 fffff801`94ba1000 fastfat fastfat.SYS Thu Aug 22 07:40:18 2013 (5215F8A2)
    fffff801`92bae000 fffff801`92bc4000 fileinfo fileinfo.sys Sat Feb 22 07:13:10 2014 (53089456)
    fffff801`92b52000 fffff801`92bae000 fltmgr fltmgr.sys Mon Aug 25 22:25:16 2014 (53FBF00C)
    fffff801`92e99000 fffff801`92ea4000 Fs_Rec Fs_Rec.sys Thu Aug 22 04:46:33 2013 (5215CFE9)
    fffff801`93316000 fffff801`933ab000 fvevol fvevol.sys Mon Apr 07 18:25:31 2014 (534325DB)
    fffff801`93285000 fffff801`932f1000 fwpkclnt fwpkclnt.sys Tue Oct 28 22:46:11 2014 (545054F3)
    fffff803`3839e000 fffff803`3840e000 hal hal.dll Sun Jun 01 18:49:12 2014 (538BADE8)
    fffff801`94a4c000 fffff801`94a65000 HDAudBus HDAudBus.sys Thu Jul 24 07:45:39 2014 (53D0F1E3)
    fffff801`94c78000 fffff801`94cde000 HdAudio HdAudio.sys Thu Aug 22 07:38:19 2013 (5215F82B)
    fffff801`934f2000 fffff801`93511000 HIDCLASS HIDCLASS.SYS Thu Mar 06 04:24:40 2014 (53183ED8)
    fffff801`94dd0000 fffff801`94dd7f00 HIDPARSE HIDPARSE.SYS Thu Aug 22 07:40:26 2013 (5215F8AA)
    fffff801`93fe7000 fffff801`93ff5000 hidusb hidusb.sys Thu Mar 06 04:24:14 2014 (53183EBE)
    fffff801`95254000 fffff801`9534e000 HTTP HTTP.sys Mon Jan 27 14:48:02 2014 (52E6B7F2)
    fffff801`92fec000 fffff801`92ffb000 intelpep intelpep.sys Wed Oct 08 03:33:44 2014 (5434E8D8)
    fffff801`92ac7000 fffff801`92ad9000 kbdclass kbdclass.sys Mon Oct 06 23:29:50 2014 (54335E2E)
    fffff801`93469000 fffff801`93477000 kbdhid kbdhid.sys Mon Oct 06 23:29:43 2014 (54335E27)
    fffff803`36d76000 fffff803`36d7f000 kd kd.dll Thu Aug 22 07:40:43 2013 (5215F8BB)
    fffff801`93e5a000 fffff801`93e65000 kdnic kdnic.sys Thu Aug 22 07:38:26 2013 (5215F832)
    fffff801`93e0c000 fffff801`93e5a000 ks ks.sys Fri Jul 04 08:58:59 2014 (53B6A513)
    fffff801`92e6d000 fffff801`92e89000 ksecdd ksecdd.sys Tue Oct 28 22:47:36 2014 (54505548)
    fffff801`92fbb000 fffff801`92fec000 ksecpkg ksecpkg.sys Sun Jan 11 22:01:17 2015 (54B338FD)
    fffff801`93c41000 fffff801`93c46300 ksthunk ksthunk.sys Thu Aug 22 07:39:31 2013 (5215F873)
    fffff801`94ed6000 fffff801`94eea000 lltdio lltdio.sys Thu Aug 22 07:36:18 2013 (5215F7B2)
    fffff801`94eb2000 fffff801`94ed6000 luafv luafv.sys Sat Feb 22 07:14:25 2014 (530894A1)
    fffff801`924ef000 fffff801`9250a000 mcupdate_AuthenticAMD mcupdate_AuthenticAMD.dll Thu Aug 22 08:39:42 2013 (5216068E)
    fffff801`94e97000 fffff801`94ea5000 monitor monitor.sys Thu Aug 22 07:36:37 2013 (5215F7C5)
    fffff801`94e6e000 fffff801`94e7e000 mouclass mouclass.sys Mon Oct 06 23:29:43 2014 (54335E27)
    fffff801`94e61000 fffff801`94e6e000 mouhid mouhid.sys Mon Oct 06 23:29:43 2014 (54335E27)
    fffff801`929b5000 fffff801`929d0000 mountmgr mountmgr.sys Mon Oct 06 21:18:16 2014 (54333F58)
    fffff801`9536e000 fffff801`95385000 mpsdrv mpsdrv.sys Tue Oct 28 22:45:31 2014 (545054CB)
    fffff801`95385000 fffff801`953f2000 mrxsmb mrxsmb.sys Wed Oct 08 03:32:08 2014 (5434E878)
    fffff801`94f8a000 fffff801`94fd5000 mrxsmb10 mrxsmb10.sys Thu Mar 06 04:19:36 2014 (53183DA8)
    fffff801`95200000 fffff801`95238000 mrxsmb20 mrxsmb20.sys Sat Sep 27 00:59:28 2014 (54264430)
    fffff801`939e3000 fffff801`939ef000 Msfs Msfs.SYS Thu Aug 22 07:40:24 2013 (5215F8A8)
    fffff801`92922000 fffff801`9292c000 msisadrv msisadrv.sys Thu Aug 22 07:39:03 2013 (5215F857)
    fffff801`96b9c000 fffff801`96bb2000 mslldp mslldp.sys Tue Oct 28 22:45:39 2014 (545054D3)
    fffff801`92488000 fffff801`924e5000 msrpc msrpc.sys Thu Aug 22 07:39:22 2013 (5215F86A)
    fffff801`93de2000 fffff801`93dee000 mssmbios mssmbios.sys Thu Aug 22 07:39:41 2013 (5215F87D)
    fffff801`93000000 fffff801`93017000 mup mup.sys Thu Aug 22 07:40:28 2013 (5215F8AC)
    fffff801`92ea4000 fffff801`92fbb000 ndis ndis.sys Mon Feb 02 19:03:15 2015 (54D01043)
    fffff801`94f5e000 fffff801`94f72000 ndisuio ndisuio.sys Thu Aug 22 07:37:34 2013 (5215F7FE)
    fffff801`93fdc000 fffff801`93fe7000 NdisVirtualBus NdisVirtualBus.sys Thu Aug 22 07:36:25 2013 (5215F7B9)
    fffff801`94fd5000 fffff801`94ff2000 Ndu Ndu.sys Tue Oct 28 22:45:16 2014 (545054BC)
    fffff801`93b0d000 fffff801`93b1e000 netbios netbios.sys Tue Oct 28 22:47:23 2014 (5450553B)
    fffff801`93400000 fffff801`9344c000 netbt netbt.sys Thu Aug 22 07:37:01 2013 (5215F7DD)
    fffff801`92a43000 fffff801`92abb000 NETIO NETIO.SYS Tue Sep 09 04:35:50 2014 (540EBBE6)
    fffff801`935e1000 fffff801`935f4000 networx networx.sys Wed Jul 23 09:03:28 2014 (53CFB2A0)
    fffff801`939cf000 fffff801`939e3000 Npfs Npfs.SYS Thu Aug 22 07:40:25 2013 (5215F8A9)
    fffff801`93c35000 fffff801`93c41000 npsvctrig npsvctrig.sys Thu Aug 22 07:38:22 2013 (5215F82E)
    fffff801`93c27000 fffff801`93c35000 nsiproxy nsiproxy.sys Tue Oct 28 22:46:03 2014 (545054EB)
    fffff803`37c0a000 fffff803`3839e000 nt ntkrnlmp.exe Tue Jan 27 19:52:02 2015 (54C832B2)
    fffff801`92c73000 fffff801`92e6d000 Ntfs Ntfs.sys Fri Oct 10 20:35:55 2014 (54387B6B)
    fffff801`9355f000 fffff801`93568000 Null Null.SYS Thu Aug 22 07:40:24 2013 (5215F8A8)
    fffff801`93a00000 fffff801`93a34000 nvhda64v nvhda64v.sys Thu Oct 09 13:02:27 2014 (5436BFA3)
    fffff801`9403a000 fffff801`94a4c000 nvlddmkm nvlddmkm.sys Thu Feb 05 13:01:37 2015 (54D3B001)
    fffff801`96bb2000 fffff801`96bbc000 NvStreamKms NvStreamKms.sys Mon Jan 12 12:56:42 2015 (54B40ADA)
    fffff801`94028000 fffff801`94035000 nvvad64v nvvad64v.sys Thu Nov 20 10:33:54 2014 (546E09E2)
    fffff801`94ea5000 fffff801`94eb2000 nvvadarm nvvadarm.sys Thu Feb 05 13:24:46 2015 (54D3B56E)
    fffff801`94eea000 fffff801`94f5e000 nwifi nwifi.sys Tue Oct 28 22:45:41 2014 (545054D5)
    fffff801`93acb000 fffff801`93af5000 pacer pacer.sys Tue Oct 28 22:45:30 2014 (545054CA)
    fffff801`94bb9000 fffff801`94bd5000 parport parport.sys Thu Aug 22 07:40:02 2013 (5215F892)
    fffff801`9299d000 fffff801`929b5000 partmgr partmgr.sys Wed Oct 08 03:34:42 2014 (5434E912)
    fffff801`9292c000 fffff801`92974000 pci pci.sys Thu Jul 24 07:45:24 2014 (53D0F1D4)
    fffff801`92e89000 fffff801`92e99000 pcw pcw.sys Thu Aug 22 04:46:34 2013 (5215CFEA)
    fffff801`92981000 fffff801`9299d000 pdc pdc.sys Wed Oct 08 01:21:59 2014 (5434C9F7)
    fffff801`95c08000 fffff801`95cb1000 peauth peauth.sys Sat Feb 22 07:09:37 2014 (53089381)
    fffff801`93f79000 fffff801`93fc0000 portcls portcls.sys Tue Oct 28 22:46:35 2014 (5450550B)
    fffff801`9259b000 fffff801`925b0000 PSHED PSHED.dll Sat Sep 14 09:57:19 2013 (52346B3F)
    fffff801`93b31000 fffff801`93ba1000 rdbss rdbss.sys Tue Dec 17 02:21:22 2013 (52AFFB72)
    fffff801`94d3e000 fffff801`94d49000 rdpbus rdpbus.sys Thu Aug 22 07:38:52 2013 (5215F84C)
    fffff801`92c23000 fffff801`92c69000 rdyboost rdyboost.sys Sat Feb 22 07:13:40 2014 (53089474)
    fffff801`94f72000 fffff801`94f8a000 rspndr rspndr.sys Thu Aug 22 07:36:34 2013 (5215F7C2)
    fffff801`93ea1000 fffff801`93f79000 Rt630x64 Rt630x64.sys Tue Jul 15 22:56:14 2014 (53C5E9CE)
    fffff801`93be7000 fffff801`93bf6000 rzendpt rzendpt.sys Thu Sep 04 23:22:07 2014 (54092C5F)
    fffff801`95cb1000 fffff801`95cb8280 rzpmgrk rzpmgrk.sys Thu Apr 17 15:36:12 2014 (53502D2C)
    fffff801`95cb9000 fffff801`95cd6c80 rzpnk rzpnk.sys Fri Apr 11 16:45:28 2014 (53485468)
    fffff801`94e36000 fffff801`94e61000 rzudd rzudd.sys Thu Sep 04 23:22:11 2014 (54092C63)
    fffff801`93c00000 fffff801`93c27000 SCDEmu SCDEmu.SYS Wed Oct 08 09:09:34 2014 (5435378E)
    fffff801`95cd7000 fffff801`95ce2000 secdrv secdrv.SYS Wed Sep 13 09:18:38 2006 (4508052E)
    fffff801`94bef000 fffff801`94bfc000 serenum serenum.sys Thu Aug 22 07:40:17 2013 (5215F8A1)
    fffff801`94bd5000 fffff801`94bef000 serial serial.sys Thu Aug 22 07:40:08 2013 (5215F898)
    fffff801`93bde000 fffff801`93be7000 serscan serscan.sys Tue Oct 28 21:50:36 2014 (545047EC)
    fffff801`94e89000 fffff801`94e97000 SiLib SiLib.sys Thu Jul 15 18:08:26 2010 (4C3F86DA)
    fffff801`94e7e000 fffff801`94e89000 SiUSBXp SiUSBXp.sys Thu Jul 15 18:27:13 2010 (4C3F8B41)
    fffff801`92800000 fffff801`92869000 spaceport spaceport.sys Tue Oct 28 22:47:03 2014 (54505527)
    fffff801`96ad1000 fffff801`96b5f000 srv srv.sys Thu Jul 24 07:43:27 2014 (53D0F15F)
    fffff801`95d37000 fffff801`95de4000 srv2 srv2.sys Wed Oct 08 03:33:30 2014 (5434E8CA)
    fffff801`95ce2000 fffff801`95d25000 srvnet srvnet.sys Fri Jun 27 02:22:21 2014 (53AD0D9D)
    fffff801`929d0000 fffff801`929ed000 storahci storahci.sys Thu Aug 22 07:40:39 2013 (5215F8B7)
    fffff801`92ada000 fffff801`92b38000 storport storport.sys Wed Sep 24 22:47:07 2014 (5423822B)
    fffff801`94035000 fffff801`94036600 swenum swenum.sys Tue Oct 28 22:47:41 2014 (5450554D)
    fffff801`93019000 fffff801`93285000 tcpip tcpip.sys Tue Oct 28 22:47:30 2014 (54505542)
    fffff801`95d25000 fffff801`95d37000 tcpipreg tcpipreg.sys Thu Mar 06 04:19:59 2014 (53183DBF)
    fffff801`939ef000 fffff801`939fd000 TDI TDI.SYS Thu Aug 22 07:39:01 2013 (5215F855)
    fffff801`93800000 fffff801`93820000 tdx tdx.sys Thu Aug 22 07:36:34 2013 (5215F7C2)
    fffff801`92579000 fffff801`9259b000 tm tm.sys Thu Aug 22 07:39:33 2013 (5215F875)
    fffff801`94dbf000 fffff801`94dd0000 tosporte tosporte.sys Tue Jun 16 06:48:47 2009 (4A37788F)
    fffff801`93b1e000 fffff801`93b30b80 tosrfcom tosrfcom.sys Sun Nov 28 21:44:26 2010 (4CF3138A)
    fffff801`92c00000 fffff801`92c23000 Tpkd Tpkd.sys Sat Nov 17 10:18:06 2012 (50A7AAAE)
    fffff960`00767000 fffff960`00770000 TSDDD TSDDD.dll unavailable (00000000)
    fffff801`96b5f000 fffff801`96b8c000 tunnel tunnel.sys Thu Aug 22 07:35:45 2013 (5215F791)
    fffff801`94aba000 fffff801`94aec000 ucx01000 ucx01000.sys Tue Oct 07 01:00:55 2014 (54337387)
    fffff801`93e90000 fffff801`93ea1000 umbus umbus.sys Thu Aug 22 07:38:59 2013 (5215F853)
    fffff801`93538000 fffff801`93555900 usbaudio usbaudio.sys Fri Dec 13 02:24:20 2013 (52AAB624)
    fffff801`93511000 fffff801`93538000 usbccgp usbccgp.sys Thu Jul 24 07:44:51 2014 (53D0F1B3)
    fffff801`94db3000 fffff801`94dbf000 USBD USBD.SYS Sat May 31 02:31:17 2014 (53897735)
    fffff801`94ba1000 fffff801`94bb9000 usbehci usbehci.sys Sat May 31 02:29:54 2014 (538976E2)
    fffff801`94d49000 fffff801`94db3000 usbhub usbhub.sys Thu Jul 24 07:45:29 2014 (53D0F1D9)
    fffff801`94c00000 fffff801`94c78000 UsbHub3 UsbHub3.sys Wed Oct 08 03:32:50 2014 (5434E8A2)
    fffff801`94aec000 fffff801`94af9000 usbohci usbohci.sys Thu Aug 22 07:39:27 2013 (5215F86F)
    fffff801`94af9000 fffff801`94b68000 USBPORT USBPORT.SYS Sat May 31 02:30:25 2014 (53897701)
    fffff801`94a65000 fffff801`94aba000 USBXHCI USBXHCI.SYS Tue Oct 07 01:00:56 2014 (54337388)
    fffff801`93cfd000 fffff801`93de2000 VBoxDrv VBoxDrv.sys Sat Oct 11 07:28:48 2014 (54391470)
    fffff801`93e65000 fffff801`93e90000 VBoxNetFlt VBoxNetFlt.sys Sat Oct 11 07:26:22 2014 (543913DE)
    fffff801`93cd7000 fffff801`93cfd000 VBoxUSBMon VBoxUSBMon.sys Sat Oct 11 07:26:22 2014 (543913DE)
    fffff801`92974000 fffff801`92981000 vdrvroot vdrvroot.sys Thu Aug 22 07:38:49 2013 (5215F849)
    fffff801`92869000 fffff801`9287e000 volmgr volmgr.sys Thu Aug 22 07:39:53 2013 (5215F889)
    fffff801`9260a000 fffff801`92669000 volmgrx volmgrx.sys Thu Aug 22 07:40:23 2013 (5215F8A7)
    fffff801`933ab000 fffff801`933fa000 volsnap volsnap.sys Wed Jun 18 18:41:28 2014 (53A21598)
    fffff801`93af5000 fffff801`93b0d000 vwififlt vwififlt.sys Wed Apr 30 02:43:46 2014 (53609BA2)
    fffff801`939ab000 fffff801`939bd000 watchdog watchdog.sys Sat Feb 22 07:14:39 2014 (530894AF)
    fffff801`9266d000 fffff801`9273c000 Wdf01000 Wdf01000.sys Thu Aug 22 07:38:56 2013 (5215F850)
    fffff801`92a00000 fffff801`92a43000 WdFilter WdFilter.sys Fri Jan 30 05:20:58 2015 (54CB5B0A)
    fffff801`9273c000 fffff801`9274d000 WDFLDR WDFLDR.SYS Thu Aug 22 07:39:03 2013 (5215F857)
    fffff801`96bbc000 fffff801`96bdb000 WdNisDrv WdNisDrv.sys Fri Jan 30 05:21:48 2015 (54CB5B3C)
    fffff801`9250a000 fffff801`92518000 werkernel werkernel.sys Thu Aug 22 07:40:24 2013 (5215F8A8)
    fffff801`932f1000 fffff801`93316000 wfplwfs wfplwfs.sys Tue Oct 28 22:45:53 2014 (545054E1)
    fffff960`0015f000 fffff960`00575000 win32k win32k.sys Wed Feb 25 18:26:26 2015 (54EE5A22)
    fffff801`94d27000 fffff801`94d2bd00 WmBEnum WmBEnum.sys Tue Apr 27 16:10:19 2010 (4BD744AB)
    fffff801`93ff5000 fffff801`93ffe180 WmFilter WmFilter.sys Tue Apr 27 16:10:19 2010 (4BD744AB)
    fffff801`9401e000 fffff801`94028000 wmiacpi wmiacpi.sys Thu Aug 22 07:40:04 2013 (5215F894)
    fffff801`92600000 fffff801`9260a000 WMILIB WMILIB.SYS Thu Aug 22 07:40:23 2013 (5215F8A7)
    fffff801`96bdb000 fffff801`96bdd500 WmVirHid WmVirHid.sys Tue Apr 27 16:08:53 2010 (4BD74455)
    fffff801`94d2c000 fffff801`94d3d480 WmXlCore WmXlCore.sys Tue Apr 27 16:09:26 2010 (4BD74476)
    fffff801`92bc4000 fffff801`92bef000 Wof Wof.sys Thu Mar 13 04:27:29 2014 (53216BF1)
    fffff801`92765000 fffff801`92770000 WppRecorder WppRecorder.sys Thu Aug 22 07:39:40 2013 (5215F87C)
    Unloaded modules:
    fffff801`96bde000 fffff801`96be5000 CAM_Client_V
    Timestamp: unavailable (00000000)
    Checksum: 00000000
    ImageSize: 00007000
    fffff801`934f2000 fffff801`934fe000 dump_storpor
    Timestamp: unavailable (00000000)
    Checksum: 00000000
    ImageSize: 0000C000
    fffff801`934fe000 fffff801`9351b000 dump_storahc
    Timestamp: unavailable (00000000)
    Checksum: 00000000
    ImageSize: 0001D000
    fffff801`9351b000 fffff801`93531000 dump_dumpfve
    Timestamp: unavailable (00000000)
    Checksum: 00000000
    ImageSize: 00016000
    fffff801`93dee000 fffff801`93dfe000 dam.sys
    Timestamp: unavailable (00000000)
    Checksum: 00000000
    ImageSize: 00010000
    fffff801`93531000 fffff801`9355f000 cdrom.sys
    Timestamp: unavailable (00000000)
    Checksum: 00000000
    ImageSize: 0002E000
    fffff801`92914000 fffff801`92922000 WdBoot.sys
    Timestamp: unavailable (00000000)
    Checksum: 00000000
    ImageSize: 0000E000
    fffff801`92abb000 fffff801`92ac7000 hwpolicy.sys
    Timestamp: unavailable (00000000)
    Checksum: 00000000
    ImageSize: 0000C000

  • I've attached some pictures taken in Ireland, can you take a look

    thank  you to all who helped me with my lens issues. I have gotten the Peterson book, and reading it intently. I'm attaching a  picture taken in Ireland last year. Can you all take a look?. Used my 5DM3 with the EF 24-105mm 1.5.  

    Ok, now I understand you're looking for critique... To my way of thinking, there are two or three parts to how I do critique.  Also, when asking for critique on public forum, expect honesty (nobody would do you any favories if they were dishonest in hopes of not hurting feelings).  So promise not to melt. If an image were entered into a competition, the judges wouldn't necessarily have time to carefully evaluate each image.  They're looking for "stopping value".  Here's what that means:  Imagine you are thumbing your way through a magazine... looking at photo after after.  They're all "nice"... but then you come across something with impact.  It causes you to stop and linger for a while on that image instead of just continuing to turn the page.  That "pause" is what I mean by "stopping value".  You could shoot a photo fo a sunset, but we've all seen thousands of sunsets so a sunset is unlikely to get anybody's attention (it'd really have to be some incredible sunset). I'm normally looking for basics... Is the focus accurate?   Is the exposure technically correct (not over-exposed or under-exposed)?- And then there's a variation on this... is the exposure also artistically appealing?  Did you use a narrow depth of field to help some single element in the image stand out and blur the background & foreground?  Did you use a slow shutter speed to create motion blur and imply a sense of motion into a still photo?  This are examples of ways to not just be "technically" correct, but artistically and creatively appealing. How is the composition?  Are you drawing me to looking at something?  Does it seem balanced?   Is the cropping awkward? I could go on with more examples, but the point is, I'd look for a technically good image and also an artistically appealing image that draws me in. While your image is nicefly focused and nicely exposed, what I'm lacking is a focal point of interest.    I suppose we could say that those rocks are a focal point, but the framing looks random and nothing especially draws me to that subject.   The shutter speed was fast enough to "freeze" the motion of the water, and the water is dramatic (it's not a storm, or massive waves crashing, etc.)  This means there's nothing of particular interest in the water.   if you wanted to evoke a feeling or emotion of tranquility or peace, you could use a very strong neutral density filter (e.g. 10 stop filter) and take a long exposure photo (on a tripod) near evening, and also down near water level and this would blur the water to an almost glass-like look (sometimes if the water is a bit more active you get a foggy look.)  Use of a circular polarizer (CPL) can help tune out the reflection of the water and make it easier to see the bottom through the water.  You mentioned you have the Peterson book (I assume you are referring to Bryan Peterson's "Understand Exposure").  In that book you'll learn how to shoot in "manual" mode.  I think everyone should learn how to shoot in manual mode and then learn how to to decide when to use fast shutter speeds vs. slow shutter speeds or narrow apertures vs. wide apertures for creative impact.  Once you know "how" to control your cmaera for impact, you don't have to use just "manual" -- I use almost all the modes on my camera.   There's a book I like on composition by Michael Freeman called "The Photographer's Eye:  Compositon and Design for Better Digital Photos".   Take some time to read... then take a LOT of time to go shoot and practice.  Some people are strong advocates of "just get out and shoot".  I prefer to shoot with a purpose... read something, then go try to apply that one thing (rather than justing out with no specific goal).   That helps because you can come home, review your shots, and decide how well you achieved your goal (make the goals things that you can realistically achieve.)

  • I've attached a picture taken in Ireland, can you take a look. Can only attach one picture??

    thank  you to all who helped me with my lens issues. I have gotten the Peterson book, and reading it intently. I'm attaching a  picture taken in Ireland last year. Can you all take a look?. Used my 5DM3 with the EF 24-105mm 1.5.  

    thank  you to all who helped me with my lens issues. I have gotten the Peterson book, and reading it intently. I'm attaching a  picture taken in Ireland last year. Can you all take a look?. Used my 5DM3 with the EF 24-105mm 1.5.  

  • I have a problem when sending an email. It takes minutes just to put in the receivers address. More Below:

    I can put the first letter of the address instantly, but I cannot put the rest of the address in after the first letter. It takes minutes just to put in the full address. What is wrong? Address for answer is [email protected]

    Something is wrong
    We could not activate your account. Please make sure that you have clicked the correct link in your email or typed in the correct address.
    And my new post is not on the forum. It's titled "how do I get rid of the blank space at the bottom of the new Firefox menu?"

  • Can you take a look at my code.. help if possible..

    hi,
    i need help on my address book.. im trying to make an addressbook gui..
    it should:
    - save the info inputed by the user from a textbox to a .txt file
    - display the names of saved persons from the txt file to the jlist, so even if i close the program and run it again, it should display the names of the persons saved so far
    - display the info when you click on the person on the jlist via the given textboxes
    - a working scrollbar
    here is my code, there could be lines that does nothing, probably caused by me trying stuffs and forgot to remove them:
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.JList;
    import java.awt.event.ActionListener;
    import java.io.*;
    import javax.swing.event.*;
    import java.io.FilterInputStream;
    public class AddressList extends JPanel implements ActionListener
         JTextField txt1 = new JTextField();
         JTextField txt2 = new JTextField();
         JTextField txt3 = new JTextField();
         DefaultListModel mdl = new DefaultListModel();
         JList list = new JList();
         JScrollPane listScroller = new JScrollPane(list);
         ListSelectionModel listSelectionModel;
         File fob = new File("Address3.txt");
         String name;
         char[] chars;     
         public void ListDisplay() //*this one should display the saved names whenever i run the gui, doesnt seem to work
              try
                   RandomAccessFile rand = new RandomAccessFile(fob,"rw");
                   BufferedReader br = new BufferedReader(new FileReader("Address3.txt"));
                   if(fob.exists())
                         while((name = rand.readLine()) != null)
                              chars = name.toCharArray();
                              if(chars[0] == '*')
                                   mdl.addElement(name);
                                   list.setModel(mdl);
                              if(chars[0] == '#')
                                   continue;
                    else
                        System.out.println("No such file..");
              catch(IOException a)
                         System.out.println(a.getMessage());
         public AddressList()
              this.setLayout(null);
              listSelectionModel = list.getSelectionModel();
            listSelectionModel.addListSelectionListener(new ListInfo());
              list.setBounds(10,40,330,270);
              listScroller.setBounds(320,40,20,100);
              add(list);
              add(listScroller);
              JLabel lbl4 = new JLabel("Name: ");
              lbl4.setBounds(400,10,80,30);
              add(lbl4);
              JLabel lbl5 = new JLabel("Cellphone #: ");
              lbl5.setBounds(400,50,80,30);
              add(lbl5);
              JLabel lbl6 = new JLabel("Address: ");
              lbl6.setBounds(400,90,80,30);
              add(lbl6);
              JLabel lbl7 = new JLabel("List ");
              lbl7.setBounds(10,10,100,30);
              add(lbl7);
              txt1.setBounds(480,10,200,30);
              add(txt1);
              txt2.setBounds(480,50,200,30);
              add(txt2);
              txt3.setBounds(480,90,200,30);
              add(txt3);
              JButton btn1 = new JButton("Add");
              btn1.setBounds(480,130,100,30);
              btn1.addActionListener(this);
              btn1.setActionCommand("Add");
              add(btn1);
              JButton btn2 = new JButton("Save");
              btn2.setBounds(480,170,100,30);
              btn2.addActionListener(this);
              btn2.setActionCommand("Save");
              add(btn2);
              JButton btn3 = new JButton("Cancel");
              btn3.setBounds(480,210,100,30);
              btn3.addActionListener(this);
              btn3.setActionCommand("Cancel");
              add(btn3);
              JButton btn4 = new JButton("Close");
              btn4.setBounds(480,250,100,30);
              btn4.addActionListener(this);
              btn4.setActionCommand("Close");
              add(btn4);
         public static void main(String[]args)
              JFrame frm = new JFrame("Address List");
              AddressList panel = new AddressList();
              frm.getContentPane().add(panel,"Center");
              frm.setSize(700,350);
              frm.setVisible(true);
         public void actionPerformed(ActionEvent e)
              String cmd;
              cmd = e.getActionCommand();
              if(cmd.equals("Add"))
                   txt1.setText("");
                   txt2.setText("");
                   txt3.setText("");
              else if(cmd.equals("Save"))
                   mdl.addElement(txt1.getText());
                   list.setModel(mdl);
                   try
                   RandomAccessFile rand = new RandomAccessFile(fob,"rw");
                   BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                   LineNumberReader line = new LineNumberReader(br);
                    if(fob.exists())
                              rand.seek(fob.length());
                              rand.writeBytes("* " + txt1.getText());
                              rand.writeBytes("\r\n" + "# " + txt2.getText());
                              rand.writeBytes("\r\n" + "# " + txt3.getText() + "\r\n");
                    else
                         System.out.println("No such file..");
                        txt1.setText("");
                        txt2.setText("");
                        txt3.setText("");
                    catch(IOException a)
                         System.out.println(a.getMessage());
              else if(cmd.equals("Cancel"))
                   txt1.setText("");
                   txt2.setText("");
                   txt3.setText("");
              else if(cmd.equals("Close"))
                   System.exit(0);
    class ListInfo implements ListSelectionListener
         public void valueChanged(ListSelectionEvent e)
              ListSelectionModel lsm = (ListSelectionModel)e.getSource();
              int minIndex = lsm.getMinSelectionIndex();
            int maxIndex = lsm.getMaxSelectionIndex();
              try //*this one should display the info of the person whenever i click the person's name at the list box via textbox.. but i cant seem to get it right since it always display the info of the first person inputed.. i tried to get the program to display them whenever it reads lines with * on them....
                   File fob = new File("Address3.txt");
                   RandomAccessFile rand = new RandomAccessFile(fob,"rw");
                   BufferedReader br = new BufferedReader(new FileReader("Address3.txt"));
                   LineNumberReader line = new LineNumberReader(br);
                   if(fob.exists())
                              for(int i = minIndex; i<=maxIndex; i++)
                                   if(lsm.isSelectedIndex(i))
                                        while((name = rand.readLine()) != null)
                                             chars = name.toCharArray();
                                             if(chars[0] == '#')
                                                  continue;
                                             if(chars[0] == '*')
                                                  txt1.setText(rand.readLine());
                                                 txt2.setText(rand.readLine());
                                                 txt3.setText(rand.readLine());
                    else
                              System.out.println("No such file..");
              catch(IOException a)
                         System.out.println(a.getMessage());
    }thanks in advance if you can help me..

    well..
    almost everything works.. the only problems i have are:
    1)a working scrollbar - i dont know how to make it work, something about the setBounds or wrong method
    2)displays the saved names on the jlist whenever i run the program - something wrong with this one, i couldnt get to display
    their names on the jlist. i tried to make it read the whole file and read the lines with * on them (marks the name inputs)
    3)displays the saved info about the person whenever i click its name on the jlist via txtbox - ive tried making it read the following lines
    from the lines with * ( dunno if its the right thing ) or maybe a loop. anything that can fix it.

  • Can you take a look pls.....urgent

    i'm writing a tax calculator applet i've no compilation errors but my applet doesn't seems to run. can u guys pls help....
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class TaxCal extends Applet implements ActionListener {
         private TextField txtIncome, txtAge, txtChild, txtParent, txtCourse, txtMaid, txtPay;
         private Button b2, b3;
         private Calculate calc;
         public void init() {
                   setBackground(Color.lightGray);
                   /* Create the input boxes, and make sure that the background
                   color is white. (On some platforms, it is automatically.) */
                   txtIncome = new TextField(10);
                   Panel incomePanel = new Panel();
                   incomePanel.setLayout(new BorderLayout(2,2));
                   incomePanel.add( new Label("Input your annual income"), BorderLayout.WEST );
              incomePanel.add(txtIncome, BorderLayout.CENTER);
                   txtAge = new TextField(2);
                   Panel agePanel = new Panel();
                   agePanel.setLayout(new BorderLayout(2,2));
                   agePanel.add( new Label("Input your age"), BorderLayout.WEST );
                   agePanel.add(txtAge, BorderLayout.CENTER);
                   txtChild = new TextField(2);
                   Panel childPanel = new Panel();
                   childPanel.setLayout(new BorderLayout(2,2));
                   childPanel.add( new Label("Number of children"), BorderLayout.WEST );
                   childPanel.add(txtChild, BorderLayout.CENTER);
                   txtParent = new TextField(1);
                   Panel parentPanel = new Panel();
                   parentPanel.setLayout(new BorderLayout(2,2));
                   parentPanel.add( new Label("Number of parent that live with you"), BorderLayout.WEST );
                   parentPanel.add(txtParent, BorderLayout.CENTER);
                   txtCourse = new TextField(5);
                   Panel coursePanel = new Panel();
                   coursePanel.setLayout(new BorderLayout(2,2));
                   coursePanel.add( new Label("Course fee"), BorderLayout.WEST );
                   coursePanel.add(txtCourse, BorderLayout.CENTER);
                   txtMaid = new TextField(5);
                   Panel maidPanel = new Panel();
                   maidPanel.setLayout(new BorderLayout(2,2));
                   maidPanel.add( new Label("Maid levy paid"), BorderLayout.WEST );
                   maidPanel.add(txtMaid, BorderLayout.CENTER);
                   txtPay = new TextField(10);
                   txtPay.setEditable(false);
                   Panel payPanel = new Panel();
                   payPanel.setLayout(new BorderLayout(2,2));
                   payPanel.add( new Label("Please pay"), BorderLayout.WEST );
                   payPanel.add(txtPay, BorderLayout.CENTER);
                   Panel buttonPanel = new Panel();
                   buttonPanel.setLayout(new GridLayout(1,3));
                   Button b2 = new Button("Reset");
                   b2.addActionListener(this);     // register listener
                   buttonPanel.add(b2);
                   Button b3 = new Button("Calculate");
                   b3.addActionListener(this);     // register listener
                   buttonPanel.add(b3);
                   /* Set up the layout for the applet, using a GridLayout,
              and add all the components that have been created. */
              setLayout(new GridLayout(8,2));
                   add(incomePanel);
                   add(agePanel);
                   add(childPanel);
                   add(parentPanel);
              add(coursePanel);
              add(maidPanel);
              add(payPanel);
              add(buttonPanel);
              /* Try to give the input focus to txtIncome, which is
              the natural place for the user to start. */
              txtIncome.requestFocus();
              } // end init()
         public TaxCal() {
         calc = new Calculate();
         public Insets getInsets() {
    // Leave some space around the borders of the applet.
         return new Insets(2,2,2,2);
         // event handler for ActionEvent
         public void actionPerformed (ActionEvent e) {
              String s = e.getActionCommand();
              if (s.equals("Calculate"))
                   //double income = calc.GetIncome(txtIncome.getText());
                   double age = calc.GetAge(txtAge.getText());
                   double child = calc.GetChild(txtChild.getText());
                   double parent = calc.GetParent(txtParent.getText());
                   double course = calc.GetCourse(txtCourse.getText());
                   double maid = calc.GetMaid(txtMaid.getText());
                   double relief = calc.GetRelief(age, child, parent, course, maid);
                   double result = calc.GetResult(txtIncome.getText(), relief);
                   txtPay.setText("$" + Double.toString(result));
              else
                   txtIncome.setText("");
                   txtAge.setText("");
                   txtChild.setText("");
                   txtParent.setText("");
                   txtCourse.setText("");
                   txtMaid.setText("");
                   txtPay.setText("");
    }     // end actionPerformed()
    public class Calculate
    private double income;
    private double age, ageRelief;
    private double child, childRelief;
    private double parent, parentRelief;
    private double course, courseRelief;
    private double maid, maidRelief;
    private double totalRelief;
    private double result;
    public Calculate()
    income = 0;
    age = 0;
    ageRelief = 0;
    child = 0;
    childRelief = 0;
    parent = 0;
    parentRelief = 0;
    course = 0;
    courseRelief = 0;
    maid = 0;
    maidRelief = 0;
    totalRelief = 0;
    result = 0;
    public double GetAge(String theage) {
    age = Double.parseDouble(theage);
         //determine age relief
         if(age<55)
         ageRelief += 3000;
         else if(age>=55 && age<= 59)
         ageRelief += 8000;
         else
         ageRelief += 10000;
         return ageRelief;
    public double GetChild(String thechild) {
    child = Double.parseDouble(thechild);
         //determine children relief
         if(child<=3)
         childRelief += (child*2000);
         else if(child>3 && child<6)
         childRelief += ((child-3)*500 + 6000);
         else
         childRelief += 0;
         return childRelief;
    public double GetParent(String theparent) {
    parent = Double.parseDouble(theparent);
         //determine parent relief
         if(parent == 1)
         parentRelief += 3000;
         else if(parent ==2)
         parentRelief += 6000;
         else
         parentRelief += 0;
         return parentRelief;
    public double GetCourse(String thecourse) {
    course = Double.parseDouble(thecourse);
         //determine course subsidy
         if(course != 0 ) {
         if(course <= 2500)
         courseRelief += course;
         else
         courseRelief += 2500;
         return courseRelief;
    public double GetMaid(String themaid) {
    maid = Double.parseDouble(themaid);
         //determine maid levy
         if(maid != 0) {
         if(maid <= 4000)
         maidRelief += 2 * maid;
         else
         maidRelief += 0;
         return maidRelief;
    public double GetRelief(double theage, double thechild, double theparent, double thecourse, double themaid) {
         double totalRelief = age + child + parent + course + maid;
         return totalRelief;
    public double GetResult(String theincome, double therelief) {
         income = Double.parseDouble(theincome);
         totalRelief = therelief;
         income =- totalRelief;
         if (income <= 7500)
         result = income * .02;
         else if (income > 7500 && income <= 20000)
         result = 150 + ((income - 7500) * .05);
         else if (income > 20000 && income <= 35000)
         result = ((income - 20000) * .08) + 775;
         else if (income> 35000 && income <= 50000)
         result = ((income - 35000) * .12) + 1975;
         else if (income > 50000 && income <= 75000)
         result = ((income - 50000) * .16) + 3775;
         else if (income > 75000 && income <= 100000)
         result = ((income - 75000) * .2) + 7775;
         else if (income > 100000 && income <= 150000)
         result = ((income - 100000) * .22) + 12775;
         else if (income > 150000 && income <= 200000)
         result = ((income - 150000) * .23) + 23775;
         else if (income > 200000 && income <= 400000)
         result = ((income - 200000) * .26) + 35275;
         else if (income > 400000)
         result = ((income - 400000) * .28) + 87275;
         return result;
    } // end of class Calculate
    }      // end class TaxCal

    In order to run an applet you must encapsulate it in a web page using the APPLET tag and open the web page with an internet browser, or include the APPLET tag in the source code of the applet class and run it with the appletviewer.
    In order to run your applet in the appletviewer add this in between the import statements and the class implementation.
    <APPLET Code="TaxCal" width="300" height="300">
    </APPLET>
    Good Luck.

  • Miguel Sousa:  can you take a look, please?

    Hi Miguel,
    Would you be so kind as to look at this very old thread in the Typography forum?
    http://forums.adobe.com/message/1117170#1117170
    The god-awful mess at the Adobe Type Store is embarrassing and makes it impossible to evaluate any and all glyphs in each typeface needed to set text in Spanish, Portuguese, Italian, German, etc.
    Thanks in advance.

    Nómar,
    Thanks for bringing this up. I've replied on that thread.

  • Since downloading IOS6 I cannot receive or send emails, can you help

    Since downloading IOS6 I cannot receive or send emails, can you help

    I've done that. But the settings "mail, contacts, calendar" are still disabled. For example, if I want to add a new mail account, I can not do it. Because the option "add account" is as if it's turned off, disabled, as well as my other accounts above this ...
    The rest of the IOS6 everything worked out, but with the native Mail app is complicated ...

  • Problem when send an email with mail client!

    Hi!
    My mail server have MTA front end and Message Store back end with version:
    ./imsimta version
    Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)
    libimta.so 7u2-7.02 64bit (built 02:28:03, Apr 16 2009)
    Using /opt/sun/comms/messaging64/config/imta.cnf (compiled)
    SunOS SMSG 5.10 Generic_139556-08 i86pc i386 i86pcMy users and I are having problem following: Send an email very slow, mail client is connected to front end but mail is not delivered, after that, I stop and resend this email several times then it is can delivered. While the mail was not send, i can telnet to front end with port 25. My users and I are using Thunderbird and Microsoft Outlook. What is problem on my mail server ?
    I see time on MTA front end and Message Store are not synchronized, maybe this could be the problem?
    Thanks!

    NguyenPhuc wrote:
    Are you using any kind of MTA spam filter plugin?I removed plugin spam filter, now on MTA server don't have plugin spam or virus !Are you saying you did have a spam filter plugin enabled (if so which one(s)) and you have just disabled it?
    Are you receiving an excessive number of emails?No, total of number messages in my mailbox is about 1000 emails.I meant is the MTA receiving a large number of emails -- i.e. do you see a lot of emails coming in (mail.log_current)?
    Also try the following and see where the delay in accepting emails occurs:
    telnet <mta> 25
    mail from: [email protected]
    rcpt to: [email protected]
    data
    Subject: test email
    To: [email protected]
    From: [email protected]
    body
    .e.g.
    -bash-3.00# telnet server 25
    Trying 10.15.10.33...
    Connected to server.aus.sun.com.
    Escape character is '^]'.
    220 server.aus.sun.com -- Server ESMTP (Sun Java(tm) System Messaging Server 7u3-16.01 64bit (built Apr  6 2010))
    mail from: [email protected]
    250-2.5.0 No HELO/EHLO seen; continuing anyway, [10.15.10.33].
    250 2.5.0 Address Ok.
    rcpt to: [email protected]
    250 2.1.5 [email protected] OK.
    data
    354 Enter mail, end with a single ".".
    To: [email protected]
    From: [email protected]
    body
    250 2.5.0 Ok, envelope id [email protected]
    quit
    221 2.3.0 Bye received. Goodbye.
    Connection to server.aus.sun.com closed by foreign host.Regards,
    Shane.

  • HAVE A PROBLEM WHEN SENDING AN EMAIL IT STATES IT DOES NOT ALLOW RELAYING

    HAVE A PROBLEM WHEN SENDING AN EMAIL IT STATES IT DOES NOT ALLOW RELAYING

    You have either entered the wrong SMTP server info or they have blocked the sending of e-mails from outside their network. That message indicates that you are not permitted to send through that server from the network you are using to connect.
    Contact them again. There is no magic that will allow you to bypass this.

  • Regarding receiving texts as emails:  Can you apply this setting to one individual? I want to continue to receive texts from everyone else except one person!

    Regarding receiving texts as emails:  Can you apply this setting to one individual? I want to continue to receive texts from everyone else except one person!

    Don't want to block the person, just have all his texts going directly to my email so that I can maintain a continuous record of his text contacts (rather than remain in text form).
    It appears that I must select an option that makes ALL texts go to email, which I'd prefer not doing.

  • HT4061 i us iphon in syria and i have problem in the mic how can you help me

    i us iphon in syria and i have problem in the mic how can you help me

    Try to Reset it (hold down the home and sleep buttons, ignore the red off slider, wait for the Apple logo, let go of the buttons).
    If that does not work try Restoring it in iTunes.
    Still no go? You will need to get it serviced.

  • Lightroom doesn't recognize mine camera Nikon  D800 E to shoot tethering. There is no problem with mine laptop. Can you help me?

    Lightroom doesn't recognize mine camera, the Nikon D800 E to shoot tethering. There is no problem with mine laptop. Can you help me with this issue?
    Ronald ( the Netherlands)

    Sure the laptop know's that the Nikon D800E is connected, but lightroom doesn't recognise this camera. Two weeks a go it wasn't a problem at all.

  • Sir you have replied for my question, and i updated my software and all those things, yet it is showing unable to connect network, but i can use internet by sim, is it the problem related with hardware? can you tell me a solution for it?

    sir you have replied for my question, and i updated my software and all those things, yet it is showing unable to connect network, but i can use internet by sim, is it the problem related with hardware? can you tell me a solution for it?

    you seem to be referring to an ongoing issue
    click here to respsond -> sir help me to enable my network connection, my iphone 4s is not connecting with any wireless connection, what i should do for enabling network connection?
    CCC

Maybe you are looking for

  • Baseline Date issue via FB60

    Hi SAP experts, Can anybody help with the issue below: FB60 (vendor invoice) was entered. Invoice Date entered manually by accident with date 01/04/2020 Baseline date is used automatically as Invoice Date 01/04/2020 Date was corrected manually in tab

  • Adobe not rendering the current timeline, but a cached version?

    Hello! This is driving me up the wall, and costing me a great deal of time, so any help would be appreciated.  Inside my Adobe Premiere project I have a referenced composition from Adobe After Effects. Every now and then I need to tweak the After Eff

  • I can't open the iTunes apps I've downloaded onto my Macbook

    Hi. I've downloaded a half dozen apps from iTunes onto my MacBook Air and I see them in my iTunes library under "Apps." But when I click on them nothing happens except that they get highlighted. That's it. I can't open them and use them. How do I ope

  • Cumulitive Purchase details

    Dear all, Is there any cumulitive purchase report which shows the report for all the months in one screen (Now i am getting report from MC$G which is month wise only) Regards, Manish Jain

  • How can I more efficentley find the right SAP candidates?

    My name is Robert Hernandez and I am Head of Business Development for a boutique firm in Greenwood Village Colorado. My recruiting team is searching for the following opportunities:      1) Global SAP IT Integration Director      2) Global SAP IT Tra