Please help me :'( , I really need help in Linked List & Recursion program.

Hi everybody..
I hope all of you are ok..
I'm new member in this forum and I hope anyone can help me in Linked List $ Recursion issue..
I should write a Java program that implements a linked list of objects. This program / class will have the following methods:
1- //print each node starting from startNode upto the end node in the list
void writeList(Node startNode)
2- //insert a new element to the end of the list
void insertEnd(Object element)
3- //Print each element statring from first element in list to the last element then start //printing each element from the last element to the first element
void writeMirror()
4- //delete the last node.
void deleteEnd()
5- //returns the number of the nodes in the list.
int lengthList(ListNode x)
Implement the above methods using the following restrictions:
1- All above methods must be implemented as a recursive method.
2- For the given linked list class, there is only a head reference
variable, pointing the beginning of the list. Thus there is no last or
end reference variable.
I don't know how to write this program :'( ..
I need your help guys and I will be so happy if anyone can do it for me ..
The sad girl
MaRia :(

Any body can give me any idea any hint that may help
me ??Hint that will help you: get a personal tutor. This is the wrong place to learn how to program. And you definitely won't learn by having your homework done for you.
Oh, and I don't care at all that your hamster has diarrhea, your boyfriend broke up with you, both of your parents are dead and unemployed, that you have to look after your 231 siblings all by yourself and that you're forced to take this class and rather want to do something completely different.
Heard it all before.

Similar Messages

  • OMG CAN SOMEONE PLEASE ANSWER THIS I REALLY NEED HELP!! MY ITUNES WONT OPEN

    i had to download itunes again because i restarted my computer and deleted itunes from it and i downloaded the new itunes and everything was goin good and it got intalled and the quicktime and itunes icons appeared on my desktop...but when i clicked on the icon 2 open itunes the iTunes Software License agreement poped up quikly and disappeared and everytime i click on itunes it pops up and then goes away and im not able to click the agree button....i have restarted my computer completly so dat it can start fresh and then i download itune but the same thing keeps happenin....omg please help me...this problem has me frustrated i dont know wat to do anymore

    Any help here?
    http://docs.info.apple.com/article.html?artnum=302386

  • HELP ME I REALLY NEED HELP QUICK!!!

    well i plug in my ipod and it says restore it so i restored it on my ipod but it keeps saying that so i went into ipod updater were youre ment to restore it and it says invalid ipod service version please help

    j -
    1) Install iTunes 7.0 (if you haven't already)
    2) Connect your iPod
    3) Click on your iPod in the iTunes source list (on the left) when it appears
    4) On the right you should see the iPod settings : like this
    http://www.apple.com/itunes/sync/summary.html
    5) In the middle there is a "Version" area, click the "Update" button

  • Please help! I am trying to change my Apple Id that used to be my mother to Mine- Every time i have it changed and i go and try and do an update it continues to ask for her old password. I really need help with this!

    Please help! I am trying to change my Apple Id that used to be my mother to Mine- Every time i have it changed and i go and try and do an update it continues to ask for her old password. I really need help with this!

    Phil0124 wrote:
    Apps downloaded with an Apple ID are forever tied to that Apple ID and will always require it to update.
    The only way around this is to delete the apps that require the other Apple ID and download them again with yours.
    Or simply log out of iTunes & App stores then log in with updated AppleID.

  • Error in deploying my spring web app, really need help?!

    I am using eclipe 3.3.0 and tomcat 5.5.23, spring 2.0.6
    And I get this error while deploying.
    Can anyone tell me where it is comming from and what i should do to fix it?
    If you need any more info please ask that too, I really need help..
    I have browsed all over the internet, but found nothing really helpful..
    In my browser I get a Http status 500 error:
    exception
    javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
         java.lang.Thread.run(Unknown Source)
    root cause
    java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory
         org.apache.jasper.servlet.JspServlet.init(JspServlet.java:100)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
         java.lang.Thread.run(Unknown Source)
    And this is what I see in the console:
    10-sep-2007 14:16:11 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_12\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jre1.6.0_02\bin\client;C:\Program Files\Java\jre1.6.0_02\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\maven\maven-2.0.7\bin;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\QuickTime\QTSystem\;C:\Java\SDK\bin;C:\maven\maven-2.0.7\bin;C:\apache-ant-1.7.0\bin;C:\spring-framework-2.0.6
    10-sep-2007 14:16:11 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8090
    10-sep-2007 14:16:11 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 4312 ms
    10-sep-2007 14:16:12 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    10-sep-2007 14:16:12 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
    10-sep-2007 14:16:12 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig).
    log4j:WARN Please initialize the log4j system properly.
    10-sep-2007 14:16:14 org.apache.commons.modeler.Registry registerComponent
    SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/SpringBikeApp,J2EEApplication=none,J2EEServer=none
    10-sep-2007 14:16:14 org.apache.catalina.core.ApplicationContext log
    SEVERE: StandardWrapper.Throwable
    java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory
         at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:100)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    10-sep-2007 14:16:14 org.apache.catalina.core.StandardContext loadOnStartup
    SEVERE: Servlet /SCWCD threw load() exception
    java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory
         at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:100)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    10-sep-2007 14:16:14 org.apache.commons.modeler.Registry registerComponent
    SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/SCWCD,J2EEApplication=none,J2EEServer=none
    10-sep-2007 14:16:14 org.apache.catalina.core.ApplicationContext log
    SEVERE: StandardWrapper.Throwable
    java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory
         at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:100)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    10-sep-2007 14:16:14 org.apache.catalina.core.StandardContext loadOnStartup
    SEVERE: Servlet threw load() exception
    java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory
         at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:100)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    10-sep-2007 14:16:14 org.apache.commons.modeler.Registry registerComponent
    SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/,J2EEApplication=none,J2EEServer=none
    10-sep-2007 14:16:14 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8090
    10-sep-2007 14:16:15 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    10-sep-2007 14:16:15 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/187 config=null
    10-sep-2007 14:16:15 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    10-sep-2007 14:16:15 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3578 ms
    Many Thanks in advance for any help!!
    Grz Barbera

    hi istvan,
    we are also migrating from websphere to netweaver.
    But in spring framework we r facing problems.
    We hav spring-beans.jar file in lib dir of Web Application. But When we are creating BeanFactory from xml as,
    BeanFactory beanFactory = new ClassPathXmlApplicationContext ("client-config.xml");
    clent-config.xml file contains :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
    <beans>
         <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" >
              <property name="location">
                   <value>conf/service-client/client.properties</value>
              </property>
         </bean></beans>
    But code is giving exception: ClassNotFoundException -org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.
    Wat is the problem ?
    Kindly help.
    We are also using JAAS for authentication.We are refering above code from our LoginModules login() method.
    Regards,
    sagar.

  • Hello. My mac can't connect to my time capsule. There is no response and I can't put it back to the originals definitions because all my files are there and I can´t loose them. (sorry about my bad english, but I really need help!)

    Hello. My mac can't connect to my time capsule. There is no response and I can't put it back to the originals definitions because all my files are there and I can´t loose them. (sorry about my bad english, but I really need help!)

    Your files are unaffected by a reset.. no reset via the reset button on the TC harms, deletes or does anything to your files.
    The Factory Reset universal
    Unplug your TC/AE. Hold in reset. and power the TC/AE back on..  all without releasing reset and keep holding in for about 10sec. The time is not important.. it is the front LED rapid flashing that indicates you are in factory mode.
    Release reset.
    If it doesn’t flash rapidly you have released reset at some point and try again.
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC/AE will reboot after a couple of minutes with default factory settings and will wipe out previous configurations.
    No files are deleted on the hard disk.. No reset of the TC deletes files.. to do that you use erase from the airport utility.
    Here is how to do a fully manual setup for TC which is sometimes necessary with Mavericks in particular.
    Airport Utility shows "unexpected error - please try again" when connecting to Time Capsule

  • I REALLY NEED HELP WITH MY CURVE 9300'S WIFI!

    HI !
    i have a blackberry curve 9300, OS5. I got it secondhand. It worked really great, but the problem started when I've done that thing within the host routing table. Though my wifi is connected, I can't use the internet. whenever I tried the BB browser and any other application (e.g. facebook, opera mini, etc.) i get a message that says 'i am not in an area that supports blah blah...' or 'unable to connect to internet please try again later'. I checked the browser under browser config and it is set to my local network provider. i changed it to hotspot browser, saved it. But whenever I go back it also goes back to my local network provider. i have tried almost EVERY troubleshooting I've read on this forums and in other forums but still no luck. The problem worsened when I did a security wipe on the emails, contacts, etc.
    -APN settings are disabled
    -default browser set to hotspot browser
    -firewall disabled
    -data services are on
    Everyone said that it has nothing to do with that activation enterprise so I did not configured it after wiping.
    I also tried doing a hard reboot (pulling the battery out and waiting for 5 minutes before turning it on) but it will only fix the problem for sometime and it will go back again.
    Calling my network provider would just suggest to get a plan when in fact, I was able to use the device's wifi well before without any plan.
    I don't want to upgrade my BB to OS6 coz it easily drains the battery of device and I cannot afford doing that because I go out a lot.
    I also tried changing my sim card and network provider but wasn't successful.
    I also tried deleting the name of my local network provider in the service book under options.
    What do you think could be the problem? Any suggestions? I really, really, REALLY, need help.
    PLEASE ! THANK YOU VERY MUCH IN ADVANCE!

    Hi miochan984,
    Welcome to the support community!
    A supported data plan from your mobile network provider may actually be required to use the Facebook for BlackBerry smartphones application as well as the browser. I would recommend verifying with them which services they support over a Wi-Fi connection without a data plan.
    Let me know if you have any other questions.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Hi  I really need help with re-activating my little sisters iPad

    Hi
    I really need help with re-activating my little sisters iPad, i already set it up a couple of months ago when i bought it,but unfortunately she disabled it by forgetting her password. i followed the necessary steps to reset it again, when the iPad came back on and we put the apple id and password it kept refusing it, i even reset the password, which sent the verification the email account,  i followed the steps to reset, But then i noticed the message at the top of the activate screen with the message “this iPad is currently linked to the following apple ID _______ with a a few hidden dashes, but at the end of the email it says co.uk, but the problem is the email ends with .com. I have no idea how this happened,  and its driving me insane and my little sister only used her iPad for a month before this happened. for some reason the the iPad email address ends in co.uk when the actual email ends with .com
    I also set up the software find my ipad
    Please help

    You will probably have to contact Apple to see if they can help.
    Contact Us

  • Where's a smart person when you need one? My iphoto just will not open for no reason at all(I REALLY NEED HELP)

    I have not done anything strange like changing something in my computer or IPhoto. One day it just decided not to open. I dont have my photos backed up from IPhoto and I really need the photos on there and Iphoto itself to graduate in two weeks.
    I will click on Iphoto and it'll jump twice, open but it will be totally blank white and immediately have the spinning rainbow wheel and it never loads. I'll then put my mouse over the icona nd it'll say "IPhoto not responding" and everytime I have to force quit. I really dont understand what happened.
    I have googled for days variations of "My Iphoto will not open" and none of what people are saying helps at all because all of them have done something to mess up their apps. I really really need help, please, its got to be something so simple because I didnt change anything on my computer.

    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • [Locked] Really need help trying to log users

    I really need help trying to show when members have logged in.  This is my second post and and the code that I was given, didn't work and now I can't get anyone to tell me what is wrong with it.  Here is the code and error message:
    Error message is "Unknown column 'billsmith' in 'where clause'
    Here is the code I am using:
    mysql_select_db($database_connRegister, $connRegister);
    $logged_in_user = "-1";
    if(isset($_SESSION['MM_Username'])) {
    $logged_in_user=$_SESSION['MM_Username'];
    $query_online_now = "UPDATE users SET logged_in='Online', last_login_date=NOW() WHERE user_name=$logged_in_user";
    $online_now = mysql_query($query_online_now, $connRegister) or die(mysql_error()); }
    $query_not_online_now="UPDATE users SET logged_in='Offline' WHERE last_login_date<NOW() - INTERVAL 60 MINUTE";
    $not_online_now=mysql_query($query_not_online_now, $connRegister) or die(mysql_error());
    Can someone please tell me why it isn't working?

    This question has been answered here: http://forums.adobe.com/message/2351465#2351465.
    Locking this thread to avoid duplication. Please reply in the original thread if any further help is needed.

  • Really need help on this

    Can somebody please help me read this file?
    The data being read come from a file. the data looks like this
    Date           Time                          X                 Y     Depth           Temp
    14-Feb-05           10:08:48     3002     -2571     26     3348
    14-Feb-05           10:08:48     3039     -2573     34     3345
    14-Feb-05           10:08:48     3181     -2573     42     3345
    14-Feb-05           10:08:49     2841     -2573     49     3342
    14-Feb-05           10:08:49     2455     -2573     58     3345
    the data is then read into the program in the loadData() function shown
    The problem is it only reads the header. It never reads the data.public void loadData ()
    // Display the open file dialog, wait for a response.
    JFileChooser chooser = new JFileChooser();
    int choice = chooser.showOpenDialog(frame);
    // If no file was selected, bail out.
    if (choice != JFileChooser.APPROVE_OPTION)
    return;
    // Get the file, attempt to open the file and
    // read the data points.
    File dataFile = chooser.getSelectedFile ();
    try
    Scanner input = new Scanner (dataFile);
    // Loop, reading pairs of input.
         String headers = input.nextLine(); //read the headers
         //System.out.println( in);     //skip the headers to the data
    while (input.hasNextInt())
         int date = input.nextInt(); //read date
         int time = input.nextInt(); //read time
    int x = input.nextInt(); //read x
         int y = input.nextInt(); //read y
         int depth = input.nextInt(); //read depth
         if (!input.hasNextInt())
    break;
    int temp = input.nextInt(); //read temperature
    graph.setDataPoint (new Point (x, y));
         graph.setDomainLabel ("x");
         graph.setRangeLabel ("Depth");*/
    catch (FileNotFoundException e)
    System.err.println ("Unable to read data points from " + dataFile.getName
    I really need help on this crew

    Can somebody please help me read this file?
    The data being read come from a file. the data looks
    like this
    Date           Time                          X
    Y     Depth           Temp
    14-Feb-05           10:08:48     3002     -2571     26     3348
    14-Feb-05           10:08:48     3039     -2573     34     3345
    14-Feb-05           10:08:48     3181     -2573     42     3345
    14-Feb-05           10:08:49     2841     -2573     49     3342
    14-Feb-05           10:08:49     2455     -2573     58     3345
    the data is then read into the program in the
    loadData() function shown
    The problem is it only reads the header. It never
    reads the data.public void loadData ()
    // Display the open file dialog, wait for a
    r a response.
    JFileChooser chooser = new JFileChooser();
    int choice = chooser.showOpenDialog(frame);
    // If no file was selected, bail out.
    if (choice != JFileChooser.APPROVE_OPTION)
    return;
    // Get the file, attempt to open the file and
    // read the data points.
    File dataFile = chooser.getSelectedFile ();
    try
    Scanner input = new Scanner (dataFile);
    // Loop, reading pairs of input.
    String headers = input.nextLine(); //read the
    e headers
    //System.out.println( in);     //skip the headers to
    o the data
    while (input.hasNextInt())
         int date = input.nextInt(); //read date
         int time = input.nextInt(); //read time
    int x = input.nextInt(); //read x
         int y = input.nextInt(); //read y
         int depth = input.nextInt(); //read depth
         if (!input.hasNextInt())
    break;
    int temp = input.nextInt(); //read
    nt(); //read temperature
    graph.setDataPoint (new Point (x, y));
         graph.setDomainLabel ("x");
         graph.setRangeLabel ("Depth");*/
    catch (FileNotFoundException e)
    System.err.println ("Unable to read data
    ead data points from " + dataFile.getName
    I really need help on this
    crew
    I modified the code but getting an error when I call the function
    How do I catch an exception in this

  • Really need help BBM not working on wifi

    ok so I've just updated my torch 9800 software and with it all of the apps, but there's the problem that my BBM wont work on wifi. why is that? I'd tried to resend the service books but there was a message about server conection problems, then I'd even tried by the BBM configuration icon in the setup menu but there was another message (imposible to configurate BBM, a temporary error was notified with the server) so I dont really know what to do... really need help this is my only comunication way with my family on the other side of the world.

    On the handset, go to:
    For OS5 and 4.x
    Options - Advanced Options - Host Routing Table
    and click Register now, and escape back to the home page.
    For OS6 and higher
    in options, device , advanced, host routing table, click on menu and choose register now.
    Wait 2 minutes and see if registration to network happens.
    Resend your service books from your carrier BIS site:
    From your handheld device: http://www.blackberry.com/btsc/KB15402
    Go to the Personal Email Set Up icon and log in. Then under Help!, select Service Books, then select Send service Books.
    From your desktop PC: http://www.blackberry.com/btsc/KB02830
    North American Carriers - scroll down to select your carrier
    WorldWide Carriers - Find your carrier on the list
    3. With the BlackBerry device powered ON, remove the battery a few seconds and then reinsert the battery to reboot. This reboot, even if you have already done this, is often needed to install the service books.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Really need help (motor control using labview)

    hi all readers,
    im new beginner. really need help for my project. i've been assigned to monitor/control motor using labview 8.5 (using NI DAQmx). the problem is, the techinician told me that i cant use 3phase motor with this card. things that i need to displayed using labview is :
    torque
    power
    current
    voltage
    speed
    really appreciated if readers can help me with this:
    wut type of motor shud i use that compatible with NI DAQmx
    thanks a lot.

    Hi fauziana,
    NI data acquisition devices are primarily designed to take measurements, so it's a good idea to measure the signals that you have mentioned with a DAQ device.
    You also can use DAQ devices for control tasks, but for reliable and deterministic control behavioryou typically need to use a real-time operating system (not Windows!). If you want to learn more about the pros and cons of using DAQ devices for motion control tasks, please refer to these threads. Still for standard motion control tasks it's much more efficient in terms of development time, to use a dedicated motion control device for the motion control part of your application.
    In general the control part is independant from the motor type, as these devices only generate control signals (+/- 10 V). There are many power drives available, that accept this type of control signal and you should select your motor according to the requirements of your application.
    For a more detailed system consulting, please contact your local NI branch. To select the products that fit best to your application requirements a face to face discussion is much more efficient than a discussion forum thread, because there are a lot of parameters that need to be taken into consideration. If you tell me in which country you are living, I can provide appropriate contact data to you.
    Thanks and kind regards,
    Jochen Klier
    National Instruments

  • REALLY need help about two accounts, 1 Mac

    I really really need help.
    Back ground. I have a bought my daughter an itouch 4th gen for Christmas. I have set up a new user account on the macbook pro, Set her up a new Apple ID, but I want to share the music. So i did what was said, moved the media folder to a shared folder.
    Got the music shared onto her itunes libary, although when I added to Library it transfered all my apps, which I deleted.
    I did a trial run of downloading an app, and its not showing in the library? WHY??
    Please can someone help me before it goes out the window.
    Thanks

    If you want a true streaming server, you'll need to be running software such as QuickTime Streaming Server. QTSS only comes with Mac OS X Server, but there is an open-source version called Darwin Streaming Server available for Mac OS X, Linux, and Windows 2000/2003 Server.
    To get started learning how to stream your content, start with the Streaming & Delivery tutorials on this web page.
    Hope this helps.

  • I cannot connect to app store. I tried all the possible ways to fix these error but still nothing happened. I really need help i cannot update my applications. I'm using iphone 5 ios 8.1.2

    please i really need help!

    I had the same problem on my Mac Pro, iPad, Macbook Pro. Could not load iTunes, App Store or any support community. Called Apple Care and she asked if I had rebooted my router in awhile. I had not. Each of these would load half way and then just stop. She said iTunes and App Store could be stopped as they are different than my Discover or e-Bay accounts, which were fine. So during the 75 min call I pulled the power cord of the Netgear Wi Fi router, let it sit for 2 or 3 min and then replugged the power adapter. In about 4 to 5 min the sites started to load, although not displayed correctly. After quitting and re-starting the apps in question they are working fine again. But this has happened twice now in a 6 hour time period. So give it a try, but also give it a couple of tries.

Maybe you are looking for

  • I just installed Firefox 5. How can I remove the Bing search from the address bar? I don't want to see Bing at all.

    I just installed Firefox 5. How can I remove the Bing search from the address bar. I don't want to see Bing at all. I tired the Firefox options, right-clicking on the search field and the toolbar selection drop-down but could not find a way to get ri

  • Difference between the G4 and G5. Should I buy the G5

    What kind of difference is there between a G4 duel 1.25 vs. G5 duel 1.8 machines? I have the G4 and wonder if I should buy the G5(used).. Is the G5 that much faster? Such as rendering video.

  • Similar to multiple x sessions

    I know that on linux you can initiate multiple x sessions so that when you connect to the computer using VNC and use the mouse and keyboard without interfering with what the user on the computer does. Is there some way to start a new session on the m

  • Update blob image

    Hi all, I have a table with a blob column. I need to update all blobs. When I try to execute the following, an error occurs: declare         l_blob    BLOB;         l_bfile   BFILE:=BFILENAME('MY_DIR', 'image.gif'); begin       UPDATE tab_image SET i

  • Hardlinking, Scanstate and /nocompress errors

    Bit of a long winded question I'm afraid, please bare with me! I've set up an OS deployment task sequence (SCCM 2007 R2 and MDT 2010) using a 'Client Task Sequence' template from the 'Create Microsoft Deployment Task Sequence' option. During the Capt