Another Thread About 2.0....Updating post as my phone is updated

At various times today I have hit Check for Updates on iTunes with no success. Just now I clicked it--got nothing. For kicks, I clicked it immediately again. Guess what! Update underway!
So keep checking back for your update. In the meantime, I'll chronicle mine so you can know what to expect.
Update: 5 minutes in and I have downloaded quickly (218.2 MB). Now there is a window that says, "Preparing iPhone software for restore..." Been here for a bit.
Update: "Restoring iPhone software..."
Update: "Verifying iPhone software..." I'm about 7 minutes into the process, including download time. Just before I updated, I'm at "Restoring iPhone firmware..."
Update: Couple minutes spent there with the barberpole bar. Next a pop up to say "Your iPhone has been returned to factory setting and is restarting...blah blah blah". Image on phone is for me to connect to itunes. Already am. Now it is syncing and phone says "Waiting for Activation...This may take some time."
Update: No sooner than I updated, I got another restart pop-up warning for the phone. Aaaaaand we're back. Indeed all settings have been wiped out, including my home screen icons. The apps I already downloaded are present. Oh pop-up, it is restoring my songs and pics. Blah, gotta sift through some contact syncing issues. Back soon...
Update: That was weird. It wanted to change a few peoples "type" from "empty" to "person." Also it wanted to change the URL for birthdays on iCal. Looks okay though. Correction about the icons, they were just moved around, not removed. Apps are there. OMG FINALLY, the calendar isn't default one color! Love the PhoneSaber app. Ha ha. New contacts icon.
I heard you can hold the home button and press the top power button to take a screen shot. Sure enough, you can! Adds the picture to Photos. Kind of froze my screen for a second. Scared me...
Well that's all. Looks like it was succesful. Took about 20 minutes over all. Good luck and have fun!
Message was edited by: bpeacock22

Good luck... it took me about an hour to completely update my iPhone this morning, and I started around 7:20AM. While it was trying to activate, it was telling me that I had no signal and that it could not activate without a signal... I guess it resolved itself, because installation (even though it was super slow) finished smoothly, and I haven't had any issues all day.

Similar Messages

  • Another thread about Netgear Routers....

    Okay, so apparently this has been an issue since 2010 or earlier!
    I have a Netgear WPN824 V3 and a Droid Razr Maxx.  The issue I've been having is that my wifi connection keeps dropping, though the phone shows my wifi connection as strong the majority of the time.  I've tried pretty much every solution I could find on the first 3 pages of a Google search and so far nothing has worked!  This includes trying almost every variation of security settings on my phone and router.  I've tried cache wipe. factory reset, and downloading various wifi "fixer" apps that just go ape sh*t constantly connecting and reconnecting.  Has anyone found any sort of solution that isn't something a relatively tech savvy individual wouldn't consider common sense, as many of the tried and failed solutions tend to be? And yes, I do know about the advanced wifi settings!
    The fact that this issue has hundreds of threads of complaints with almost every android and every netgear router since before 2010 with no solution is pretty darn sad.  It really is a reflection on how both Verizon and Netgear acknowledge (or rather DON'T acknowledge) their customers by not addressing this issue.  I have yet to find a thread (maybe I missed them?) with a response from either a Netgear or Verizion representative.  Come to think of it, that goes the same as well for any other carriers, or Motorola either.
    I apologize for beginning a new discussion with an old (but still current!) issue.  If the solution has already been posted and I missed it, I do apologize, but doubt that this is the case.  I haven't updated my phone with the latest update yet either since it seems the new update has caused more wifi problems.  Please let me know if this wasn't the case for you! Wouldn't that be great if the solution was that simple!? *crosses fingers*
    Thanks everyone!

    koifishy wrote:
    Okay, so apparently this has been an issue since 2010 or earlier!
    I have a Netgear WPN824 V3 and a Droid Razr Maxx.  The issue I've been having is that my wifi connection keeps dropping, though the phone shows my wifi connection as strong the majority of the time.  I've tried pretty much every solution I could find on the first 3 pages of a Google search and so far nothing has worked!  This includes trying almost every variation of security settings on my phone and router.  I've tried cache wipe. factory reset, and downloading various wifi "fixer" apps that just go ape sh*t constantly connecting and reconnecting.  Has anyone found any sort of solution that isn't something a relatively tech savvy individual wouldn't consider common sense, as many of the tried and failed solutions tend to be? And yes, I do know about the advanced wifi settings!
    The fact that this issue has hundreds of threads of complaints with almost every android and every netgear router since before 2010 with no solution is pretty darn sad.  It really is a reflection on how both Verizon and Netgear acknowledge (or rather DON'T acknowledge) their customers by not addressing this issue.  I have yet to find a thread (maybe I missed them?) with a response from either a Netgear or Verizion representative.  Come to think of it, that goes the same as well for any other carriers, or Motorola either.
    I apologize for beginning a new discussion with an old (but still current!) issue.  If the solution has already been posted and I missed it, I do apologize, but doubt that this is the case.  I haven't updated my phone with the latest update yet either since it seems the new update has caused more wifi problems.  Please let me know if this wasn't the case for you! Wouldn't that be great if the solution was that simple!? *crosses fingers*
    Thanks everyone!
    You've updated the phone, have you updated the router firmware? There might possibly be a newer firmware that could fix the issue?

  • Another Thread About Compiling

    I'm having problems compiling some java source files, and after scouring these forums and doing countless google searches I can't seem to get this figured out.
    The source files are divided into two packages: tic, and tic.event. As such, the directory structure is a folder called "tic" that contains several source files and a .jar file and another folder "event" which contains the remaining source files.
    Here's the command I've been trying to use:
    javac -classpath /home/tic:/home/tic/event:/home/tic/pircbot.jar tic/*.java tic/event/*.javaAnd I'm getting a ton of undefined symbol errors:
    tic/event/Message.java:6: cannot resolve symbol
    symbol : class TargetEvent
    location: class tic.event.Message
    public abstract class Message extends TargetEvent {
    ^
    tic/event/ChannelEvent.java:6: cannot resolve symbol
    symbol : class TargetEvent
    location: class tic.event.ChannelEvent
    public class ChannelEvent extends TargetEvent {
    ^
    tic/event/Finger.java:6: cannot resolve symbol
    symbol : class TargetEvent
    location: class tic.event.Finger
    public class Finger extends TargetEvent {
    ^
    tic/event/NickChange.java:6: cannot resolve symbol
    symbol : class TargetEvent
    location: class tic.event.NickChange
    public class NickChange extends TargetEvent {
    ^
    tic/event/Notice.java:6: cannot resolve symbol
    symbol : class TargetEvent
    location: class tic.event.Notice
    public class Notice extends TargetEvent {
    ^
    tic/event/Ping.java:6: cannot resolve symbol
    symbol : class TargetEvent
    location: class tic.event.Ping
    public class Ping extends TargetEvent {
    ^
    tic/event/Quit.java:6: cannot resolve symbol
    symbol : class SourceEvent
    location: class tic.event.Quit
    public class Quit extends SourceEvent {
    ^
    tic/event/UserMode.java:6: cannot resolve symbol
    symbol : class TargetEvent
    location: class tic.event.UserMode
    public class UserMode extends TargetEvent {
    ^
    tic/event/Version.java:6: cannot resolve symbol
    symbol : class TargetEvent
    location: class tic.event.Version
    public class Version extends TargetEvent {
    ^
    tic/Client.java:288: cannot resolve symbol
    symbol : class ServerResponse
    location: class tic.Client
    log.Log(this.getName(), new ServerResponse(response, code));
    ^
    tic/Client.java:364: cannot resolve symbol
    symbol : class Time
    location: class tic.Client
    log.Log(target, new Time(sourceNick, sourceLogin,
    ^
    tic/event/Message.java:22: cannot resolve symbol
    symbol : variable super
    location: class tic.event.Message
    return super.Serialize(outgoing);
    ^
    tic/event/ChannelBanEvent.java:21: cannot resolve symbol
    symbol : method Serialize (java.util.ArrayList)
    location: class tic.event.ChannelEvent
    return super.Serialize(outgoing);
    ^
    tic/event/ChannelKeyEvent.java:21: cannot resolve symbol
    symbol : method Serialize (java.util.ArrayList)
    location: class tic.event.ChannelEvent
    return super.Serialize(outgoing);
    ^
    tic/event/ChannelSetLimit.java:21: cannot resolve symbol
    symbol : method Serialize (java.util.ArrayList)
    location: class tic.event.ChannelEvent
    return super.Serialize(outgoing);
    ^
    tic/event/RecipientChannelEvent.java:21: cannot resolve symbol
    symbol : method Serialize (java.util.ArrayList)
    location: class tic.event.ChannelEvent
    return super.Serialize(outgoing);
    ^
    tic/event/Mode.java:20: cannot resolve symbol
    symbol : method Serialize (java.util.ArrayList)
    location: class tic.event.ChannelEvent
    return super.Serialize(outgoing);
    ^
    tic/event/Notice.java:20: cannot resolve symbol
    symbol : variable super
    location: class tic.event.Notice
    return super.Serialize(outgoing);
    ^
    tic/event/Ping.java:20: cannot resolve symbol
    symbol : variable super
    location: class tic.event.Ping
    return super.Serialize(outgoing);
    ^
    tic/event/Quit.java:20: cannot resolve symbol
    symbol : variable super
    location: class tic.event.Quit
    return super.Serialize(outgoing);
    ^
    tic/event/Topic.java:25: cannot resolve symbol
    symbol : method Serialize (java.util.ArrayList)
    location: class tic.event.ChannelEvent
    return super.Serialize(outgoing);
    ^
    tic/event/UserMode.java:20: cannot resolve symbol
    symbol : variable super
    location: class tic.event.UserMode
    return super.Serialize(outgoing);
    ^
    22 errors
    Most of those classes (Time, TargetEvent) are in the tic.event package. Not sure why it's unable to resolve things like super and serializable though. Any insight would be greatly appreciated. Thanks.

    Ok, here is UserMode.java which should correspond with the last error for example:
    package tic.event;
    import java.util.*;
    public class UserMode extends TargetEvent {
         private String mode;
         public UserMode(String sourceNick, String sourceLogin,
                             String sourceHostname, String targetNick, String mode) {
              super("USRMD", sourceNick, sourceLogin, sourceHostname, targetNick);
              this.mode = mode;
         public String Serialize(ArrayList incoming) {
              ArrayList outgoing =
                   new ArrayList(Arrays.asList(new String[] {mode}));
              outgoing.addAll(incoming);
              return super.Serialize(outgoing);
    }Once again, I know this program works, so I'm not sure if analyzing code syntax is going to help here...
    EDIT: Ok, yeah I'm pretty sure its something with the classpath too.. but what should I be checking here?
    Message was edited by:
    VP.

  • My ipod and itunes both are skipping to another song about in the middle of the song. It doesn't happen on all songs...only some songs. I have reset the ipod, I have done a restore, I have reloaded itunes, I have updated the ipod but still am unable fix

    My ipod and itunes both are skipping to another song about in the middle of the song. It doesn't happen on all songs...only some songs. I have reset the ipod, I have done a restore, I have reloaded itunes, I have updated the ipod but still am unable to figure out why. It did not used to do this. I can't figure out any pattern to the songs it does it on versus that it doesn't do it on. Some of the songs are purchased, some are imported, etc. We are running Windows 7.

    how long have you had your ipod? mine did the same but after a while you need to get a new one because of the battery...

  • I see there is another ios update. I have an iPhone 4S. The last time I updated the ios I lost all my contacts, as I had not been using the iCloud as a backup. I am now apprehensive about the latest update. How can I determine if contacts are backed up?

    I see there is another ios update. I have an iPhone 4S. The last time I updated the ios I lost all my contacts, as I had not been using the iCloud as a backup. I am now apprehensive about the latest update. How can I determine if contacts are backed up?

    You should never lose contacts under any circumstances.
    Although contacts are included with the iPhone's backup, contacts are designed to be synced with a supported address book app on your computer where such important data should be available with or without an iPhone or any cell phone. Not a good idea to depend on a cell phone for such important data which can be lost or stolen or damaged beyond repair.
    In addition, there are a number of free email accounts that support syncing contacts over the air including an iCloud account, Gmail, Yahoo, and Hotmail.
    If you are not syncing contacts over the air with an iCloud account and not backing up your iPhone wirelessly with your iCloud account, your iPhone's backup is being updated by iTunes on your computer which is updated as the first step during the iTunes sync process.
    With Windoze, contacts can be synced with Outlook 2003, 2007, or 2010 along with syncing calendar events, notes, and reminders, or with the address book app used by Outlook Express and by Windows Mail called Windows Contacts for syncing contacts only. With a Mac, contacts can be synced with the Address Book app. This is selected under the Info tab for your iPhone sync preferences with iTunes.
    If the supported address book app on your computer is not used and has no contacts available, before the first sync for this data enter one contact in the supported address book app on your computer. This will provide a merge prompt with the first sync for this data, which you want to select.

  • I know there has been threads about this, "DELETE POST"

    I know there has been threads about this, but I want to be able to delete one of my posts.

    Rascal,
    There are a number of reasons that members cannot delete their own posts.
    One being that it could cause some confusion when reading a thread.
    Say an OP starts a topic, and other members respond to that topic. Then the OP deletes the original post. Readers would not know what the replies are addressing.
    You have about 15 minutes to edit the content of a post, but you cannot eliminate it entirely.
    ali b

  • Creative Support. What R U Doing About The Firmware Update Iss

    This post is primarily aimed at Creative Support.
    Like many other out there that have a Zen player, i recently decided to upgrade my 40Gb Zen Touch's firmware from .0.03 to the latest PlayforSure version 2..0.
    This is what i did on my Dell p.c.
    ) Upgraded my Win Media Player from version 9 to 0.
    2) Backed up all my mp3 data to the HDD.
    3) Erased all of the mp3 data from the player.
    4) Connected the player to my p.c via USB ( 2.0 ).
    5) Ran the firmware update, and selected to proceed with the upgrade.
    During this process it warned me that the player may reboot a number of times during the 5min upgrade. The player rebooted twice, but on the 2nd time the update software couldn't initialize the player. I left this for about 5mins, to no joy.
    I stopped the update via the close button and disconnected my player. When rebooted this shows the error "Firmware Problem" and proceed's to the Recovery Mode screen.
    If i choose the "Reload Firmware" option this proceeds to Erase the firmware and then states "Start firmware update now". Even though the firmware software is on my desktop and the player connected to the p.c it fails to reload the firmware.
    Now.... On my p.c, if i go into "My Computer", the player is clearly linked and present as an other linked device. However if i run the firmware update software from the desktop it say's "Your player is not connected, please connect your player".
    This is a contradiction since the fact that my computer successfully detects the connected player and Media Player 0 also recognises that it is connected.
    Like many other's out there we have paid good money for your products and expect a bit of commitment back to resolve these issues. For now i have player that might as well be a book-end.
    Questions to Creative Support:
    ) Are you fully aware of the amount Zen owners experiencing this problem?
    2) Are you working on a fix for this update problem?
    3) If yes to question 2, when are we likely to see the results of this?
    Regards

    Wish I had seen this thread before attempting to update my firmware to the SurePlay version.
    This is what I did.
    I downloaded the Firmware, downloaded the extra software and download Windows Media 0.
    I ran the firmware update and connected my player to the computer, no problems.
    It said the player would reboot several times and on the 2nd or 3rd, it would no longer connect my device. It would tell me that there were no drivers for the device.
    I tried re-booting the player several times, as it will now only boot into recovery.
    I have re-installed the drivers, I have even re-verted back to the original drivers from the CD, but it now will not even connect. If I can't connect the device, I can't put any firmware on the Zen, which means I can't use it at all now.
    I have been through the knowledge base, but even narrowing down my search to only Zen Touch players, I get several pages of irrelevant information.
    I have e-mailed Creative and will see what response I get and I have also posted on another forum.
    There must be someone out there that can help sort this, it was an excellent present to me and now its not working
    Thanks
    Bubs

  • How to refresh a JTable of a class from another thread class?

    there is an application, in server side ,there are four classes, one is a class called face class that create an JInternalFrame and on it screen a JTable, another is a class the a thread ,which accept socket from client, when it accept the client socket, it deal the data and insert into db,then notify the face class to refresh the JTable,but in the thread class I used JTable's revalidate() and updateUI() method, the JTable does not refresh ,how should i do, pls give me help ,thank you very much
    1,first file is a class that create a JInternalFrame,and on it there is a table
    public class OutFace{
    public JInternalFrame createOutFace(){
    JInternalFrame jf = new JInternalFram();
    TableModel tm = new MyTableModel();
    JTable jt = new JTable(tm);
    JScrollPane jsp = new JScrollPane();
    jsp.add(jt);
    jf.getContentPane().add(jsp);
    return jf;
    2,the second file is the main face ,there is a button,when press the button,screen the JInternalFrame. there is also a thread is beggining started .
    public class MainFace extends JFrame implements ActionListener,Runnable{
    JButton jb = new JButton("create JInternalFrame");
    jb.addActionListener(this);
    JFrame fram = new JFrame();
    public void performance(ActionEvent e){
    JInternalFrame jif = new OutFace().createOutFace(); frame.getContentPane().add(JInternalFrame,BorderLayout.CENTER);
    public static void main(String[] args){
    frame.getContentPane().add(jb,BorderLayout.NORTH);
    frame.pack();
    frame.setVisible(true);
    ServerSokct ss = new ServerSocket(10000);
    Socket skt = ss.accept()'
    new ServerThread(skt).start();
    3.the third file is a thread class, there is a serversoket ,and accept the client side data,and want to refresh the JTable of the JInternalFrame
    public class ServerThread extends Thread{
    private skt;
    public ServerThread(Sokcet skt){
    this.skt = skt;
    public void run(){
    OutputObjectStream oos = null;
    InputObjectStream ios = null;
    try{
    Boolean flag = flag;
    //here i want to refresh the JTable,how to write??
    catch(){}
    4.second is the TableModel
    public class MyTableModel{
    public TableModel createTableModel(){
    String[][] data = getData();
    TableModel tm = AbstractTableModel(
    return tm;
    public String[][] getData(){
    }

    Use the "code" formatting tags when posting code.
    Read this article on [url http://www.physci.org/codes/sscce.jsp]Creating a Simple Demo Program before posting any more code.
    Here is an example that updates a table from another thread:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=435487

  • Mifi 4510L Mifi Hotspot...is it the network? and what about the firmware update?

    I have spent several months trying to seek a solution on the repeated and frequent disconnects from the Verizon wireless network using my Mifi 4510 L.  No success.  I have conversed with Verizon Wireless "experts" on this matter and have basically been ignored, since they do not have a solution. It has cost me a pretty penny in wireless costs due to lost connections in downloads, etc...for which I do not get any credit from Verizon on my wireless bill...go figure.
    I have even been accused by Verizon that the problem is my computer and hardware, even though I have ran several hardware, software, and "real-life" connection checks on other wireless networks with no issues at all.  I even have been getting better connectivity when I use my Verizon USB UML290...but I hate having to switch moving my SIM card from the USB Modem to the MIfi4510L...one of these days the SIM card will fail. Verizon has checked the signal strength at my home and work locations (which I already knew as good), but never heard back from them.
    Anyway,  I have verified that my wireless network adapter works just fine on other wireless networks (no dropouts, etc).  I have even upgraded to another Windows Operating System - Windows 7...which is more superior than Vista in dealing with wireless communications.  I have implemented quite a number of the solutions provided by other great Verizon Wireless Community members, but the connectivity problems continue to occur.
    When I did a review of my wireless hardware logs, I noticed that when I was encountering problems, the dynamically assigned address given to me on the Verizon Wireless network changed quite a bit, even when I was using the same web site. When my wireless connection worked fine, the dynamically assigned address was consistent.  This seemed to change when I encounter peak network load times. 
    I would appreciate a straight answer from Verizon Wireless on what is going on with the network.  I live in a solid 3G coverage area...but just far away from 4G to benefit for the increased throughput.  The closest 4G location footprint is about 40 miles away from me.
    Finally, what about the Mifi 4510 L firmware update?  I have yet to see any notification about this firmware update, either through normal e-mail channels or even through my Mifi configuration site
    http://192.168.1.1/mifi.cgi
    What gives?
    I realize that I am sounding a little perturbed about this matter, but it has been almost 4 months now...and Verizon is not living up to their part of the bargain on providing good tech support on the Mifi 4510L.  When they do not have an answer...they ignore the customer.   Not good business!!!
    Kevin Smith
    Metropolis, IL

    kescom11 wrote:
    Finally, what about the Mifi 4510 L firmware update?  I have yet to see any notification about this firmware update, either through normal e-mail channels or even through my Mifi configuration site 
    The firmware update was released a few weeks ago and there were multiple threads in this forum for it:
    Software Update: Verizon Wireless 4G LTE Mobile Hotspot MiFi™ 4510L
    The firmware update primarily addresses a problem with the MiFi switching from 3G to 4G and back.  I would not expect it to resolve a connection issue for anyone in a 3G only area.  Work through the firmware update instructions included in the link above and see if it helps. 
    There were no email notifications but the MiFi should have been redirecting you to the MiFi homepage every time you tried to browse the internet.  The firmware update is mandatory so if you have not already completed the update then there might be something wrong with your device. 

  • How to use ImageContr​ol on another thread out main

    Hi All,
    I'm looking to use ImageControl (ImageControl.fp) on another thread out main thread 
    In my second thread i try to update image but i have a error (This panel operation can be performed (if a top-level panel) only in the thread in which the panel was created, or (if a child panel) only in the thread in which the top-level parent panel was created.)
    Here my code
    Main thread :
    ImageControl_ConvertFromDecoration (panelHandle, PANEL_IMAGECTRL, 0);
    ImageControl_SetZoomToFit (panelHandle, PANEL_IMAGECTRL, 1);
    ImageControl_SetAttribute (panelHandle, PANEL_IMAGECTRL, ATTR_IMAGECTRL_SHOW_SCROLLBARS, 0);
     hdleThread = CreateThread(NULL, 0,  (LPTHREAD_START_ROUTINE) ThreadTest,  NULL,  0, &idThread);
    Secand thread :
    int ThreadTest (void * data)
    ImageControl_SetZoomToFit (panelHandle, PANEL_IMAGECTRL, 1);
    iIdError  =    ImageControl_SetAttribute (panelHandle, PANEL_IMAGECTRL, ATTR_IMAGECTRL_IMAGE, imageToDisplay);
    // iIdError  = -129
    Could you help me ?
    Thankyou

    many thanks.  I should have thought of the need for using the Target Display Mode. 
    tony

  • Catching an exception thrown from another thread

    I have a SocketServer that creates new threads to handle incoming clients. If one of the threads throw a SQLException is it possible to catch that exception in the SocketServer that created that thread.
    I tried implementing this code and I cannot get the server to catch an exception thrown in the thread. Are my assumptions correct?
    I was reading something about Thread Groups and implementing an uncoughtException() method, but this looked like overkill.
    Thanks for your time!
    Some Example code would be the following where the ClientThread will do a database query which could cause an SQLException. I'd like to catch that exception in my Socket Server
          try
                 new ClientThread( socketServer.accept() , host, connection ).start();
          catch( SQLException e )
                 System.out.println( "DataSource Connection Problem" );
                  e.printStackTrace();
          }

    hehe, why?
    The server's job is to listen for an incoming message from a client and pass it off to a thread to handle the client. Otherwise the server will have to block on that incoming port untill it has finished handling the client and usually there are many incoming clients continuously.
    The reason I would want to catch an exception in the server based on the SQLException thrown in the thread is because the SQLException is usually going to be due to the fact the datasource connection has become unavalable, or needs to be refreshed. This datasource connection is a private variable stored in the socket server. The SocketServer now needs to know that it has to refresh that datasource connection. I would normally try to use somesort of flag to set the variable but to throw another wrench into my dilemma, the SocketServer is actually its own thread. So I can't make any of these variables static, which means I can't have the thread call a method on teh socket server to change the status flag. :)
    I guess I need implement some sort of Listener that the thread can notify when a datasource connection goes down?
    Thanks for the help so far, I figured java would not want one thread to catch another thread's exceptions, but I just wanted to make sure.

  • Are you suppose to access UIView from another thread?

    A lot of UI events in my apps take place in another thread. So in my uivewcontroller, it catches a button click for example, it launches a NSThread with some parameter. The reason I decided to use a thread is because if the duration takes long the UI completely locks up. The thread then fetches for some result and access a pointer to a UIView (a UILabel for example) and update it's content.
    Now, is this model correct? I'm running in cases where setting the UILabel.text from the thread sometimes work, sometimes doesnt. I'm not sure how to debug. If I change the thread call to a standard method call (which blocks until results are ready) the text is updated correctly.
    Any hints?

    http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/ThreadS afetySummary/chapter950_section2.html

  • Can i catch an exception from another thread?

    hi,guys,i have some code like this:
    public static void main(String[] args) {
    TimeoutThread time = new TimeoutThread(100,new TimeOutException("超时"));
    try{
    t.start();
    }catch(Exception e){
    System.out.println("eeeeeeeeeee");
    TimeoutThread will throws an exception when it runs ,but now i can't get "eeeeeeeeeee" from my console when i runs the main bolck code.
    i asked this question in concurrent forums,somebody told me that i can't.so ,i think if i can do this from aspect of jvm.
    thank you for your help
    Edited by: Darryl Burke -- Double post of how to catching exceptions from another thread locking

    user5449747 wrote:
    so ,i think if i can do this from aspect of jvm. What does that mean? You think you'll get a different answer in a different forum?
    You can't catch exceptions from another thread. It's that easy. You could somehow ensure that exceptions from that other thread are always caught and somehow passed to your thread, but that would be a different thing (you would still be catching the exception on the thread it is originating from, as is the only way).
    For example you can use setUncaughtExceptionHandler() on your thread to provide an object that handles an uncaught exceptions (and you could pass that uncaught exception to your other thread in some way).

  • Running another thread not to block UI

    I do some heavy operation inside the actionPerformed (load images from File Chooser, resize it for display and populate it in the ScrollPane etc) and I realize that the windows freezes until the whole operation is finished. And it doesn't really help that I do repaint() or validate(). I make some research and some of the books and people from forums say that I actually needed to dispatch another thread to run the heavy operation. So that I won't block the UI interface and can update things accordingly. But the problem is, I don't have any clear example to understand this concept. How to clean up the thread after operation finished. How can a thread notify the progress back and etc. I need to know how much images has been loaded so that I can update the progress bar and so on. Can anyone help me point out a good example? :D

    Think I should show my code snippet to you
    public void actionPerformed(ActionEvent e) {
            if (e.getSource() == BtnBrowse) {
                int returnVal = fcSelectFile.showDialog(this,"Select");
                if (returnVal == JFileChooser.APPROVE_OPTION) {
                    file= fcSelectFile.getSelectedFiles();
                    //This is where a real application would open the file.
                    Thread worker=new Thread(){
                            public void run(){
                                int count=0;
                                selectedFile=new JLabel[file.length]; 
                                while(count<file.length)
                                {   final int index=count;
                                    String actualFile=file[count].toString();
                                    String fileName= file[count].getName();
                                    selectedFile[count]=new JLabel(createImageIcon(actualFile,fileName));
                                    SwingUtilities.invokeLater(new Runnable(){
                                    public void run(){
                                    PnlImageHolder.add(selectedFile[index]);
                                    PnlImageHolder.repaint();
                                    PnlImageHolder.validate();
                                    count++;
                    worker.start();
                    ScpImageScroller.getViewport().add(PnlImageHolder);
    }

  • Link to another thread.

    The FAQ says that you can create a link to both a thread and a message using tags. I just right clicked on a thread title, clicked “Copy Link Location”, pasted and saw a url with a messageID. But if I wanted to use the {thread} tag, what id do I use?

    Where are you right clicking when you do that.
    If go to the forum page for this forum and right click on the title of this thread and "copy link location" I get...
    Link to another thread.
    which is clearly the thread ID.
    If however I do the same on your name under the "Last Post" column, I get...
    Re: Link to another thread.
    which I would expect as it's designed to take me to the last post which is a specific message.

Maybe you are looking for

  • Very urgent! plz have a look at this

    hi can anybody help me to develop a jsp page in which i want to include 3 dynamic dependant lists . Ex:-->Country-->state-->district-->city all the values r stored in MySql tables. independently i am able to display all the values for the first time(

  • WSDL Conformance using BEA Generated WSDL and MS WSDL.exe

    I have a web service. This service has ran with no problem for several months. There has been NO interoperability issues up to this point. Recently, I added a new method within the Web Service to use SOAP with attachment. I have this correctly workin

  • From KDEmod to KDE, problems

    Hi. I had installed KDEmod and I deleted it yestarday (pacman -R kdemod-uninstall) then i installed kde (pacman -S kde). But it generated some problems: - KDM won't start now now: (==) Using config file: "/etc/X11/xorg.conf" (==) Using config directo

  • Image resize in CS5 vs cell size in LR3 for large print quality

    What is the benefit of image resizing(larger) with resampling in photoshop than creating a larger cell size and increasing the DPI in LR3 if the file is to be printed just out of LR3.  Is there a significant improvement in image quality if this is do

  • Ways of synchronizing PXI fpga clock

    It seems that there are two different ways of synchronizing the code on the PXI 7852R to the clock of the PXI-1062Q chassis. What is the difference: 1. As described in http://digital.ni.com/public.nsf/allkb/D108D4AF937524CA862570FF004C2A48?OpenDocume