Java Software Solutions book programming projects

hey. if any of you have heard of this book you know that theres programming projects at the end of each chapter. if any of you might know a website that has solutions to these projects, could you please post a link for me. it would really help a lot. thanks

I have no delusion of the reality in programming. However, one has to acknowledge that some programming requirements are more concretely specified than others. I have done programming exercises in C++ (quite sometime ago and in class) that are defined in few pages. Many programming exercises in the book I mentioned are given just only in a few sentences to a page. There are also programming exercises that are defined in a way that the correctness of a solution can be verified more easily.
I am a novice in Java and have not done any program for quite some time, and I am learning the language alone. I want to ask an experienced Java programmer such as you that if there are better sources available for me to get some programming experience other than the programming exercises available in this book. Is there such a resource available? Could you point me to one?
Please don't take this personally. I am just frustrated.

Similar Messages

  • My wife has been having problems with Safari, and many third party software and malware programs infecting her Mac Book Pro.

    My wife has been having problems with Safari, and many third party software and malware programs infecting her Mac Book Pro. I have tried to reset Safari but it keeps coming back, taking over Safari, changing defaults, start pages, and search engines, Etc.
    Is it safe to use programs like MacKeeper, who keeps send my wife's computer message and alerts, or should I just wipe the drive and start over?
    Skip

    I am having lot's of lag time with Safari, etc..
    I'll type in a website.. and it will take 15-20 seconds to start..
    Start time: 17:51:37 12/02/14
    Model Identifier: MacBookPro11,3
    System Version: OS X 10.10.1 (14B25)
    Kernel Version: Darwin 14.0.0
    Time since boot: 14 days 3:02
    USB
       My Passport 07B8 (Western Digital Technologies, Inc.)
    Diagnostic reports
       2014-11-13 QuickLookSatellite crash x2
       2014-11-21 com.apple.WebKit.Plugin.64 crash
    Log
       Nov 30 21:32:39 PM notification timeout (pid 345, Adobe CEF Helper)
       Nov 30 21:32:39 PM notification timeout (pid 99018, CEPHtmlEngine)
       Nov 30 21:32:39 PM notification timeout (pid 99019, CEPHtmlEngine He)
       Dec  1 09:09:03 [[0xffffff802bfa4000]  OpCode 0x0C01 (Set Event Mask) from: kernel_task (0)  Synchronous  status: 0x00 (kIOReturnSuccess) state: 2 (BUSY) timeout: 5000] Bluetooth warning: An HCI Req timeout occurred.
       Dec  1 09:52:03 PM notification timeout (pid 266, Creative Cloud)
       Dec  1 09:52:03 PM notification timeout (pid 346, Adobe CEF Helper)
       Dec  1 09:52:03 PM notification timeout (pid 345, Adobe CEF Helper)
       Dec  1 10:04:37 process WindowServer[114] caught causing excessive wakeups. Observed wakeups rate (per sec): 170; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 12755007
       Dec  1 10:31:08 ALF: ifnet_get_address_list_family error 12
       Dec  1 10:59:17 process Meeting Center[2921] caught causing excessive wakeups. Observed wakeups rate (per sec): 647; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45104
       Dec  1 12:24:35 process com.apple.WebKit[4567] caught causing excessive wakeups. Observed wakeups rate (per sec): 297; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 76962
       Dec  1 14:31:01 process com.apple.WebKit[7400] caught causing excessive wakeups. Observed wakeups rate (per sec): 397; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 53188
       Dec  1 14:43:52 process com.apple.WebKit[7400] caught causing excessive wakeups. Observed wakeups rate (per sec): 224; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 150084
       Dec  1 14:47:34 process com.apple.WebKit[7400] caught causing excessive wakeups. Observed wakeups rate (per sec): 332; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 222103
       Dec  1 15:03:29 process com.apple.WebKit[7400] caught causing excessive wakeups. Observed wakeups rate (per sec): 214; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 370572
       Dec  1 16:38:03 SIOCPROTODETACH_IN6: utun2 error=6
       Dec  1 16:38:08 SIOCPROTODETACH_IN6: utun2 error=6
       Dec  1 20:08:30 jnl: disk3s2: replay_journal: from: 112328704 to: 113115136 (joffset 0x3a38000)
       Dec  1 20:08:30 jnl: disk3s2: journal replay done.
       Dec  1 20:27:11 com.adobe.acc.AdobeCreativeCloud.75292.UUID: Service exited with abnormal code: 5
       Dec  2 08:23:00 process com.apple.WebKit[11891] caught causing excessive wakeups. Observed wakeups rate (per sec): 161; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 527508
       Dec  2 09:29:37 firefox (map: 0xffffff80317c5960) triggered DYLD shared region unnest for map: 0xffffff80317c5960, region 0x7fff9ae00000->0x7fff9b000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
       Dec  2 10:04:39 SIOCPROTODETACH_IN6: utun2 error=6
       Dec  2 10:04:44 SIOCPROTODETACH_IN6: utun2 error=6
       Dec  2 16:42:24 process com.apple.WebKit[26151] caught causing excessive wakeups. Observed wakeups rate (per sec): 153; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45002
    Swap (MiB): 41556
    Activity
       Net: 210 in, 20 out (KiB/s)
    Memory: kernel_task (UID 0) is using 1632 MB
    kexts
       com.cisco.kext.acsock (1.1.0)
       com.wdc.driver.USB.64.10.9 (1.0.1)
    Daemons
       com.cisco.anyconnect.vpnagentd
       com.oracle.java.JavaUpdateHelper
       com.apple.installer.osmessagetracing
       com.microsoft.office.licensing.helper
       com.google.keystone.daemon
       com.wdc.WDSmartWareService
       com.oracle.java.Helper-Tool
       com.adobe.fpsaud
       com.wdc.SmartwareDriveService
    Agents
       com.adobe.AdobeCreativeCloud
       com.zimbra.desktop
       com.citrix.ServiceRecords
       com.google.keystone.system.agent
       com.apple.photostream-agent
       com.genieo.completer.download
       com.genieo.completer.update
       com.cisco.anyconnect.gui
       com.citrix.ReceiverHelper
       com.citrix.AuthManager_Mac
       com.citrix.FMDAgent.14800.UUID
       com.oracle.java.Java-Updater
       com.fiplab.MailTabProHelper
       com.adobe.PDApp.AAMUpdatesNotifier.74724.UUID
       com.citrixonline.GoToMeeting.G2MUpdate
       com.apple.AirPortBaseStationAgent
       com.microsoft.SyncServicesAgent
    Startup items
       /System/Library/StartupItems/ciscod/ciscod
       /System/Library/StartupItems/ciscod/StartupParameters.plist
    Bundles
       /System/Library/Extensions/hp_fax_io.kext
       - com.hp.kext.hp-fax-io
       /System/Library/Extensions/hp_Inkjet1_io_enabler.kext
       - com.hp.print.hpio.Inkjet1.kext
       /System/Library/Extensions/hp_Inkjet4_io_enabler.kext
       - com.hp.print.hpio.Inkjet4.kext
       /System/Library/Extensions/hp_Inkjet8_io_enabler.kext
       - com.hp.print.hpio.inkjet8.kext
       /System/Library/Extensions/JMicronATA.kext
       - com.jmicron.JMicronATA
       /System/Library/Extensions/WD1394_64_109HPDriver.kext
       - com.wdc.driver.1394.64.10.9
       /System/Library/Extensions/WDUSB_64_109HPDriver.kext
       - com.wdc.driver.USB.64.10.9
       /Library/Extensions/hp_io_printerclassdriver_enabler.kext
       - com.hp.hpio.hp-io-printerclassdriver-enabler
       /Library/Internet Plug-Ins/AdobeAAMDetect.plugin
       - com.AdobeAAMDetectLib.AdobeAAMDetect
       /Library/Internet Plug-Ins/CitrixICAClientPlugIn.plugin
       - com.citrix.citrixicaclientplugIn
       /Library/Internet Plug-Ins/Flash Player.plugin
       - N/A
       /Library/Internet Plug-Ins/googletalkbrowserplugin.plugin
       - com.google.googletalkbrowserplugin
       /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
       - com.oracle.java.JavaAppletPlugin
       /Library/Internet Plug-Ins/npg.plugin
       - npg.graphon.com
       /Library/Internet Plug-Ins/o1dbrowserplugin.plugin
       - com.google.o1dbrowserplugin
       /Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
       - com.microsoft.sharepoint.browserplugin
       /Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin
       - com.microsoft.sharepoint.webkitplugin
       /Library/Internet Plug-Ins/Silverlight.plugin
       - com.microsoft.SilverlightPlugin
       /Library/Internet Plug-Ins/SlingPlayer.plugin
       - com.slingmedia.slingplayer.plugin.nspapi
       /Library/PreferencePanes/Flash Player.prefPane
       - com.adobe.flashplayerpreferences
       /Library/PreferencePanes/FMDSysPrefPane.prefPane
       - Citrix.FMDSysPrefPane
       /Library/PreferencePanes/JavaControlPanel.prefPane
       - com.oracle.java.JavaControlPanel
       /Library/PreferencePanes/WDQuickViewPrefsPane.prefPane
       - com.westerndigital.quickview.prefpanel
       /Library/PreferencePanes/Zimbra.prefPane
       - com.zimbra.prefpanel
       /Library/ScriptingAdditions/Adobe Unit Types.osax
       - N/A
       Library/Address Book Plug-Ins/SkypeABDialer.bundle
       - com.skype.skypeabdialer
       Library/Address Book Plug-Ins/SkypeABSMS.bundle
       - com.skype.skypeabsms
       Library/Internet Plug-Ins/CitrixOnlineWebDeploymentPlugin.plugin
       - com.citrixonline.mac.WebDeploymentPlugin
       Library/Internet Plug-Ins/Google Earth Web Plug-in.plugin
       - com.Google.GoogleEarthPlugin.plugin
       Library/Internet Plug-Ins/WebEx.plugin
       - com.webex.WebEx
       Library/Internet Plug-Ins/WebEx.plugin/Contents/Resources
       - com.webex.WebEx
       Library/Internet Plug-Ins/WebEx64.plugin
       - com.cisco_webex.plugin.gpc64
    dylibs
       /usr/lib/libaudioc.dylib
       /usr/lib/libclipc.dylib
       /usr/lib/libcs.dylib
       /usr/lib/libdc.dylib
       /usr/lib/libfilec.dylib
       /usr/lib/libMonoPosixHelper.dylib
       /usr/lib/libpbr.dylib
       /usr/lib/libprintc.dylib
       /usr/lib/libsc.dylib
       /usr/lib/libSFFileMonitor.32.dylib
       /usr/lib/libSFIPC.32.dylib
       /usr/lib/libSFIPC.I.dylib
       /usr/lib/libSFsqlite3.7.4.dylib
       /usr/lib/libSFSyncEngine.I.dylib
       /usr/lib/libupc.dylib
    App extensions
       it.bloop.airmail.beta10.Airmail-Today-Beta
       it.bloop.airmail.beta10.Airmail-Composer-Beta
       com.wunderkinder.wunderlistdesktop.sharingextension
       com.wunderkinder.wunderlistdesktop.todayextension
       com.readitlater.PocketMac.AddToPocketShareExtension
       com.stylemac.instadesk.Photodesk-Feed
       it.bloop.airmail.beta10.Airmail-Share-Beta
    Apps
       /Applications/Uninstall IM Completer.app
    Contents of /Library/LaunchAgents/com.cisco.anyconnect.gui.plist (checksum 1087717482)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>KeepAlive</key>
        <dict>
        <key>PathState</key>
        <dict>
        <key>/opt/cisco/anyconnect/gui_keepalive</key>
        <true/>
        </dict>
        </dict>
        <key>Label</key>
        <string>com.cisco.anyconnect.gui</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
        <string>open</string>
        <string>--wait-apps</string>
        <string>/Applications/Cisco/Cisco AnyConnect Secure Mobility Client.app</string>
        </array>
       </dict>
       </plist>
    Contents of /Library/LaunchAgents/com.citrix.AuthManager_Mac.plist (checksum 1591517921)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>ServiceIPC</key>
        <true/>
        <key>MachServices</key>
        <dict>
        <key>com.citrix.AuthManager_Mac</key>
        <true/>
        </dict>
        <key>Label</key>
        <string>com.citrix.AuthManager_Mac</string>
        <key>WaitForDebugger</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/local/libexec/AuthManager_Mac.app/Contents/MacOS/AuthManager_Mac</ string>
        </array>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>Disabled</key>
        <false/>
       </dict>
       </plist>
    Contents of /Library/LaunchAgents/com.citrix.ReceiverHelper.plist (checksum 676087606)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.citrix.ReceiverHelper</string>
        <key>RunAtLoad</key>
        <true/>
        <key>KeepAlive</key>
        <dict>
        <key>SuccessfulExit</key>
        <false/>
        </dict>
        <key>WaitForDebugger</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/local/libexec/ReceiverHelper.app/Contents/MacOS/ReceiverHelper</st ring>
        </array>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>Disabled</key>
        <false/>
       </dict>
       </plist>
    Contents of /Library/LaunchAgents/com.citrix.ServiceRecords.plist (checksum 1445213025)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>ServiceIPC</key>
        <true/>
        <key>MachServices</key>
        <dict>
        <key>com.citrix.Beacons</key>
        <true/>
        <key>com.citrix.ServiceRecords</key>
        <true/>
        </dict>
        <key>Label</key>
        <string>com.citrix.ServiceRecords</string>
        <key>RunAtLoad</key>
        <true/>
        <key>KeepAlive</key>
        <true/>
        <key>WaitForDebugger</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/local/libexec/ServiceRecords.app/Contents/MacOS/ServiceRecords</st ring>
        </array>
       ...and 8 more line(s)
    Contents of /Library/LaunchAgents/com.oracle.java.Java-Updater.plist (checksum 3453356730)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.oracle.java.Java-Updater</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater</string>
        <string>-bgcheck</string>
        </array>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
        <key>StartCalendarInterval</key>
        <dict>
        <key>Hour</key>
        <integer>9</integer>
        <key>Minute</key>
        <integer>57</integer>
        <key>Weekday</key>
        <integer>3</integer>
        </dict>
       </dict>
       ...and 1 more line(s)
    Contents of /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist (checksum 2630047092)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN
       http://www.apple.com/DTDs/PropertyList-1.0.dtd >
       <plist version="1.0">
       <dict>
            <key>Label</key>
            <string>com.cisco.anyconnect.vpnagentd</string>
            <key>ProgramArguments</key>
            <array>
                 <string>/opt/cisco/anyconnect/bin/vpnagentd</string>
                 <string>-execv_instance</string>
            </array>
            <key>KeepAlive</key>
            <true/>
            <key>RunAtLoad</key>
            <true/>
            <key>AbandonProcessGroup</key>
            <true/>
            <key>EnableTransactions</key>
            <false/>
       </dict>
       </plist>
    Contents of /Library/LaunchDaemons/com.wdc.SmartwareDriveService.plist (checksum 2733252498)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.wdc.SmartwareDriveService</string>
        <key>Program</key>
        <string>/Library/Application Support/WD SmartWare Services/SmartwareDriveService</string>
        <key>RunAtLoad</key>
        <true/>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
       </dict>
       </plist>
    Contents of /Library/LaunchDaemons/com.wdc.WDSmartWareService.plist (checksum 1153517838)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.wdc.WDSmartWareService</string>
       <!-- <key>Program</key>
        <string>/Library/Application Support/WD SmartWare Services/SmartwareServerApp.app/Contents/MacOS/SmartwareServiceApp</string> -->
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/WD SmartWare Services/SmartwareServiceApp.app/Contents/MacOS/SmartwareServiceApp</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
       </dict>
       </plist>
    Contents of Library/LaunchAgents/com.genieo.completer.download.plist (checksum 1894818845)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.genieo.completer.download</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Users/USER/Library/Application Support/com.genieoinnovation.Installer/Completer.app/Contents/MacOS/Installer</ string>
        <string>-trigger</string>
        <string>download</string>
        <string>-isDev</string>
        <string>0</string>
        <string>-installVersion</string>
        <string>15886</string>
        <string>-firstAppId</string>
        <string>19340001</string>
        </array>
        <key>WatchPaths</key>
        <array>
        <string>/Users/USER/Downloads</string>
        </array>
       </dict>
       </plist>
    Contents of Library/LaunchAgents/com.genieo.completer.update.plist (checksum 2339121592)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.genieo.completer.update</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Users/USER/Library/Application Support/com.genieoinnovation.Installer/Completer.app/Contents/MacOS/Installer</ string>
        <string>-trigger</string>
        <string>update</string>
        <string>-isDev</string>
        <string>0</string>
        <string>-installVersion</string>
        <string>15886</string>
        <string>-firstAppId</string>
        <string>19340001</string>
        </array>
        <key>StartInterval</key>
        <integer>86400</integer>
       </dict>
       </plist>
    Contents of Library/LaunchAgents/com.microsoft.LaunchAgent.SyncServicesAgent.plist (checksum 3051698494)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>KeepAlive</key>
        <false/>
        <key>Label</key>
        <string>com.microsoft.SyncServicesAgent</string>
        <key>OnDemand</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Microsoft Office 2011/Office/SyncServicesAgent.app/Contents/MacOS/SyncServicesAgent</string>
        </array>
       </dict>
       </plist>
    Contents of Library/LaunchAgents/com.zimbra.desktop.plist (checksum 3676173668)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
               <key>Label</key>
               <string>com.zimbra.desktop</string>
               <key>ProgramArguments</key>
               <array>
                       <string>/Users/USER/Library/Zimbra Desktop/bin/zdesktop</string>
                       <string>start</string>
                       <string>-w</string>
               </array>
       

  • AFTER INSTALLING A RECENT JAVA SOFTWARE UPDATE (TROJAN HORSE) UNABLE TO SCCESS SEVERAL BOOK MARKED PAGES. ANY SUGGESTIONS

    After installing a recent java software update(trojan horse) have not been able to open several bookmarked pages.

    Was this the Security Update that disabled Java in the Browsers?
    If so & you need Java, just reverse these unchecks to checks...
    http://support.apple.com/kb/HT5241?viewlocale=en_US
    http://support.google.com/chrome/bin/answer.py?hl=en-GB&answer=142064
    http://support.mozilla.org/en-US/kb/How%20to%20turn%20off%20Java%20applets

  • Infocentroid Software Solutions pvt. ltd. Complaints

    Infocentroid Software Solutions Pvt. Ltd. Complaints and Query will help us to give you the best solution for all software and web development.
    Infocentroid Software Solutions Pvt Ltd is a software development division company providing Business software solution and Web Portal solutions. We enable efficient commercial transactions from business to customer to private one to one marketing solutions.
    Quality industrial training, corporate training and major project training which is done on the live projects of the company, are our services which are provided to our clients to make their business growth worthy.

    <sigh>
    You need activation.jar in your classpath and or
    import javax.activation.*;
    See the JavaMail Readme for more info.
    If you haven't got JAF get it here
    http://java.sun.com/products/javabeans/glasgow/jaf.html
    Rgds,
    SH

  • Can I include java files into my javafx project?

    If I do so, exception always occurs until I delete the created java files.

    Suppose I include the following class in my project (all other classes are of .jx type)
    public interface ServicePortType extends java.rmi.Remote{
        public String getMessage() throws java.rmi.RemoteException;
    }However if I'm trying to run the whole project,
    the following exception occurs:
    Cannot run program "C:\Program Files\Java\jre6\bin\javac.exe": CreateProcess error=2, The system cannot find the file specified
    C:\Documents and Settings\daps-stg\My Documents\NetBeansProjects\ProductionPath\nbproject\build-impl.xml:143: exec returned: -1
    BUILD FAILED (total time: 0 seconds)If I cancel the java source from my javafx project, it runs normally without any bug.
    So how is this happening and what is the potential solution?
    Thx. -- Isaac.

  • Problem with n 79 instal java software

    hi
    i have one problem with my nokia n 79
    when i install a java software or game my device ask me where do u wana install? in memory card or memory phone.its natural.but if i select memory card when the installation finished autorun to start the program and software is disable and when i go to the application list are no icon of that progran to run.but in installation list there is it.so there is any icon andany way to run it.
    its just abouy java program and install to memroy card
    i dont have any problem with symbian in 2 memory and  java when i install it in memory phone
    please help me
    thanks

    dear alzaeem i ran java in before this time when i installed it in memory card
    i dont know whay u say it doesnt run in memory card
    before this i installed every application of java and symbian in memory card with out any problem and after installation icon of them were in application list
    when i install java in memry card i dont have problem with installation and its complete installation and there is the name of that software java in installation list but my problem is that there is any icon of software in application list or every where to start or run it.

  • How can I share a *.java source file across multiple projects in NetBeans?

    I'm sure this simple and a pretty common operation but how can I share a *.java source file across multiple projects in NetBeans? Right now I keep cut, coping and pasting the same source file between multiple projects to re-use the same code. But I could I make this source file a library file or something like that so that I could access it from any project. I assume this would be a generic operation but I mentioned NetBeans for clarity. Thanks.

    fiebigc wrote:
    I know I mentioned NetBeans but I'm most interested in the generic method for creating a library of source files that I can call into whatever program I am developing. I've done such a thing in C using header files and such but I'm trying to get a direction on how this is accomplished in Java. I'm sorry if I could edit the title I would. If anyone wants to be specific about NetBeans I welcome that too.
    Edited by: fiebigc on Jun 20, 2008 5:57 PM
    >I know I mentioned NetBeans but I'm most interested in the generic method for creating a library of source files that I can call into whatever program I am developing. I've done such a thing in C using header files and such but I'm trying to get a direction on how this is accomplished in Java. I'm sorry if I could edit the title I would. If anyone wants to be specific about NetBeans I welcome that too.
    Edited by: fiebigc on Jun 20, 2008 5:57 PM
    Create a class library.
    Write your code, compile it to .class files, put those class files in a .jar file and include the jar file in the classpath whenever you want to compile a project against it.

  • Issue with turning on project 2010 / 2013 - "There is not enough memory to complete the operation. To free up available memory, close programs, projects, or windows you aren't using, and then try again."

    I get the following error after the installation and configuration window of MS Project: "There is not enough memory to complete the operation. To free up available memory, close programs, projects, or windows you aren't using, and then try again."
    It happens both with MS Project 2010 and 2013 on a Windows 7 desktop. 
    I tried installing / uninstalling Office 2010, MS Project, tried installing 32 and then 64 bit versions, clean up, disk error checker, startup changes (msconfig), anti virus, running as Windows 7 and then Windows XP compatible mode. 
    Nothing helps. I see this issue reported as early as 2007 version of MS projects on Microsoft forums, but I do not see any solution anywhere. Any suggestions on how to fix the issue without having to reformat hard drive? Every other application, including
    all other Office programs work seamlessly. 
    I also tried Microsoft support, after an hour and a half of basically doing what I did before, I was told I have to pay 99$ for "premium" support, so someone can look at this bug. 
    I have 16 Gb RAM and more than 200Gb or hard drive free, so actual memory is not the problem. 

    This issue was originally reported with MS Project 2007 and keeps popping up since.
    A quick Google search provides more than 200K pages of results of this issue:
    https://www.google.ca/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=There+is+not+enough+memory+to+complete+the+operation.+To+free+up+available+memory%2C+close+programs%2C+projects%2C+or+windows+you+aren't+using%2C+and+then+try+again.
    And 193K results on Bing:
    http://www.bing.com/search?q=There+is+not+enough+memory+to+complete+the+operation.+To+free+up+available+memory%2C+close+programs%2C+projects%2C+or+windows+you+aren%27t+using%2C+and+then+try+again.&go=Submit&qs=n&form=QBLH&pq=there+is+not+enough+memory+to+complete+the+operation.+to+free+up+available+memory%2C+close+programs%2C+projects%2C+or+windows+you+aren%27t+using%2C+and+then+try+again.&sc=0-0&sp=-1&sk=&cvid=4cb023c1fbd94ec2bba9821b095f21f2
    Computer was defragged already. I run more tests, and specifically when MS Projects tries to run, it tries to take all memory, more than 300Gb, on the computer. (DropBox was running at the same time, and warned that there were no space. As soon as MS Project
    stopped attempting to configure itself, everything came back to normal and the available space became available again.)
    Looking through older forum posts, looks like this application tries to take "unlimited" amount of memory. Some registry fixes are mentioned potentially, but I was not able to apply them. 
    Since everything else works, this is a MS Project bug reported by multiple users on various versions of Windows, including Vista and 7, so please provide a fix and not 'not a know bug' lie. All the premium support will say, is to format the hard drive, unless
    they have a patch or a registry edit solution. If the latter is true, since the issue exists for multiple years, it should have been already been provided to users.
    Also, I am not running a SQL server, or any server, this is an installation on a local machine. 

  • HT1338 I need to upgrade my JAVA software - I'm in a MacBook Leopard 10.5.8?

    I'm trying to use an on-line program that may require me to upgrade my JAVA software. Any ideas?
    MacBook 4.1 Leopard 10.5.8
    Jim

    Upgrade your OS:
    Upgrading to Snow Leopard, Lion, or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    Upgrading to Snow Leopard
    You must purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s MobileMe service; fees and
               terms apply.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion - System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer)
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
             3. MacBook Pro (Mid/Late 2007 or newer)
             4. MacBook Air (Late 2008 or newer)
             5. Mac mini (Early 2009 or newer)
             6. Mac Pro (Early 2008 or newer)
             7. Xserve (Early 2009)
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.
         Am I eligible for the free upgrade?
             See Apple - Free OS X Mountain Lion upgrade Program.
         For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion.

  • KM Switch (Video not needed) or software solution

    *Short version* - I need a USB switch that will allow me to share just my keyboard and mouse with my 3 PCs. Anyone know of one that works good and has that "sniffing" feature as to reduce any USB delay. I tried a 4 port Belkin USB switch, but it wasn't good. I want a KM only hardware or software solution that is convenient and supports my mouse's back button and does not have scrolling issues.
    Thanks for any input...
    *More details* - I have a monitor on my mac and a monitor on my xp machine. I don't want to spend hundreds of dollars on a 4 port, DVI, USB KVM switch. I already have a 4 port PS/2 KVM switch and I am using it for my windows PCs. I am only using the video from it to switch between the windows PCs. I just want to be able to use my Mac keyboard and mouse (logitech) on all my PCs. I first tried using RDP, but I was not able to use the back button and had some scrolling issues that were unacceptable. Next I decided I would buy a Belkin 4 port USB switch. I just returned it because besides being a bad solution, the mouse locked up continuously. I then tried using KMremoteControl, but I am having trouble getting the license to activate (I emailed the company). From what I understand it is a free program, but they still sell it? Not sure what thats all about, but that also does not allow the back function on my mouse. Basically the best thing is for me to unplug the keyboard and plug it into each computer as I use it. Does anyone know of a good switch, so I don't have to do that? One that is compatible with windows of coarse and has a simple method of switching. The Mac usb extension cable was also incompatible with the Belking switch. Not sure why apple makes such a short cable in the first place.
    For anyone who has read this, thank you, I appreciate it.

    I have figured out why KMremote was not activating. I installed wireshark to sniff the network and I noticed some DNS issues during the activation process. For some reason it didnt like using my Linksys router as a DNS forwarder. I added the direct comcast DNS entries and it now works. I still dont have the back button on my mouse, but this is the best solution.
    Thanks and hopefully this can help someone else.

  • Corporate Online Training For Oracle DBA @ Suninfosysinc Software Solutions

    SUN INFOSYS SOFTWARE SOLUTIONS
    Sun Infosys is a leading software solutions provider based out of Highland Park , New Jersey and serving clients across North America . Sun Infosys' dedicated information technology professionals are committed to meeting your company's information technology needs. Our allegiance to this goal and our high quality service guarantees our client's success.
    Sun Infosys empowers the exchange, execution and integration of software consultancy projects with a strong edge for human resource management. By building strategic alliances with world-class companies, Sun Infosys serves a plethora of multinational businesses.
    ORACLE 10g DBA COURSE CONTENTS
    ●     Introduction
    ●     Course Objectives
    ●     Suggested Schedule
    ●     Lesson Objectives
    ●     Oracle Products and Services
    ●     Oracle Database g: Stands for Grid
    ●     Oracle Database Architecture
    ●     Database Structures
    ●     Oracle Memory Structures
    ●     Process Structures
    ●     Oracle Instance Management
    ●     Server Process and Database Buffer Cache
    ●     Physical Database Structure
    ●     Tablespaces and Data Files
    ●     SYSTEM and SYSAUX Tablespaces
    ●     Segments, Extents, and Blocks
    ●     Logical and Physical Database Structures
    ●     Course Examples: The HR Schema
    ●     Database Architecture: Summary of Structural Components
    ●     Installing the Oracle Database Software
    ●     Tasks of an Oracle Database Administrator
    ●     Tools Used to Administer an Oracle Database
    ●     Installation: System Requirements
    ●     Checking the System Requirements
    ●     Optimal Flexible Architecture (OFA)
    ●     Using Optimal Flexible Architecture
    ●     Setting Environment Variables
    ●     Oracle Universal Installer (OUI)
    ●     Installing the Oracle Software
    ●     Database Configuration Options
    ●     Executing Configuration Scripts
    ●     Completing Your Installation
    ●     Advanced Installation Options
    ●     Installation Option: Silent Mode
    ●     Practice Overview: Installing the Oracle Software
    ●     Creating an Oracle Database
    ●     Planning the Database
    ●     Databases: Examples
    ●     Database Configuration Assistant (DBCA)
    ●     Using the DBCA to Create a Database
    ●     Password Management
    ●     Creating a Database Design Template
    ●     Using the DBCA to Delete a Database
    ●     Summary
    ●     Practice Overview: Using the DBCA
    ●     Managing the Oracle Instance
    ●     Management Framework
    ●     Starting and Stopping Database Control
    ●     Oracle Enterprise Manager
    ●     Accessing Oracle Enterprise Manager Database Home Page
    ●     Using SQL*Plus and iSQL*Plus to Access Your Database
    ●     Using iSQL*Plus
    ●     Setting Up iSQL*Plus for SYSDBA and SYSOPER Access
    ●     Using SQL*Plus
    ●     Calling SQL*Plus from a Shell Script
    ●     Calling a SQL Script from SQL*Plus
    ●     Initialization Parameter Files
    ●     Simplified Initialization Parameters
    ●     Database Startup and Shutdown
    ●     Starting Up an Oracle Database Instance
    ●     Starting Up an Oracle Database Instance: NOMOUNT
    ●     Starting Up an Oracle Database Instance: MOUNT
    ●     Starting Up an Oracle Database Instance: OPEN
    ●     Shutting Down an Oracle Database Instance
    ●     Shutdown Modes
    ●     SHUTDOWN Options
    ●     Using SQL*Plus to Start Up and Shut Down
    ●     Viewing the Alert Log
    ●     Viewing the Alert History
    ●     Dynamic Performance Views
    ●     Dynamic Performance Views: Usage Examples
    ●     Dynamic Performance Views: Considerations
    ●     Summary
    ●     Practice Overview: Managing the Oracle Instance
    ●     Managing Database Storage Structures
    ●     Storage Structures
    ●     How Table Data Is Stored
    ●     Anatomy of a Database Block
    ●     Tablespaces and Data Files
    ●     Oracle Managed Files (OMF)
    ●     Space Management in Tablespaces
    ●     Exploring the Storage Structure
    ●     Creating a New Tablespace
    ●     Storage for Locally Managed Tablespaces
    ●     Tablespaces in the Preconfigured Database
    ●     Altering a Tablespace
    ●     Actions with Tablespaces
    ●     Dropping Tablespaces
    ●     Viewing Tablespace Information
    ●     Gathering Storage Information
    ●     Viewing Tablespace Contents
    ●     Enlarging the Database
    ●     What Is Automatic Storage Management?
    ●     ASM: Key Features and Benefits
    ●     ASM: Concepts
    ●     Summary
    ●     Practice Overview: Managing Database Storage Structures
    ●     Administering User Security
    ●     Database User Accounts
    ●     Predefined Accounts: SYS and SYSTEM
    ●     Creating a User
    ●     Authenticating Users
    ●     Administrator Authentication
    ●     Unlocking a User Account and Resetting the Password
    ●     Privileges
    ●     System Privileges
    ●     Object Privileges
    ●     Revoking System Privileges with ADMIN OPTION
    ●     Revoking Object Privileges with GRANT OPTION
    ●     Benefits of Roles
    ●     Assigning Privileges to Roles and Roles to Users
    ●     Predefined Roles
    ●     Creating a Role
    ●     Secure Roles
    ●     Assigning Roles to Users
    ●     Profiles and Users
    ●     Implementing Password Security Features
    ●     Creating a Password Profile
    ●     Supplied Password Verification Function: VERIFY_FUNCTION
    ●     Viewing and Modifying Initialization Parameters
    ●     Managing Schema Objects
    ●     What Is a Schema?
    ●     Accessing Schema Objects
    ●     Naming Database Objects
    ●     Specifying Data Types in Tables
    ●     Creating and Modifying Tables
    ●     Understanding Data Integrity
    ●     Defining Constraints
    ●     Constraint Violations
    ●     Constraint States
    ●     Constraint Checking
    ●     Creating Constraints with SQL: Examples
    ●     Viewing the Columns in a Table
    ●     Viewing the Contents of a Table
    ●     Actions with Tables
    ●     Dropping a Table
    ●     Truncating a Table
    ●     Indexes
    ●     Types of Indexes
    ●     BTree Index
    ●     Bitmap Indexes
    ●     Index Options
    ●     Creating Indexes
    ●     What Is a View?
    ●     Creating Views
    ●     Sequences
    ●     Creating a Sequence
    ●     Using a Sequence
    ●     Temporary Tables
    ●     Temporary Tables: Considerations
    ●     Data Dictionary: Overview
    ●     Data Dictionary Views
    ●     Data Dictionary: Usage Examples
    ●     Summary
    ●     Practice Overview: Administering Schema Objects
    Managing Data and Concurrency
    ●     Performance Management
    ●     Performance Monitoring
    ●     Performance Monitoring: Top Sessions
    ●     Performance Monitoring: Top Services
    ●     SQL Tuning Advisor: Overview
    ●     SQL Tuning Advisor Options and Recommendations
    ●     Using the SQL Tuning Advisor
    ●     Using the SQL Tuning Advisor: Example
    ●     SQL Tuning Advisor: SQL Statistics
    ●     SQL Tuning Advisor: Identifying Duplicate SQL
    ●     Using the SQL Access Advisor
    ●     Managing Memory Components
    ●     Enabling Automatic Shared Memory Management (ASMM)
    ●     Manually Setting Shared Memory Management
    ●     Using the Memory Advisor
    ●     Dynamic Performance Statistics
    ●     Troubleshooting and Tuning Views
    ●     Invalid and Unusable Objects
    ●     Summary
    ●     Practice Overview: Monitoring and Improving Performance
    ●     Backup and Recovery Concepts
    ●     Part of Your Job
    ●     Categories of Failures
    ●     Statement Failure
    ●     User Process Failure
    ●     Network Failure
    ●     User Error
    ●     Instance Failure
    ●     Background Processes and Recovery: Checkpoint (CKPT)
    ●     Background Processes and Recovery: Redo Log Files and LogWriter
    ●     Background Processes and Recovery: Archiver (ARCn)
    ●     Instance Recovery
    ●     Phases of Instance Recovery
    ●     Tuning Instance Recovery
    ●     Using the MTTR Advisor
    ●     Media Failure
    ●     Configuring for Recoverability
    ●     Control Files
    ●     Redo Log Files
    ●     Multiplexing the Redo Log
    ●     Archive Log Files
    ●     Archive Log File: Naming and Destinations
    ●     ARCHIVELOG Mode
    ●     Summary
    Practice Overview: Configuring for Recoverability
    ○     Performing Database Backups
    ○     Backup Solutions: Overview
    ○     Oracle Secure Backup
    ○     User Managed Backup
    ○     Terminology
    ○     Recovery Manager (RMAN)
    ○     Configuring Backup Settings
    Sun Infosys Software Solutions Offering Courses:
         Oracle 10g / 11g DBA
         SQL , PL/SQL
         Linux Administration
         Oracle OCA DBA
         Unix/Linux + Shell Scripting
    Phone: +001-732-675-7911 (U.S.A)
    E-mail : [email protected]
    Website: www.suninfosysinc.com

    I'll remember that company name to ensure that I neither use it nor recommend it.
    John.

  • Java Web services book

    hello everyone!
    i d like your opinion about a java web services book.
    i am intermediate in java with no experience on web services and XML.
    i d like a book with code explanation and real-world examples.
    Because i like deitel java books (how to program and advanced java) that i have read,
    i am thinking to buy Java Web Services For Experienced Programmers (Deitel Developers Series) book.
    But it is quite old (2002) and i am noy sure.
    Any help would be appreciated! Thanks.

    hi,
    I wonder if I can get help on this, I want to do an automated search from my java code ,but I dont know exactly how to start on this, if anybody could explain or lead e to any website that has examples on this .
    thank you

  • Programming project: does this code look clean enough to turn in?

    Hi, i was just wanting to know people's opinion on the format of my classes below, i haven't done much java programming and I just want to make sure that this program is easily understood. I will not be able to respond, because I have to wake up in 3 hours for school. So thanks in advance, I will be reading this tomorrow, to see your suggestions, thank you.
    here is the scholar class, it is the class that i made to create a scholar(student object) that will be applying for a scholarship and the grades are entered in the ScholarTester class.
    I could've done things differently and easier but the professor strictly called for it to be exactly as he stated. I came up with a better, less tedious way, but i couldn't use it. My way was to create a method to randomly generate grades and values to determine the major, but my prof. saw it and made me implement everything in ScholarTester. Also neither of the students will receive the scholarship, that will be determined in project 2 my professor said.
    package project1;
    import java.util.*;
    * @author Kevin
    public class Scholar implements Comparable {
        // private variables
        private String fullName;
        private double gradePointAverage;
        private int essayScore;
        private int creditHours;
        private boolean scienceMajor;
        private double totalScore;
           // constructor for a Scholar object
            public Scholar(String myFullName, double myGradePointAverage, int myEssayScore,
                           int myCreditHours, boolean isScienceMajor){
                    this.fullName = myFullName;
                    this.gradePointAverage = myGradePointAverage;
                    this.essayScore = myEssayScore;
                    this.creditHours = myCreditHours;
                    this.scienceMajor = isScienceMajor;
            // returns a Scholar object's fullname
            public String getFullName(){
                return fullName;
            // returns a Scholar object's gpa
            public double getGradePointAverage(){
                return gradePointAverage;
            // returns a Scholar object's essay score
            public int getEssayScore(){
                return essayScore;
            /// returns a Scholar object's credit hours
            public int getCreditHours(){
                return creditHours;
            // retruns if a Scholar object is a science major or not
            public boolean getScienceMajor(){
                return scienceMajor;
            // sets a Scholar object's full name
            public String setFullName(String lastName, String firstName){
               fullName = lastName + ", " + firstName;
               return fullName;
            // sets a Scholar object's gpa
            public double setGradePointAverage(double a){
                gradePointAverage = a;
                return gradePointAverage;
            // sets a Scholar object's gpa
            public int setEssayScore(int a){
                essayScore = a;
                return essayScore;
            // sets a Scholar object's credit hours
            public int setCreditHours(int a){
                creditHours = a;
                return creditHours;
            // sets a Scholar's major to a science major or not a science major
            public boolean setScienceMajor(boolean a){
                scienceMajor = a;
                return scienceMajor;
            // calculates a Scholar object's score
            public double getScore(){
                totalScore = (gradePointAverage*5) + essayScore;
                if (scienceMajor == true)
                    totalScore += .5;
                if (creditHours >= 60 && creditHours <90)
                    totalScore += .5;
                else if (creditHours >= 90)
                    totalScore += .75;
                return totalScore;
            // compares two scholar objects.
            public int compareTo(Object obj){
                Scholar otherObj = (Scholar)obj;
                double result = getScore() - otherObj.getScore();
                if (result > 0)
                    return 1;
                else if (result < 0)
                    return -1;
                return 0;
            // returns the highest scoring of two Scholar objects
            public static Scholar max(Scholar s1, Scholar s2){
                if (s1.getScore() > s2.getScore())
                    System.out.println(s1.getFullName() + " scored higher than " +
                                       s2.getFullName() + ".\n");
                else
                   System.out.println(s2.getFullName() + " scored higher than " +
                                       s1.getFullName() + ".\n");
                return null;
            // returns the highest of 3 student objects
            public static Scholar max(Scholar s1, Scholar s2, Scholar s3){
                if (s1.getScore() > s2.getScore() && s1.getScore() > s3.getScore())
                    System.out.println(s1.getFullName() + " scored the highest" +
                            " out of all three students.");
                else if (s2.getScore() > s1.getScore() && s2.getScore() > s3.getScore())
                    System.out.println(s2.getFullName() + " scored the highest" +
                            " out of all three students.");
                else if (s3.getScore() > s2.getScore() && s3.getScore() > s1.getScore())
                    System.out.println(s3.getFullName() + " scored the highest" +
                            " out of the three students.");
                return null;
            // toString method for a Scholar object
            public String toString(){
                return  "Student name: " + fullName + " -" + " Grade Point Average: "
                        + gradePointAverage  + ". " + "Essay Score: " + essayScore + "."
                        + " Credit Hours: " + creditHours + ". "  +  " Science major: "
                        + scienceMajor + ".";
    }here's the ScholarTester class:
    package project1;
    import java.util.*;
    * This program creates Scholar objects that are applying for a scholarship
    * @author Kevin
    public class ScholarTester {
    public static void main(String [] args){
    System.out.println("This program was written by Kevin Brown. \n");
    System.out.println("--------Part 1--------\n");
    // attributes for a scholar object named abraham
    double abrahamGpa;
    int abrahamEssayScore;
    int abrahamCreditHours;
    int scienceMajorValueAbraham;
    boolean abrahamIsScienceMajor;
        // random numbers used for each scholar object.
        Random doubleGpa = new Random();
        Random intGpa = new Random();
        Random essayScore = new Random();
        Random creditHours = new Random();
        Random scienceMajor = new Random();
            // randomly creates abraham's statistics
            abrahamGpa = doubleGpa.nextDouble() + intGpa.nextInt(4);
            abrahamEssayScore = essayScore.nextInt(6);
            abrahamCreditHours = creditHours.nextInt(121);
            scienceMajorValueAbraham = scienceMajor.nextInt(2);
                if (scienceMajorValueAbraham == 0)
                 abrahamIsScienceMajor = true;
                else
                 abrahamIsScienceMajor = false;
    Scholar abraham = new Scholar("Lincoln, Abraham", abrahamGpa,
                                      abrahamEssayScore, abrahamCreditHours,
                                      abrahamIsScienceMajor);
    System.out.println(abraham);
    double georgeGpa;
    int georgeEssayScore;
    int georgeCreditHours;
    int scienceMajorValueGeorge;
    boolean georgeIsScienceMajor;
        // randomly creates george's statistics
        georgeGpa = doubleGpa.nextDouble() + intGpa.nextInt(4);
        georgeEssayScore = essayScore.nextInt(6);
        georgeCreditHours = creditHours.nextInt(131);
        scienceMajorValueGeorge = scienceMajor.nextInt(2);
             if (scienceMajorValueGeorge == 0)
                 georgeIsScienceMajor = true;
             else
                 georgeIsScienceMajor = false;
    // new scholar object is created from the existing attributes
    Scholar george = new Scholar("Bush, George",  georgeGpa, georgeEssayScore,
                                          georgeCreditHours, georgeIsScienceMajor);
    System.out.println(george + "\n");
    System.out.println("--------Part 2--------\n");
    System.out.println(abraham.getFullName() + " scored " + abraham.getScore() + ".");
    System.out.println(george.getFullName() + " scored " + george.getScore() + ".\n");
    System.out.println("--------Part 3--------\n");
    /* comparing george bush and abraham lincoln's scores and printing them out to
             show that the compareTo method is working*/
             System.out.println(abraham.getFullName() + " scored "
                                + abraham.getScore() + ".");
             System.out.println(george.getFullName() + " scored "
                                + george.getScore() + ".\n");
    if(abraham.compareTo(george) == 1)
        System.out.println(abraham.getFullName() + " scored higher than " +
                george.getFullName() + ".\n");
    else
        System.out.println(george.getFullName() + " scored higher than " +
                abraham.getFullName() + ".\n");
    System.out.println("--------Part 4--------\n");
        // prints out scores to show proof that the Scholar.max method is working right.
        System.out.println(abraham.getFullName() + " scored "
                           + abraham.getScore() + ".");
        System.out.println(george.getFullName() + " scored "
                           + george.getScore() + ".\n");
        Scholar.max(abraham, george); // maximum score between abraham and george.
    // variables for a scholar object named thomas.
        double thomasGpa;
        int thomasEssayScore;
        int thomasCreditHours;
        int scienceMajorValueThomas;
        boolean thomasIsScienceMajor;
        // randomly creates thomas' statistics
            thomasGpa = doubleGpa.nextDouble() + intGpa.nextInt(4);
            thomasEssayScore = essayScore.nextInt(6);
            thomasCreditHours = creditHours.nextInt(131);
            scienceMajorValueThomas = scienceMajor.nextInt(2);
                 if (scienceMajorValueThomas == 0)
                     thomasIsScienceMajor = true;
                 else
                 thomasIsScienceMajor = false;
             // new scholar object created from existing attributes
             Scholar thomas = new Scholar("Jefferson, Thomas", thomasGpa, thomasEssayScore,
                                          thomasCreditHours, thomasIsScienceMajor);
             System.out.println("New student added - " + thomas + "\n");
             // returns all 3 students scores to show proof that the Scholar.max method is working right
             System.out.println(thomas.getFullName() + " scored " + thomas.getScore());
             System.out.println(abraham.getFullName() + " scored " + abraham.getScore());
             System.out.println(george.getFullName() + " scored " + george.getScore() + "\n");
             // highest score of all three scholars
             Scholar.max(abraham, george, thomas);
    }Thanks for reading this long and boring project.

    On comments: don't include a comment that just repeats syntax:
    // constructor for a Scholar object
    public Scholar(String myFullName, ...Anyone knowing Java syntax doesn't need that comment and gains nothing
    from its presence, and anyone not knowing Java syntax shouldn't be reading
    a listing.
    On parameter names: a isn't very imaginative or prescriptive. (See next code.)
    On setters returning the argument:
    public int setCreditHours(int creditHours ){
        this.creditHours = creditHours ;
        return creditHours;
    }1. Most people keep it simple and use a void return type.
    2, The next most common convention is to return this:
    public Scholar setCreditHours(int creditHours){
        this.creditHours = creditHours ;
        return this;
    }Then you can chain calls, which is occasionally useful:
    scholar.setCreditHours(4).setEssayScore(2);3. If you insist on returning the argument, note that this is a one-liner:
    public in setCreditHours(int creditHours){
        return this.creditHours = creditHours ;
    }

  • Want help in deciding the software tools for my project...

    Hi,
    i have chosen to do a project scheduler in a client server environment for my final year project..Since i am new to java i am confused in choosing the appropriate software tools for my project.. can you please suggest me which all software tools for e.g for developing the front end will i need to use for my project..
    thanking you in advance...

    Of course web servers and web clients can be on different machines. That's how the web works. Your browser (the web client) connects to Google's web server, when you use Google.
    And when it does so, it does it by opening a socket (TCP, as opposed to UDP, by the way) and sending information in the format that the HTTP protocol specifies. Generally speaking, if you can connect to a given machine with a raw socket, you can also connect using HTTP (which is just a socket with some particular stuff going over it). The only difference is if there's a firewall or the like sitting between the two hosts... but that'll be an issue regardless, and anyway HTTP is as likely to be let through a firewall as anything these days.
    If you can use the HTTP stuff provided in the JDK or in add-on libraries, you'll be saving yourself a lot of trouble with the low-level stuff. Unless the point of this project is to learn the low-level stuff, you're probably better off just going with HTTP.

  • Java software not recognised

    When I am trying to logging in to a government site i need to use Oracle's Java software. I have a Macbook Pro V 10.6.8 which has this program already installed on it. when trying to set up my login to the government site it informs me that I need the latest version. The system updates are all up to date. I am trying to use this through Safari which can have either 64 or 32bit. Why can I not access this site?

    NOTE: Text with images, hopefully visible this time. I don't understand why the editor allows you to upload images (in this instance .tiff saved by default by Grab) that will not be visible on the page after editing...
    After upgrading to Mac OS X 10.10 Yosemite, despite upgrading Java (JRE client) amongst all the other out of date clients, I still get the following popup:
    I have uninstalled and reinstalled the JRE several times just to check it's not a legacy problem, but it makes no difference. Despite the Oracle verifying ok:
    and the system settings for Java confirm that there is only one version installed:
    Any ideas? It seems to be just annoying as so far all content works and I haven't noticed any software problems...
    Thanks...

Maybe you are looking for

  • Recovery Software for Disk Image Backup on External Drive

    Hello. I am currently running OSX Yosemite on a mid-2010 Macbook Pro. However, before I upgraded from OSX Maverick I installed a SSD as a boot drive and moved my original Toshiba HDD to the optical bay for media storage. Before the installation, I pu

  • Itunes wont recognize my new ipod touch

    I just bought an ipod touch and when i connect it to my pc, auto pop up recognized it as Apple Ipod but as a camera. When i go to My Computer, i see a camera icon next to APPLE IPOD. iTunes does not appear when the ipod is connected and when i do ope

  • Save and dependant files problem

    hi when i press f12 to see in the browser i get the "put dependant files" dialogue. why is that and how can i turn it off?

  • Calling the pcsclite lib on Linux

    Hi folks, I'm trying to access the pcsclite library on an Ubuntu, however without any experiences with C++ programming it seems to be really hard. Well, I use JNA to access native libraries and on Windows it just works fine, but on Linux I get the er

  • 1.1.3 - no service

    Today I attacthed my iPhone to my computer to charge, and I was prompted to install the 1.1.3 update. I installed the update while I was away from the computer and when I returned there was an error message on the screen, but the phone itself appeare