PROBLEMS With my FOR LOOP , PLEASE HELP!!!

Hello,
I have the following event action button method. It has a loop itterates 10 times. I have an imagePanel of a map with an image of a car over the map. The car image moves with the method moveCar();
MY PROBLEM: even though i have my moveCar() method inside the for loop, it doesnt move the car on the map until the loop is finished executing and the car image just jumps over. Can somebody pleae tell me why it does this and how to fix it?????????? thanks so much       public ActionListener startActionListener() {
         ActionListener listener = new ActionListener() {
         public void actionPerformed(ActionEvent event) {
         for (int i=0; i<10; i++) {
                         imagePanel.moveCar();
                    try {
                         Thread.sleep(1000); //waits approx. 1 second
                    } catch (InterruptedException e) {
                         System.exit(0);
           return listener;
     }thanks!

Well, the easiest way is like this:
public ActionListener startActionListener()
     ActionListener listener = new ActionListener()
          public void actionPerformed(ActionEvent event)
               new Thread(new Runnable()
                    public void run()
                         for (int i=0; i<10; i++)
                              imagePanel.moveCar();
                              imagePanel.repaint();
                         try
                              Thread.sleep(1000); //waits approx. 1 second
                         catch (InterruptedException e)
                              //System.exit(0);
               }).start();
          return listener;
}I simply converted your loop to run asynchronously and added a call to repaint after the move. You would be better off to use a Swing Timer instead, but I will leave that to you.

Similar Messages

  • Firefox is having problems with "Southwest Airlines website" Please help soon

    Whenever I go on Southwest Airline website, it does not work. I am having this problem since last month. Please help on this as soon as you can.

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Other things that need your attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    * Shockwave Flash 10.0 r22
    * Java Plug-in 1.6.0_07 for Netscape Navigator (DLL Helper)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://kb.mozillazine.org/Flash
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://kb.mozillazine.org/Java
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)

  • Problems with the Proxy Programme--Please help

    Hi All,
    I have written a simple proxy server in the form of a servlet. I changed the proxy config of my browser to connect to this servlet hosted on the default context(http://localhost:8080) of the Tomcat 5.0.25 . Well , this servlet internally connects to the proxy of the corporate LAN . The logic that I have applied is as follows. The servlet gets the request from the client (ie the browser in this case) , extracts the headers and contents from the request, sets them to a new request that it forms and finally send this new request to the proxy. When the proxy responds, the servlet collects the response headers and contents adn writes them in its response. To sum up , this servlet transparently carries the requests and responses between the client(browser) and the corporate LAN proxy. Now the problem is this. Let's say , now I am accessing http://www.google.com.The browser sends a request to my servlet with the following headers as they are extracted by my servlet.
    ProxyServer:::>posting request
    ProxyServer:::>headerValue::> headerName = accept : headerValue=*/*
    ProxyServer:::>headerValue::> headerName = referer : headerValue=http://www.google.com/
    ProxyServer:::>headerValue::> headerName = accept-language : headerValue=en-us
    ProxyServer:::>headerValue::> headerName = proxy-connection : headerValue=Keep-Alive
    ProxyServer:::>headerValue::> headerName = user-agent : headerValue=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; UB1.4_IE6.0_SP1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
    ProxyServer:::>headerValue::> headerName = host : headerValue=www.google.com
    ProxyServer:::>headerValue::> headerName = cookie : headerValue=PREF=ID=1be27c0a74f198ca:TM=1082058853:LM=1082058853:S=bu6ORrygzm8AUkm8
    ProxyServer:::>postRequest
    I set these headers into a new connection opened to the proxy and post a fresh request to the proxy,which, in turn responds with the following headers.
    ProxyServer:::>posted request successfully
    ProxyServer:::>writing response
    ProxyServer:::>writeResponse-->headerName = Proxy-Connection : headerValue = [close]
    ProxyServer:::>writeResponse-->headerName = Content-Length : headerValue = [257]
    ProxyServer:::>writeResponse-->headerName = Date : headerValue = [Tue, 13 Jul 2004 14:01:40 GMT]
    ProxyServer:::>writeResponse-->headerName = Content-Type : headerValue = [text/html]
    ProxyServer:::>writeResponse-->headerName = Server : headerValue = [NetCache appliance (NetApp/5.5R2)]
    ProxyServer:::>writeResponse-->headerName = Proxy-Authenticate : headerValue = [Basic realm="Charlotte - napxyclt2"]
    ProxyServer:::>writeResponse-->headerName = null : headerValue = [HTTP/1.1 407 Proxy Authentication Required]
    ProxyServer:::>writeResponse exiting
    ProxyServer:::>wrote response successfully
    I write these headers back to the client. According to what I was thinking, the client ie the browser would open a new dialog box asking for username/password owing to the presence of the "Proxy-Authenticate " header. But it does not happen that way. Rather the browser stops responsding and displays a blank page. Does anyone know why it happens this way? I am pasting the server prog below for everybody's reference.
    package server.proxy;
    //import all servlet related classes
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.io.*;
    import java.net.*;
    import server.resources.*;
    //My Proxy server --->Currently it is very simplea and relies on
    //other proxy servers of an already connected network.
    public class ProxyServer extends HttpServlet
    //stores the resource bundle
    private ServerResBundle resBundle = null;
    //checks for the mode of operation
    private boolean proxySet = false;
    private String proxy = null;
    //storing the original System out/err etc
    private PrintStream sysOutOrig = null;
    private PrintStream sysErrOrig = null;
    private InputStream sysInOrig = null;
    //initialise certain features that are required later
    public void init() throws ServletException
    try
    //initialise the resource bundle
    this.initResBundle();
    System.out.println("ProxyServer:::>res bundle init");
    //set the mode of operation
    this.setMode();
    System.out.println("ProxyServer:::>mode set");
    //set the system out and err --System.setOut etc
    this.setSystemOutErr();
    System.out.println("ProxyServer:::>in/out/err set");
    }//End try
    catch(Exception e)
    System.out.println("Exception in init..."+(e.getMessage()));
    throw new ServletException(e);
    }//Edn
    catch(Throwable e)
    System.out.println("Irrecoverable Error...");
    throw new ServletException(e);
    }//End
    }//End init
    //method to init the resource bundle;
    private void initResBundle()
    this.resBundle = ServerResBundle.getBundle();
    }//End
    //method to set the mode of the server--proxy or direct
    private void setMode()
    //read the target proxy property from the bundle and
    //if it is set,take that URL
    String temp = (String)(this.resBundle.getResource(ResKeys.PROXY_SERVER));
    if ( (temp != null) && (temp.length() > 0) )
    this.proxySet = true;
    this.proxy = temp;
    temp = null;
    }//End
    }//End
    //method to set the system out and err etc
    private void setSystemOutErr() throws Exception
    //keep a copy of the original system out and error
    this.sysOutOrig = System.out;
    this.sysErrOrig = System.err;
    try
    //read the options adn if they are set, take the values directly
    String newOutStr = (String)(this.resBundle.getResource(ResKeys.SYSTEM_OUT));
    String newErrStr = (String)(this.resBundle.getResource(ResKeys.SYSTEM_ERR));
    if ((newOutStr != null) && (newOutStr.length() > 0))
    System.setOut(new PrintStream(new FileOutputStream(new File(newOutStr),true),true));
    }//End if
    if ((newErrStr != null) && (newErrStr.length() > 0))
    System.setErr(new PrintStream(new FileOutputStream(new File(newErrStr),true),true));
    }//End if
    }//End
    catch(Exception e)
    //restore the stuff
    System.setOut(this.sysOutOrig);
    System.setErr(this.sysErrOrig);
    }//End
    }//End
    //this is where the proxy functionalities will be embedded
    public void service(HttpServletRequest req,HttpServletResponse resp)
    throws ServletException,java.io.IOException
    //conenction URL
    URL target = null;
    //conenction to the remote object
    URLConnection targetConn = null;
    //stores the OOS and the OIS
    ObjectOutputStream oos = null;
    ObjectInputStream ois = null;
    try
    //check for the mode of operation
    if (proxySet)
    URLConnection objects go through two phases: first they are created, then they are connected.
    After being created, and before being connected, various options can be specified
    (e.g., doInput and UseCaches). After connecting, it is an error to try to set them.
    Operations that depend on being connected, like getContentLength, will implicitly perform the connection,
    if necessary.
    //for the URL to the proxy
    target=new URL(this.proxy);
    //conenct to the proxy
    targetConn = target.openConnection();
    //set the details of the connectuon
    targetConn.setDoInput(true);
    targetConn.setDoOutput(true);
    targetConn.setUseCaches(false);
    // If true, this URL is being examined in a context in which it makes sense to allow user interactions such as popping up an authentication dialog. If false, then no user interaction is allowed
    targetConn.setAllowUserInteraction(true);
    //connect to the remote object
    // targetConn.connect();//call this only when all the request properties are set
    System.out.println("ProxyServer:::>posting request");
    //post the received request to the URL
    this.postRequest(targetConn,req);
    System.out.println("ProxyServer:::>posted request successfully");
    System.out.println("ProxyServer:::>writing response");
    //receive the response
    //write the received response to the client
    this.writeResponse(targetConn,resp);
    System.out.println("ProxyServer:::>wrote response successfully");
    }//End if
    else
    //currently this functionality is not supported
    throw new ServletException(
    (String)(this.resBundle.getResource(ResKeys.ERR_FUNC_NOTSUPPORTED)));
    }//End
    }//End try
    catch(Exception e)
    if(e instanceof ServletException)
    throw (ServletException)e;
    }//End
    if (e instanceof IOException)
    throw (IOException)e;
    }//End
    //wrap it up in ServletException
    throw new ServletException(e);
    }//End
    }//End
    //method to write the response back to the client
    private void writeResponse(URLConnection targetConn,HttpServletResponse resp)
    throws ServletException
    //get all the header fields from the response connection and set them to the
    //response of the servlet
    Map headerFields = null;
    Iterator headerFieldEntries = null;
    Map.Entry header = null;
    //stores the input stream to the conn
    BufferedReader brConn = null;
    //stores the writer to the response
    PrintWriter prResp = null;
    //checks if the proxy authentication needed or not
    boolean proxyAuthReqd = false;
    try
    //juste ensuring that the proxy authentication is reset
    proxyAuthReqd = false;
    if( (targetConn != null) && (resp != null) )
    //Returns an unmodifiable Map of the header fields.
    //The Map keys are Strings that represent the response-header field names.
    //Each Map value is an unmodifiable List of Strings that represents the corresponding
    //field values
    headerFields = targetConn.getHeaderFields();
    //Returns a set view of the mappings contained in this map
    Set temp = headerFields.entrySet();
    //Returns an iterator over the elements in this set
    headerFieldEntries = temp.iterator();
    if (headerFieldEntries != null)
    while (headerFieldEntries.hasNext())
    Object tempHeader = headerFieldEntries.next();
    if (tempHeader instanceof Map.Entry)
    header = (Map.Entry)tempHeader;
    Object headerName = header.getKey();
    Object headerValue=header.getValue();
    System.out.println("ProxyServer:::>writeResponse-->headerName = "+headerName+" : headerValue = "+headerValue);
    //do not select the key-value pair if both the key adn the value are null
    if ( ( headerName == null) && (headerValue == null) )
    continue;
    }//Enmd
    if (headerValue != null)
    List headerValList = null;
    if (headerValue instanceof List)
    headerValList = (List)headerValue;
    }//End
    if(headerValList != null)
    for (int i=0;i<headerValList.size();i++)
    Object headerValueStr = headerValList.get(i);
    if (headerValueStr instanceof String)
    //note that the header-key can not be null for addHeader
    //I have made this temporary provision to make the programme work.
    resp.addHeader(( (headerName==null)? ("null_header"+i) :(String)headerName),
    (String)headerValueStr);
    //check if the proxy authentication required or not
    if (((String)headerValueStr).
    indexOf(resp.SC_PROXY_AUTHENTICATION_REQUIRED+"") != -1)
    System.out.println("ProxyServer:::>writeResponse-->proxy auth needed");
    //proxy authentication is needed
    proxyAuthReqd = true;
    }//End
    }//Ednd of
    else if (headerValueStr == null)
    resp.addHeader(( (headerName==null)? null :(String)headerName),
    null);
    }//End
    }//End for
    }//End if
    }//End if
    }//End
    }//End while
    }//End if
    //get the writer to the client
    prResp = resp.getWriter();
    System.out.println("ProxyServer:::>writeResponse-->proxyAuthReqd="+proxyAuthReqd);
    //juste test a simple header
    System.out.println("Proxy-Authenticate = "+(resp.containsHeader("Proxy-Authenticate")));
    //if the proxy asks you for authentication,pass on the same to the client
    //from whom you have received the request.When this flag is true,the connection
    //is closed by the remotehost adn hence any attempt to open in input steram
    //results in an error ie IOException
    if (!proxyAuthReqd)
    //now get the content adn write it to the response too
    brConn = new BufferedReader(new InputStreamReader(
    targetConn.getInputStream()));
    String tempStr = null;
    while ((tempStr = brConn.readLine())!=null)
    prResp.println(tempStr);
    }//End while
    //close the connections
    brConn.close();
    }//End if
    else
    prResp.println("Proxy Authentication needed...");
    }//End
    //close the streams
    prResp.flush();
    prResp.close();
    }//End if
    System.out.println("ProxyServer:::>writeResponse exiting\n");
    }//End try
    catch(Exception e)
    throw new ServletException(e);
    }//End
    }//End
    //method to post request to the internet
    private void postRequest(URLConnection targetConn,HttpServletRequest req)
    throws ServletException
    //extract the header parameters and the body content from the incoming request
    //and set them to the new connection
    Enumeration reqHeaders = null;
    //reads the incoming request's content
    BufferedReader brReqRd = null;
    PrintWriter prResWt = null;
    //stores temp header names and values
    String headerName = null;
    String headerValue = null;
    try
    if( (targetConn != null) && (req != null) )
    reqHeaders = req.getHeaderNames();
    //extract a header adn set it to the new connection
    while (reqHeaders.hasMoreElements())
    headerName = (String)(reqHeaders.nextElement());
    headerValue = req.getHeader(headerName);
    targetConn.setRequestProperty(headerName,headerValue);
    System.out.println("ProxyServer:::>headerValue::> headerName = "+headerName+" : headerValue="+headerValue);
    }//End
    System.out.println("ProxyServer:::>postRequest\n");
    //establis the actual connection
    //calling this method bfore the above loop results in IllegalStateException
    targetConn.connect();
    //NOTE : try reading from and writing into OIS and OOS respectively
    //now read the contents and write them to the connection
    // brReqRd = req.getReader(); //this hangs for some reason
    brReqRd = new BufferedReader(new InputStreamReader(req.getInputStream()));
    System.out.println("Got the reader..brReqRd = "+brReqRd);
    if (brReqRd != null)
    String temp = null;
    //establish the printwriter
    // prResWt = new PrintWriter(targetConn.getOutputStream(),true);
    prResWt = new PrintWriter(targetConn.getOutputStream());
    System.out.println("trying to read in a loop from brReqRd.. ready="+(brReqRd.ready()));
    while( (brReqRd.ready()) && ((temp=brReqRd.readLine()) != null) )
    System.out.println("In while::>temp = "+temp);
    prResWt.println(temp);
    }//Emd while
    //close the streams adn go back
    brReqRd.close();
    prResWt.flush();
    prResWt.close();
    }//End
    }//End outer if
    System.out.println("ProxyServer:::>postRequest exiting\n");
    }//End try
    catch(Exception e)
    throw new ServletException(e);
    }//End
    }//End
    }//End

    Hi serlank ,
    Thanks for your reply. Well , I initially I thought of not pasting the code,as it was too long. But I could not help it,as I thought I must show in code what I exactly meant. That's why I followed a description of my problem with the code. You could probably have copied the code and pasted it in one of your favourite editors to take a look at it. Did you,by any chance, try to read it on the browser? And as regards reposting the same message, I can say that I did it as I felt the subject was not quite appropriate in the first posting and I was not sure as to how I could delete/alter the posting. I am not asking for a code-fix,but some suggestions from some one who might ever have come across such a thing.Anyway, lemme know if you have any idea on it. Thanks...

  • Problem with adobe acrobat/reader - please help!

    Hello,
    My acrobat reader was fine and I was able to open the pdf files sent to me, then suddenly it just wouldn't open anything at all.  It went into open mode and just stayed there, and wouldn't let me close it.  Then I got a message saying "there is a problem with adobe acrobat/reader.  Please exit and try again".  I've done this lots of times and it still isn't working.
    I would be very grateful for any help or suggestions.  I have windows 7, and as I said its all been fine up until now.
    Thanks.
    mspryce.

    This is the Acrobat forum, not the Reader forum. You should check the reader forum. In the meantime, if you are not running AR9.3 or so, you should update. Prior versions before 9 are not designed for Win7 and that might be your issue -- you gave no indication of version.

  • Problem with Logic XS Key, PLEASE HELP

    I use my G4 Powerbook laptop for live. I am running most recent version of logic.
    What happens is that Logic will load up fine, but then for no apparent reason logic will come up with an error message saying that the logic key has been removed, but i have not touched it!! I then have to restart logic.
    PLease help i have to get this sorted ASAP cuz i have a gig tomorrow nite. Cheers guys

    Hmm, it does it on both USB ports? And you haven't noticed any problems with other USB gear on those ports?
    When the key is next not recognised by Logic, go into the system profiler and find your USB port that the XS key is on - the XS key will be labelled when it's functioning correctly. Is it still recognised by the computer, or has it gone completely?

  • Problem with simple drawing program - please help!

    Hi,
    I've only just started using Java and would appreciate some help with a drawing tool application I'm currently trying to write.
    The problem is that when the user clicks on a button at the bottom of the frame, they are then supposed to be able to produce a square or circle by simply clicking on the canvas.
    Unfortunately, this is not currently happening.
    Please help!
    The code for both classes is as follows:
    1. DrawToolFrame Class:
    import java.awt.*;
    import java.awt.event.*;
    public class DrawToolFrame extends Frame
    implements WindowListener
    DrawToolCanvas myCanvas;
    public DrawToolFrame()
    setTitle("Draw Tool Frame");
    addWindowListener(this);
    Button square, circle;
    Panel myPanel = new Panel();
    square = new Button("square"); square.setActionCommand("square");
    circle = new Button("circle"); circle.setActionCommand("circle");
    myPanel.add(square); myPanel.add(circle);
    add("South", myPanel);
    DrawToolCanvas myCanvas = new DrawToolCanvas();
    add("Center", myCanvas);
    square.addMouseListener(myCanvas);
    circle.addMouseListener(myCanvas);
    public void windowClosing(WindowEvent event) { System.exit(0); }
    public void windowOpened(WindowEvent event) {}
    public void windowIconified(WindowEvent event) {}
    public void windowDeiconified(WindowEvent event) {}
    public void windowClosed(WindowEvent event) {}
    public void windowActivated(WindowEvent event) {}
    public void windowDeactivated(WindowEvent event) {}
    2. DrawToolCanvas Class:
    import java.awt.*;
    import java.awt.event.*;
    public class DrawToolCanvas
    extends Canvas
    implements MouseListener, ActionListener {
    String drawType="square";
    Point lastClickPoint=null;
    public void drawComponent(Graphics g) {
    if (lastClickPoint==null) {
    g.drawString("Click canvas first",20,20);
    } else {
    if (drawType.equals("square")) {
    square(g);
    else if (drawType.equals("circle")) {
    circle(g);
    public void actionPerformed(ActionEvent event) {
    if (event.getActionCommand().equals("square"))
    drawType="square";
    else if (event.getActionCommand().equals("circle"))
    drawType="circle";
    repaint();
    public void mouseReleased(MouseEvent e) {
    lastClickPoint=e.getPoint();
    public void square(Graphics g) {
    g.setColor(Color.red);
    g.fillRect(lastClickPoint.x, lastClickPoint.y, 40, 40);
    g.setColor(Color.black);
    public void circle(Graphics g) {
    g.setColor(Color.blue);
    g.fillOval(lastClickPoint.x, lastClickPoint.y, 40, 40);
    g.setColor(Color.black);
    public void mouseEntered(MouseEvent e) {}
    public void mouseExited(MouseEvent e) {}
    public void mousePressed(MouseEvent e) {}
    public void mouseClicked(MouseEvent e) {}
    Any help would be appreciated!

    Some of the problems:
    1) nothing calls drawComponent(Graphics g)
    2) Paint(Graphics g) has not been overriden
    3) myCanvas is declared twice: once as an instance variable to DrawToolFrame, and once local its constructor. Harmless but distracting.

  • Problem with Desktop Skype freezing, please help

    2 days ago, Dec. 23rd, I started up Skype as usual, but after about a minute, it froze, soon becoming "not responding". I opened Task Manager to try to end it manually, but Task Manager quickly became "not responding" as well, as did Chrome when I opened it when I tried to search for a solution. This had never happened before, and since has only happened when I am trying to use Skype for Desktop. I tried uninstalling and reinstalling multiple times, switching to an older version, and running an antivirus scan to see if a virus might be causing the problem, but none of this helped, and it still freezes itself along with all my other programs, forcing me to restart my computer if I want to be able to use it. I have been using Windows 8 Skype instead today, with no problems, but Skype for Desktop is more convenient for me, and I would very much appreciate it if someone would please help me.
    Also, I don't know if this might be related to the problem, but today I had Task Manager open before starting Skype for Desktop, hoping I could end it before it caused everything to freeze (I couldn't), I was able to see before it froze that Skype was using 100% of my Disk.
    Solved!
    Go to Solution.

    Please,  run the DirectX diagnostics tool.
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Weird problems with kt7 turbo (6330), PLEASE HELP!!

    I just this last week purchased an older kt7 turbo (6330) to upgrade my brother's computer. I am pairing this with an Athlon XP 1700 processor. After installing all the hardware and booting up the computer, I started getting various errors. Sometimes the screen would just flash all kinds of colors, sometimes it would say something about a bios check not detecting the a: drive followed by insistent beeping, sometimes it just wouldn't start at all. After much hassle, I finally got the newest bios installed from MSI that claimed to fix some stuff between this motherboard and an Athlon XP 1700. (I didn't at the time suspect this to be the true culprit) Finally on Sunday afternoon, after a cold start, it magically started up and I finally got Windows XP installed. I found some drivers on the reference CD that seemed to help some. But now, after about 5-10 minutes, depending on the software being used, the computer will just shut itself down after a 60 second warning message. When I try reseting it, I start getting all of those weird errors again. The only way to get the computer to start up normally again is to let it sit for about 10-15 minutes to cool down, and then cold start it. At which point it will work again for another 10-15 minutes and shut down again. I am getting SOOOOO tired of these MSI motherboards not working for me!! I think MSI has a personal problem with me. PLEASE help me!! By the way, I don't think it's power related, cause I just put in a brand new P4 certified 400Watt powersupply.

    Sounds like your heatsink on your CPU may not be seated correctly. Try pulling it, cleaning, reapplying compound, and reseating it.

  • Problem with touch screen. Please help!!!

    Ok I bought an iPad about a month ago now. At first it worked perfectly, runs apps smoothly, etc. But then something happened to the touch screen, it just randomly like pressed itself, it went into apps on its own and zoom in and out while on safari just randomly. For about 3 weeks this issue disappeared, but now it happens again but more constantly and for more time please help. I think this video will explain my issue more clearly. http://www.youtube.com/watch?v=e1qyvHV43yg Please I just don't want this issue anymore. Any help will be appreciated.

    OK...so it seems that many iPad owners have the same issue with the screen "self registering touches". You'll see multiple posts on the forums from "self touching" to "self registering" to "freaking out".
    Well, I also have this annoying problem.
    Trust me when I say that cleaning the screen, resets, charging, deleting apps, static, and so on haven't anything to do with causing or resolving this issue.
    Here is a little tip to show you what is actually going on. Download a free app that shows you "screen touches". Harbor Master is one that I've heard of that led me to this...but I prefer to use that pocket pond app...only because I can just sit back and watch without having to move boats around.
    ...When you notice the problem, open up the app. I've noticed on mine that it only self registers touches along the side. Exact location is (when holding iPad in landscape position, home button on left) along the top of the screen...from top middle to the top right corner.
    I have called Apple...the tech was polite and tried to help. ...But the only suggestions were to reset (as i've already done) then if that didn't work I was to do a reload while sync'd. He stated that if none of that worked then to take it to the store...
    Since I am in Florida for the month and the nearest Apple store is 6hrs away...I will wait until I go back home HI and visit a store that is close by.

  • PROBLEM with a PEARL 9105 please help me

    Hi ,I've got  a PEARL 9105 (with 14 characters) and I had a problem with it so I made an upgrade of it but when I upgraded it the phone is regognize by the Os as a 9100 with 20 characters. So I can't write correctly an sms or mail or anything . I tried to upgrade again but without success. Please HELP ME.

    Hey dumpeal2,
    Welcome to the forums.
    Try following the instructions here to backup and do a clean reload of your device software. http://bbry.lv/cKy9A0 if you get the same result then I would suggest contacting your service provider and have them escalate your issue to RIM. 
    -SR
    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)!

  • Problem with my code!Please help:(

    Hi
    Here is the final code to read each byte at a time (using buffered input stream)from a remote sensed image and then store the values in 3 arrays . The image data (it is a remote-sensed image with 3 bands) are represented as a continuous byte stream band sequential. The format of the header is as follows:
    Bands (int)
    Rows (int)
    Cols (int)
    Bits-per-pixel (int)
    and then the image data follow.
    the code is:
    import java.io.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.Panel.*;
    import java.util.*;
    import java.awt.image.MemoryImageSource.*;
    public class Reader {
    public static void main (String args []){
    int numBands;
    int rows;
    int cols;
    int bpp;
    byte[] band1;
    byte[] band2;
    byte[] band3;
    try {
    FileInputStream fis = new FileInputStream ("BROM3.mar");
    BufferedInputStream bis = new BufferedInputStream (fis);
    DataInputStream dis = new DataInputStream (bis);
    numBands = dis.readInt();
    rows = dis.readInt();
    cols = dis.readInt();
    bpp = dis.readInt();
    if((dis.readByte() !='.') ||
    (dis.readByte() !='\r') ||
    (dis.readByte() !='.'))
    throw new Exception ("Bad format: end-of-header expected !");
    int nBytes = rows*cols*bpp/8;
    band1 = new byte[nBytes];
    band2 = new byte[nBytes];
    band3 = new byte[nBytes];
    for (int j=0; j<nBytes; j++) {
    band1[j] = dis.readByte();
    for (int j=0; j<nBytes; j++) {
    band2[j] = dis.readByte();
    for (int j=0; j<nBytes; j++) {
    band3[j] = dis.readByte();
    } catch (Exception e) {
    e.printStackTrace();}
    * Creates three objects of the ImagePanel class
    * and sets the size of both.
    ImagePanel panel1 = new ImagePanel() ;
    ImagePanel panel2 = new ImagePanel() ;
    ImagePanel panel3 = new ImagePanel() ;
    panel1.setSize (512,512);
    panel2.setSize (512,512);
    panel3.setSize (512,512);
    * Converts the 3 arrays into
    * images using the MemoryImageSource class and the Panel's
    * createImage method.
    Image green = panel1.createImage(new MemoryImageSource(512,512,band1[],0,512));
    Image blue = panel2.createImage(new MemoryImageSource(512,512,band2[],0,512));
    Image nir = panel1.createImage(new MemoryImageSource(512,512,band3[],0,512));
    * Displays the images.
    panel1.setDisplayImage (green);
    panel2.setDisplayImage (blue);
    panel3.setDisplayImage (nir);
    * Creates two Frame objects to display the panels in and
    * sets the size of both.
    Frame frame1 = new Frame ();
    frame1.setSize (512,512) ;
    frame1.add (panel1);
    Frame frame2 = new Frame();
    frame2.setSize (512,512);
    frame2.add (panel2);
    Frame frame3 = new Frame();
    frame3.setSize (512,512);
    frame3.add (panel3);
    * Makes the panels and the frames visible
    * and sets the location of the frames.
    panel1.setVisible (true);
    panel2.setVisible (true);
    panel3.setVisible (true);
    frame1.setVisible (true);
    frame1.setLocation (100,100);
    frame2.setVisible (true);
    frame2.setLocation (512,100);
    frame3.setVisible (true);
    frame3.setLocation (1024,100);
    } //End of main
    there is a problem especially in the MemoryImageSource bit.Can you please help me?
    Thank you very much
    Maria

    It usually helps to know what the problem is before trying to solve it. Perhaps you could tell us?

  • Problem With Swf File. Please Help!!!!

    Hi! I recently got adobe flash cs4 and i tried to create swf wallpaper (flash lite 1.1), so everything looked good, untill i opened the file. The problem is its constantly blinking, like its refreshing with every second or frame or something. Then i transfered it to my phone and theres no change. I had the same problem with CS3...I attached the sample, if someone cares to see...Please can somebody help me??? Thank you!

    I think (at a first look) that you should put a stop() command at each frame of your movie.
    Playhead is running through your movie from one frame to another and back to beginning if you don't stop it with stop() command.
    What I mean is:
    in frame one of your movie put ActionScript: stop();
    in frame two of your movie put ActionScript: stop();
    etc.
    If navigation through your movie is linear, like some animations then don't put this AS in frames, but it seems to me that this will solve your problem.
    For more (if this isn't helping) upload your movie along with ActionScript.

  • A problem with the BBM Bold9900 please help me !!

    Hey All , i have a probem with my BBM , when i write something in personal message my conacts can't see what i wrote and when i put my status busy it shows that i'm avaliable, so please i want you to help me !!!!!!!!!!

    Answered in your original thread.
    http://supportforums.blackberry.com/t5/Device-software-for-BlackBerry/a-problem-with-the-BBM/m-p/139...
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I have problem with my account icloud please help me

    i have problem with my account icloud as i am trying to delete "find my iPhone" in order to format my iPhone .. The main problem in my mobile as my mobile cannot be connected with the data service and "searching" word is appear. Note: my SIM is working

    Hi ELMIR_012,
    Thanks for visiting Apple Support Communities.
    It sounds like you may be setting up your iPhone after updating to iOS 7.
    You may want to skip signing into your Apple ID (iCloud account) until your phone is set up. You will be able to sign into your iCloud account later. See this article for more information:
    iPhone, iPad, iPod touch: How to get started
    http://support.apple.com/kb/ht4053
    Sign in with your Apple ID, which you've created previously, or create a free Apple ID.
    Alternatively, you can tap Skip This Step to sign in or create an Apple ID later.
    If you require assistance with your Apple ID, please see Apple ID Support for more information.
    Additionally, this page can help with resetting your password:
    Apple ID: If you forget your password
    http://support.apple.com/kb/ht5787
    Best Regards,
    Jeremy

  • IOS 8.0.2 update causing problems with wifi connectivity..please help

    latest update having problems ...please help..!!!!!!!!!!

    Just a quick snapshot of my chain of events.  I’m currently on my fourth iPhone 6 Plus 64GB here in London, UK. Every time I have spoken to AppleCare and told them that I have gone through all the Wi-Fi troubleshooting methods possible they have asked me to get a brand new retail replacement as I’m within my 14 day return period.  I’ve been experiencing the following issues:
    Wi-Fi disconnects and switches to 4G (Restart required for temp fix)
    Wi-Fi is still active but there is no traffic or activity– often when in sleep mode for long periods of time.  (Toggle Wi-Fi on/off for temp fix)
    Wi-Fi disconnects and cannot find any networks (restart required for temp fix)
    This has been occurring on both iOS 8 and 8.0.2
    The issues are the same on both my 2.4Ghz and 5Ghz networks
    This is affecting my ip6+ and 5s (5s used to work perfect on ios7 on same networks) – My MBP-R and all other devices run perfectly on my network.
    I spoke to AppleCare again yesterday and asked for their advice as its now my fourth iPhone in just under a month. This time they said that apple were fully aware of the Wi-Fi problem and that new repair tickets were not being raised for their engineers as they are already working hard to get this resolved. They also said they could see all the issues raised on the apple discussions boards which they usually don’t admit too! I asked what to do next and the advisor apologised and said this is clearly a software glitch and will be resolved in the next update. I asked for a timescale but unfortunately none was given.
    As stated above I have tried all the troubleshooting methods discussed on forums and on tech websites but the only thing that gives me a stable connection without any disconnects (especially on my 6 plus) is turning cellular/mobile data off when I know I’m going to be on Wi-Fi for a sustained period of time (e.g. at home or work). I appreciate this is annoying but it’s the best temp fix until an update comes out.
    Hope it helps everyone who is having issues with their devices that have cellular functionality.
    Any comments welcome

Maybe you are looking for

  • How to add fields in a z table

    hi experts ! i have to add a new fields to an already existing Z table. how can i add field? do i have to delete all other entries and create new ones so that the entry in the new field also gets created.? akanksha

  • PL/SQL debugging use JDeveloper

    JDeveloper appears to require DEBUG ANY PROCEDURE privilege due to being needed for DBMS_DEBUG_JDWP. Is there any way around this? I am sure our DBA would prefer not to be routinely giving this out and all we need to do is debug stored procedures cre

  • Query on Transport

    Hi Experts,    I have a query on transports.    Suppose in the landscape for DEV Quality and Prod Systems.    I have a report program ZREPORT without any includes in all the three systems.   Now i have defined an internal table ITAB in ZREPORT and re

  • Problems with Crop and TWAIN in CS5?

    I have not been using Photoshop lately other than keeping up with updates. When I started a project yesterday, I ran into two new issues. The Crop tool no longer works. I frame the area and when I double click to Crop, the entire image Crop's. This i

  • Color Settings issue in Photoshop CS6

    We are currently using G7 Workflow for our profile. I have a couple of questions concerning the color settings. 1.We are also not able to hold these settings even once we leave it as "Custom". It defaults back to U.S. Sheetfed Coated Profile. 2. When