Wait screen and Thread

Hi
I am trying to build a general wait screen like this
public class Wait extends javax.swing.JFrame {
    private Thread counterThread;
    private String titleWindow;
    public Wait(String title, Thread tr) {
        initComponents();
        this.setTitle(title);
        this.setLocationRelativeTo(null);
        this.setVisible(true);
        counterThread = tr;
        try {
            URL url = new URL("file:///c:/Foronomos/resources/25-0.gif");
            Icon icon = new ImageIcon(url);
            jLabel1.setIcon(icon);
            jLabel1.setText("");
        } catch (Exception ex) {
      counterThread.start();
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
    private void initComponents() {
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jButtonCancel = new javax.swing.JButton();
        jButtonStart = new javax.swing.JButton();
    }// </editor-fold>                       
private void jButtonCancelActionPerformed(java.awt.event.ActionEvent evt) {                                             
    counterThread.interrupt();
    // Variables declaration                     
    private javax.swing.JButton jButtonCancel;
    private javax.swing.JButton jButtonStart;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    // End of variables declaration                  
}then am display the wait screen from a class creating a new thread
ShowDocument showDocument = new ShowDocument();
showDocument.showDocument(id, Main.searchDocuments.getQueryString());
Thread counterThread = new Thread(showDocument, "showDocument");
new Wait("Wait...",counterThread);
....my problem is that the wait screen delays to displayed on the screen an seems like to wait until the thread is finished
Am i something missing here?

TeoDim wrote:
thanx for reply
After the code new Wait("Wait...",counterThread);)
i am not doing nothing.So you are doing something?
Just if i press a button i want to display a screen with results from a long delay time query. So i want to display at that time a form with a messageFrom where are you execution the long running task? Where is it executing? Are you sure that you aren't using the AWT/Swing thread?

Similar Messages

  • How to use Wait Screen and Thread?

    Greetings,
    I was wondering If I could ask a question...
    Here it goes:
    How can I use a Wait Screen in a MIDlet so that I can do the Following:
    1.- Create and Open an Http Connection[b[i]](using an Object which extends Thread) in a Form by pressing an OKCommand.
    2 .- Show the Wait Screen Until the Thread Object finishes execution(finishes whatever is inside run() method)
    3.- Finally show the Result(s) of the Connection(bytes obtained from URL) in another Form.
    First of all, Is what I ask even possible? and more importantly...
    Can a Wait Screen actually Detect when a Thread finished execution? so that only when the thread finishes the program proceeds to the next statement?
    Thank you very much in advance!
    Sincerely, your friend,
    Jose

    Thank you very much Sir, I suppose that narrows it down a bit,
    Because I definitely need my applications as standard as possible.
    But good to know there's a way to do it.
    Well, Thank you very much as usual!
    Sincerely,
    Keep up with the fantastic job you do every day!
    God Bless.
    J

  • Boot up of Windows Server 2012 Essentials seems slow (extended Please Wait screen) and there are errors in Health Report

    Dear Sir or Madam,
    I have been experimenting with the evaluation version of WS2012e trying to get the installation and subsequent build into an optimal set up, and once I have everything I want it to do mapped out, I'll set it up with the full version with using the key that
    I bought.
    However, I've noticed that the server seems to experience a delay during cold boot - it sits with a Please Wait screen for about 60-90 seconds before it presents the screen with an option to Log on.  I have also discovered from running Health
    Report, that there are some entries in the event logs which appear to coincide with start up times, and which seem to be interconnected to each other in the issues they are describing, and I have copied an example of one of those health reports below. 
    I assume that everything sorts itself out in due course, because the events say the process will be re-attempted and these errors don't repeat again after the system has booted up.  I also have the server set to suspend when not in use with the Lights
    Out add in, so it shouldn't need to cold boot often - but I wondered if there's a way to correct these errors so that they don't hold up the boot up process?  I'm also concerned that these errors will cause me later problems with storage pools and
    the like at a later date - the disk replication one seems particularly worrying.  Alternatively, are these errors just a normal part of the start up process - the timing of when different processes start relative to each other - and can be safely ignored?
    In trying to understand what the events describe, I thought that WE2012e acted as its own Domain Controller, and yet it seems from the event log entries that it is waiting for another server to respond to AD / DC requests (but there isn't another server
    on my home network).  The other thing I remember from when I first tried out WS2012e, is that it took control of DHCP or DNS from the router, and I found that frustrating when waking up my laptop and it wouldn't connect to the internet until the server
    had fully booted up and re-asserted its network settings.  Is this another symptom of the same problem?  I remember seeing a posting at the SBS Diva's site about how to update the server so that it gave connected PCs a backup option for connecting
    to the internet when the server wasn't available, and was going to try to find that again to see if that helped.
    By way of background - there isn't another server in my home network.  This is an attempt to do a clean install onto the same hardware that I ran the initial trial of WS2012e, now that the trial has expired, so I'm not trying to migrate from an existing
    server.  I moved all the data on the trial server off onto an external disk, with the intention of importing it back once I had the Storage Pools set up the way I wanted on the new build, and since I didn't want to keep anything else about the server
    trial.  Am I correct in thinking that I don't need to go down the Migration route during installation, and can go through a Clean install in this circumstance? 
    I'm running on an Asus P8-H77-i motherboard, with an i5-3470s CPU and 16MB RAM, and I have WS2012e installed on 256Mb SSD formatted under GPT with uEFI boot - the latter being the main reason for the reinstall, instead of just giving the Evaluation
    version the new key on the original MBR set up.  I've also enabled Intel Rapid Storage and Rapid Start - and successfully set aside the hibernate partition on the SSD - but discovered that this is about forcing a hibernate after suspend, allowing
    the system to power down until its needed again, and then resuming from hibernate on the SSD rather than cold boot each time.  That seems to work, but doesn't improve the cold boot times at all, which was what I was hoping for - ideally the way my
    laptop will boot from cold in a few seconds into Windows 8. 
    Yours faithfully,
    Avon
    ======
    Health Report extract.
    Critical Errors in Event Logs in Last 24 Hours
     DFSR
    Event ID: 3221226674
    The DFS Replication service failed to contact domain controller  to access
    configuration information. Replication is stopped. The service will try again
    during the next configuration polling cycle, which will occur in 60 minutes.
    This event can be caused by TCP/IP connectivity, firewall, Active Directory
    Domain Services, or DNS issues.
    Additional Information:
    Error: 160 (One or more arguments are not correct.)
    Last occurrence: 26 May 2014 18:51:28
    Total occurrence(s): 2
     DNS
    Event ID: 2147487661
    The DNS server is waiting for Active Directory Domain Services (AD DS) to signal that the initial synchronization of the directory has been completed. The DNS server service cannot start until the initial synchronization is complete because critical DNS
    data might not yet be replicated onto this domain controller. If events in the AD DS event log indicate that there is a problem with DNS name resolution, consider adding the IP address of another DNS server for this domain to the DNS server list in the Internet
    Protocol properties of this computer. This event will be logged every two minutes until AD DS has signaled that the initial synchronization has successfully completed.
    Last occurrence: 26 May 2014 18:51:15
    Total occurrence(s): 2
     ADWS
    Event ID: 3221226674
    This computer is now hosting the specified directory instance, but Active Directory Web Services could not service it. Active Directory Web Services will retry this operation periodically.
    Last occurrence: 26 May 2014 18:51:08
    Total occurrence(s): 2
     NTDS General
    Event ID: 2147486534
    The security of this directory server can be significantly enhanced by configuring the server to reject SASL (Negotiate,
    Kerberos, NTLM, or Digest) LDAP binds that do not request signing (integrity verification) and LDAP simple binds that
    are performed on a cleartext (non-SSL/TLS-encrypted) connection.  Even if no clients are using such binds,
    configuring the server to reject them will improve the security of this server.
    Some clients may currently be relying on unsigned SASL binds or LDAP simple binds over a non-SSL/TLS connection,
    and will stop working if this configuration change is made.  To assist in identifying these clients, if such binds occur this
    directory server will log a summary event once every 24 hours indicating how many such binds
    occurred.  You are encouraged to configure those clients to not use such binds.  Once no such events are observed
    for an extended period, it is recommended that you configure the server to reject such binds.
    For more details and information on how to make this configuration change to the server, please see http://go.microsoft.com/fwlink/?LinkID=87923.
    You can enable additional logging to log an event each time a client makes such a bind, including
    information on which client made the bind.  To do so, please raise the setting for the "LDAP Interface Events" event logging category
    to level 2 or higher.
    Last occurrence: 26 May 2014 18:51:00
    Total occurrence(s): 2
    =======

    Hi KerguelanAvon,
    Based on your description, it seems to be hard to narrow down the cause of this issue. Please refer to following operations and monitor the result. It may help us to go further, and then solve this issue.
    1. Please refer to the following article and troubleshoot slow boot.
    New Slow Logon, Slow Boot Troubleshooting Content
    2. On your server 2012 essentials, please start a BPA scan and fix all that it can find, then monitor the result.
    Regarding to those critical Errors in Health Report, please perform
    Dcdiag on the server. Meanwhile, please refer to the following article and troubleshoot network connectivity, firewall setting and AD DS issue.
    DFSR Event 1202 (DFS Replication)
    Hope this helps.
    Best regards,
    Justin Gu
    Hi Justin,
    I'm reading through the links you referred me to but it's taking a while.  In the meantime I tried running BPA as you suggested.  I'm sure when I ran it before, it didn't say much beyond 81 checks completed, and I couldn't find a way to get any
    more detail.
    Now it says
    Problem:
    The DNS client is not configured to point only to the internal IP address of the server.
    Impact:
    If the DNS client is not configured to point only to the internal IP address of the server, DNS name resolution can fail.
    Resolution:
    To resolve this problem:
    1. From the client computer, open the Properties page for the network connection.
    2. Make sure that DNS is configured to point only to the internal IP address of the server.
    Except that it is.
    Connection-specific DNS Suffix:
    Description: Broadcom 802.11n Network Adapter
    Physical Address: ‎00-1B-B1-28-AE-63
    DHCP Enabled: Yes
    IPv4 Address: 192.168.1.133
    IPv4 Subnet Mask: 255.255.255.0
    Lease Obtained: 03 June 2014 21:56:49
    Lease Expires: 05 June 2014 20:24:20
    IPv4 Default Gateway: 192.168.1.1
    IPv4 DHCP Server: 192.168.1.1
    IPv4 DNS Server: 192.168.1.49
    IPv4 WINS Server:
    NetBIOS over Tcpip Enabled: Yes
    Link-local IPv6 Address: fe80::80ef:48d5:9fde:f10e%14
    IPv6 Default Gateway:
    IPv6 DNS Server:
    I'll try rebooting from the current windows 7 build over to windows 8 on my dual boot laptop, to see if that makes any difference, since it is the only other client PC connected to the server at the moment.
    Thanks, Avon.

  • Envy 360 freezes on please wait screen

    Computer freezes on please wait screen and won't load. Yesterday I installed a mouse but it was a USB 2.0 not 3.0 and then after I shut it down it won't won't after the wait screen.Please help!

    Won't work*

  • Just installing a few updates from the Mac App Store for mountain lion on my 2010 MacBook Pro, during this it made a noise and then the screen and keyboard went off, like it is off. What happened, is it off...or should I just wait it out?

    Just installing a few updates from the Mac App Store for mountain lion on my 2010 MacBook Pro, during this it made a noise and then the screen and keyboard went off, like it is off. What happened, is it off...or should I just wait it out?

    What kind of noise?
    The only things I can think of that make noise are fans and disks. Fans usually will not cause the computer to shutdown as you describe. My guess is your disk drive died. I hope you made a backup prior to start the ungrade.
    Allan

  • Hello..i have IPhone 4S i did reset to factory settings by fault and till now after a 2 hours there is nothing just a waiting icon in the middle of the screen and none of home or turn off button are response so i do need your help plz

    hello..i have IPhone 4S i did reset to factory settings by fault and till now after a 2 hours waiting (as known it takes a 1 to 2 minutes maximum) there is nothing just a blank screen and a running waiting icon in the middle of the screen and none of home or turn off button are responsed so i do need your help plz & thanks in advance..

    Try to reset it by holding the power an home buttons at the same time until you see the Apple logo, then release.  If it won't reset, you'll probably have to force it into recovery mode and restore it, as explained here: http://support.apple.com/kb/ht1808.

  • Example of WAIT and CONTINUE using checkBox and thread and getTreeLock()

    I had so much trouble with this that I descided to
    post if incase it helps someone else
    // Swing Applet example of WAIT and CONTINUE using checkBox and thread and getTreeLock()
    // Runs form dos window
    // When START button is pressed program increments x and displys it as a JLabel
    // When checkBox WAIT is ticked program waits.
    // When checkBox WAIT is unticked program continues.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    public class Wc extends JApplet {
    Display canvas;//drawing surface is displayed.
    Box buttonPanel;
    Box msgArea;
    public static JButton button[] = new JButton [2];
    public static JCheckBox checkBox[] = new JCheckBox[2];
    public static JLabel msg[] = new JLabel [2];
    String[] buttonDesc ={"Start","Quit"};
    public static final int buttonStart = 0;
    public static final int buttonQuit = 1;
    String[] checkBoxDesc ={"Wait"};     
    public static final int checkBoxWait = 0;
    public boolean wait;
    public Graphics g;
    //================================================================
    public static void main(String[] args){
    Frame f = new Frame();
    JApplet a = new Wc();
    f.add(a, "Center"); // Add applet to window
    a.init(); // Initialize the applet
    f.setSize(300,100); // Set the size of the window
    f.show(); // Make the window visible
    f.addWindowListener(
    new WindowAdapter(){
    public void windowClosing(WindowEvent e){System.exit(0);}
    }// end main
    //===================================================
    public void init() {
    canvas = new Display();
    setBackground(Color.black);
    getContentPane().setLayout(new BorderLayout(3,3));
    getContentPane().add(canvas, BorderLayout.CENTER);
    buttonPanel = Box.createHorizontalBox();
    getContentPane().add(buttonPanel, BorderLayout.NORTH);
    int sbZ;
    // add button
    button[0] = new JButton(buttonDesc[0]);
    button[0].addActionListener(canvas);
    buttonPanel.add(button[0]);
    button[1] = new JButton(buttonDesc[1]);
    button[1].addActionListener(canvas);
    buttonPanel.add(button[1]);
    // add checkBox
    sbZ=0;
    checkBox[sbZ]=new JCheckBox(checkBoxDesc[sbZ]);
    checkBox[sbZ].setBackground(Color.white);
    checkBox[sbZ].setOpaque(true);
    checkBox[sbZ].addActionListener(canvas);
    buttonPanel.add(checkBox[sbZ]);
    msgArea = Box.createVerticalBox(); // add message
    sbZ=0;
    msg[sbZ]=new JLabel("1",JLabel.LEFT);
    msg[sbZ].setOpaque(true);
    msg[sbZ].setBackground(Color.black);
    msg[sbZ].setForeground(Color.red);
    msgArea.add(msg[sbZ]);
    getContentPane().add(msgArea, BorderLayout.SOUTH);
    } // end init();
    //===================================================
    public void stop(){canvas.stopRunning();}
    //===================================================
    // The following nested class represents the drawing surface
    // of the applet and also does all the work.
    class Display extends JPanel implements ActionListener, Runnable {
    Image OSI;
    Graphics OSG; // A graphics context for drawing on OSI.
    Thread runner; // A thread to do the computation.
    boolean running; // Set to true when the thread is running.
    public void paintComponent(Graphics g) {
    if (OSI == null) {
    g.setColor(Color.black);
    g.fillRect(0,0,getWidth(),getHeight());
    else {g.drawImage(OSI,0,0,null);}
    }//paintComponent
    public void actionPerformed(ActionEvent evt) {
    String command = evt.getActionCommand();
    if (command.equals(buttonDesc[buttonStart])) {
    startRunning();
    if (command.equals(buttonDesc[buttonQuit])) {
    stopRunning();
    if (command.equals(checkBoxDesc[checkBoxWait])){
    System.out.println("cb");
    if (checkBox[checkBoxWait].isSelected() ) {
    wait = true;
    System.out.println("cb selected twait "+wait);
    return;
    wait = false;
    synchronized(getTreeLock()) {getTreeLock().notifyAll();}
    System.out.println("cb selected fwait "+wait);
    } // end command.equal cb wait
    } //end action performed
    // A method that starts the thread unless it is already running.
    void startRunning() {
    if (running)return;
    // Create a thread that will execute run() in this Display class.
    runner = new Thread(this);
    running = true;
    runner.start();
    } //end startRunning
    void stopRunning() {running = false;System.exit(0);}
    public void run() {
    button[buttonStart].setEnabled(false);
    int x;
    x=1;
    while(x>0 && running){
    x = x + 1;
    msg[0].setText(""+x);
    try{SwingUtilities.invokeAndWait(painter);}catch(Exception e){}
    //importand dont put this in actionPerformed
    if (wait) {
    System.out.println("run "+wait);
    synchronized(getTreeLock()) {
    while(wait) {
    System.out.println("while "+wait);
    try {getTreeLock().wait();} catch(Exception e){break;}
    } //end while(wait)
    } // end sync
    } // end if(wait)
    } // endwhile(x>0)
    stopRunning();
    } // end run()
    Runnable painter = new Runnable() {
    public void run() {
    Dimension dim = msg[0].getSize();
    msg[0].paintImmediately(0,0,dim.width,dim.height);
    Thread.yield();
    }//end run in painter
    } ; //end painter
    } //end nested class Display
    } //end class Wc

    I just encountered a similar issue.  I bought a new iPhone5s and sent my iPhone4s for recycling as it was in great shape, no scratches, no breaks, perfect condition.  I expected $200 and received an email that I would only receive $24.12.  The explanation was as follows:  Phone does not power on - Power Supply Error.   Attempts to discuss don't seem to get past a customer service rep that can only "escalate" my concern.  They said I would receive a response, but by email.  After 4 days no response.  There is something seriously wrong with the technical ability of those in the recycling center.

  • My iphone 3gs does not restore and is stuck on white screen and a message in itunes which says "waiting for itunes" plz help.

    My iphone 3gs does not restore and is stuck on white screen and a message in itunes which says "waiting for itunes" plz help.
    i have tried to restore it to different firmwares, tried resetting ,dfu mode , different systems etc etc nothing worked

    My iphone 3gs does not restore and is stuck on white screen and a message in itunes which says "waiting for itunes" plz help.
    i have tried to restore it to different firmwares, tried resetting ,dfu mode , different systems etc etc nothing worked

  • Broken 4s screen and no display. Siri worked to make calls but now says "Siri not available connect to internet" still waiting on new phone and need to make calls. How can I get Siri to work again?

    I broke my iPhone 4s screen and display. Siri worked to make calls but now says "Siri not available, connect to the internet". How do I make Siri work again till I get my new phone?

    If not connected to the Internet, either through WiFi or 3G, you can't.

  • The application does not use the  screen and run in the background

    Hi
    I have downloaded a package of j2me Midlet
    from [link] here [link]
    and try to reuse the code
    but I get the following error when running the code:-
    The application does not use the screen and run in the background
    I think the error into one of these two classes
    package main;
    import javax.microedition.midlet.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.media.Manager;
    import javax.microedition.media.MediaException;
    import javax.microedition.media.Player;
    import java.io.IOException;
    import java.io.InputStream;
    public class MainMidlet extends MIDlet implements CommandListener {
        private SSGameCanvas gameCanvas ;
        private Command exitCommand ;
        private Player player = null;
        public void startApp() {
      try {
           //   create new game thread
              gameCanvas = new SSGameCanvas();
              gameCanvas.start(); // start game thread
              exitCommand = new Command("Exit",Command.EXIT,1);
              gameCanvas.addCommand(exitCommand);
              gameCanvas.setCommandListener(this);
                Display.getDisplay(this).setCurrent(gameCanvas);
       catch (java.io.IOException e)
                e.printStackTrace();
            try {
                // start sounds
                InputStream in = getClass().getResourceAsStream("/resource/startfly.wav");
                player = Manager.createPlayer(in,"audio/x-wav");
                player.setLoopCount(1);
                player.start();
            catch (MediaException ex)
                ex.printStackTrace();
             catch (IOException ex)
                ex.printStackTrace();
        public void pauseApp() {
        public void destroyApp(boolean unconditional) {
            if (player != null) {
                player.close();
            System.gc();
      public void commandAction(Command command, Displayable displayable) {
           if (command == exitCommand)
                 destroyApp(true);
                 notifyDestroyed();
    package main;
    import java.io.IOException;
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    public class SSGameCanvas extends GameCanvas implements Runnable {
        protected GameManager gameManager;
        protected boolean running;
        private int tick=0;
        private static int WIDTH;
        private static int HEIGHT;
        private int mDelay = 20;
        Form mainForm;
        Display display;
        //private int MaxTime;
        public SSGameCanvas() throws IOException{
            super(true);
            gameManager = new GameManager(5,5,getHeight()-10,getWidth()-10,this);
        public void start() {
                this.running = true;
                Thread t = new Thread(this);
                t.start();
        public void stop() {
            running = false;
        public void render(Graphics g) {
            WIDTH = getWidth();
            HEIGHT = getHeight();
            // Clear the Canvas.
            g.setColor(0, 0, 50);
            g.fillRect(0,0,WIDTH-1,HEIGHT-1);
            // draw border
            g.setColor(200,0,0);
            g.drawRect(0,0,WIDTH-1,HEIGHT-1);
            // draw game canvas
            gameManager.paint(g);
        public void run() {
            while (running) {
                // draw graphics
                render(getGraphics());
                // advance to next graphics
                advance(tick++);
                // display
                flushGraphics();
                try { Thread.sleep(mDelay); }
                catch (InterruptedException ie) {}
        public void advance(int ticks) {
            // advance to next game canvas
            gameManager.advance(ticks);
            this.paint(getGraphics());
    }Edited by: VANPERSIE on Jul 10, 2012 12:26 PM

    Hi Andi,
    Thanks for your reply.
    Yes, I have waited for a while and the result doesn't change.
    The Porblem here is the application is seen started in visual administrator.Only restart brings up the page back.
    Can you please suggest anything.
    Thanks and regards
    Nagaraj

  • How do i insert a splash screen or a loading screen and a application image for a phone app on Dream

    How do i insert a splash screen or a loading screen and a application image for a phone app on Dreamweaver 6, 5.5 had the mobile application setting that is seemingly no longer present? and i also heard you can use animanted backgrounds on the mobile application in dreamweaver 6 but figuring out how to set the splash screen and application image like it was in 5.5 would be nice. All i can get to pull up is the web application i developed i am trying to build into a phone app on google chrome, if i could officially designate it as a phone app where i can set each splash screen and app image to where it is recognized as a phone app that would be really nice.

    Duely noted, the server will still not connect, so i have left an inquery in the suggested forum.
    Date: Mon, 15 Oct 2012 07:37:34 -0600
    From: [email protected]
    To: [email protected]
    Subject: How do i insert a splash screen or a loading screen and a application image for a phone app on Dream
        Re: How do i insert a splash screen or a loading screen and a application image for a phone app on Dream
        created by David_Powers in Developing server-side applications in Dreamweaver - View the full discussion
    jmed0411 wrote: the phonegap program loads for quite some time and eventually reaches to the unfortunate conclusion that the server cannot be reached and to please try again. Any ideas on how that problem can be mended if the solution is in my hands?? I haven't used PhoneGap Build recently, but I have seen several reports about problems connecting to the server. One suggestion that I've heard is that there has been unexpectedly high demand on the server since the launch of Edge Tools and Services as part of the Creative Cloud last month. As far as I know, the only thing you can do is wait, and try again later. You could also try posting in the PhoneGap Build forum: http://community.phonegap.com/nitobi/products/nitobi_phonegap_build.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4774799#4774799
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4774799#4774799
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4774799#4774799. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Developing server-side applications in Dreamweaver by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Waiting for a thread to die.

    Hello, I hope you can help me...
    I am writting a jdk1.4.1 Swing application that displays a small animation. This animation is processed from within a separate thread. My program makes a call starting this 'animation thread'. For practical reasons my program needs to wait for this thread to die (and thus the full animation to be shown) before it can continue. I am waiting for the animation thread to die using Threads 'join' method. However the problem with this is that I am forcing the GUI thread to wait resulting in the animation being calculated but not displayed. And so... how can I fix this... all I want is to wait until the animation is shown.
    What I would like to do is:
    1. Start animation;
    2. wait intil animation has completed;
    3. continue with program.
    Any help or advice will be greatly appreciated.
    Thank you in advance.

    Maybe this design could work for you. You divide your program into three parts running in three separate threads.
    1. The main thread handling GUI stuff and coordination of the two other threads.
    2. A working thread doing most of what the main thread is now doing.
    3. The animation thread.
    With this division of labour the working thread is waiting for the animation thread to finish (the main GUI thread isn't). The main thread will be free at all times to react to the users input or updating the screen or whatever, while the other two threads are cooperating to produce the animation.

  • Re: Please wait screen

    A previous message (Please wait screen) on this forum asked about delays on boot times with Vista on a u300 and mentioned tempro. That thread is closed so I start a new one; see http://eu.computers.toshiba-europe.com/innovation/generic/TEMPRO_RELEASE/ for latest version where it says "if you are using TEMPRO version 1.0 or 1.1 then you may see a quicker boot up time if you upgrade to this version".

        Hummm, well stacyadell, let's figure out what's going on. Is you application on the memory card or is it on the phone memory? Try moving it inbetween each of them and see if you still get the error. Let's also try running on wi-fi and see if that works at all.
    I have seen that you also might need to install My Verizon and sign in to make sure that NFL mobile is linked to your phone number and thus your Verizon Wireless account. Please make sure that you can sign on to your account on My Verizon and then retest.
    Thanks!
    MichelleG_VZW
    Please follow us on Twitter @vzwsupport

  • White Screen and Blank Screen

    Hi guy
    I recently bought a 9720 and as new as it is,it fell when doing a back flip(long story)... So as we speak all I'm getting is a black blank flickering screen and sometimes that black screens becomes a "white screen of death"...
    And I've been doing my research and because the 9720 is still new,no one has experienced what I'm experiencing maybe... So guys if anyone has a solution to this pls help out,pls pls pls,
    Thank you

    Hi and Welcome to the Community!
    I recommend that you attempt to boot into Safe Mode:
    KB17877 How to start a BlackBerry smartphone in Safe Mode
    It may take you multiple attempts to get the ESC key sequence (press/release/hold) correct, so be patient. When successfully into Safe Mode, see what happens.
    If the behavior ceases, then think carefully...what happened just before this behavior started? A new app? An update? A Theme? Something else? Think carefully as the smallest change could be causal...and attempt to undo whatever that was.
    But if the behavior continues in Safe Mode, then you may need to consider more drastic actions -- WIPE, OS Reload, BBSAK Wipe/Reload, and the "Bare Bones" OS Reload Process. To prepare, you should be sure that you have a full backup to your PC...please review the Backup link in my auto-sig on this post for instructions.
    You may also need the use of these tricks:
    KB10144 How to force the detection of the BlackBerry smartphone using Application Loader
    KB27956 How to recover a BlackBerry smartphone from any state
    http://crackberry.com/blackberry-101-lecture-12-ho​w-reload-operating-system-nuked-blackberry
    Also, please try this sequence...note that, throughout the entire 4h15m process, your BB must remain directly connected to a known-good wall charger (not PC USB, not a cradle):
    With the battery inside, connect your BB to the wall charger
    Leave it alone for 2 hours, no matter what the LED or the display does
    Remove the battery
    Wait 15 minutes
    Insert the battery
    Wait another 2 hours, no matter what the LED or the display does
    This has been known to "kick start" some BBs.
    It is also possible that your battery or BB has experienced a problem...to test, this sequence is needed:
    Obtain an known good and already fully charged additional battery...use it in your BB and see what happens
    Obtain access to a known good and identical BB...use your battery in it and see what happens
    The results of this will indicate if it's your BB or your battery that has the problem. Note carefully please that "new" and "know good" are not necessarily the same things. While rare, a "new" battery certainly could be defective. Rather, the simplest (and least costly, btw) method to conduct this test is to find someone with an identical BB who has no issues...trade batteries and see what happens.
    Lastly, do be aware that if the device was damaged, then no amount of OS or software level "fixes" will be of any use. Only in-hand evaluation by a qualified BB hardware technician could give you a proper evaluation and estimate if actual damage has happened.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Excessive Wait Times and No Resolution

    I am posting this out of sheer frustration. We had a minor issue (as yet unresolved) that should have been fixed quickly. Even though it shows we are connected to our WiFi we can't get internet. The first time it happened we called and they did something on their end and it was fixed in a matter of minutes. The second time it happened they sent a tech over who told us it had to do with hardware in the building (We are in an apartment) and didn't even have to access our apartment to fix it. The third time it happened the light finally came on -why hasn't this been truly fixed and how many more times is this going to happen? So called Thursday night and they tell us they can't be out til Monday. But call back tomorrow and maybe they can bump that time up.
    So my husband calls bright and early at 0830 and has to navigate the phone tree for 5 minutes before waiting another 10, 20 (?) minutes before getting a live person who is of no help so transfers my husband to a supervisor. Another wait. And my husband is getting mad, and asks for a credit on our account. Another transfer, then gets disconnected. So what should have been a quick phone call has just escalated to "what do I do? This is terrible service. Should we cancel Verizon outright and switch to another company?" Calls back, phone tree, on hold ... 30+ minutes, then gets an automated voice menu that doesn't recognize the prompts and disconnects the call. By this time it's after 1030. Wasted 2 hours for NOTHING. Meanwhile I'm trying to log on thru the mobile app. Log in and the first message I get is to call Verizon customer service. So I try the live chat and the page won't even load. In desperation I go to the "I want to order" page and lo and behold I get a live person. I admit I made some catty remarks (Basically you'll answer when I want to buy something but not when I need help. - only not quite so polite, sorry to that person I know she's just doing her job) That person was nice enough to transfer me to someone so I could explain the situation better, and she says I will get you to the right department, and so I explain the situation one more time to get the response of "you were transferred here by mistake" so while I'm waiting yet again for help I went on a little tirade raising the points:
    1. I am paying for a service I'm not receiving. Not only that I'm paying for the extra data we used not realizing the WiFi wasn't truly connected
    2. This isn't the first or even 2nd time this has happened? How many more times does it need to happen before it's truly fixed?
    3. It's really a minor problem but because of the bad customer service it turns into an ordeal.
    4. The phone tree is ridiculous. Doesn't matter which option you choose you still wait on hold for an unacceptable amount of time. 5 minutes is too long let alone 10 or 20.
    5. Hold times. See #4.
    6. When you finally get a live person they have no autonomy, are obviously following a script so if you mention anything they can't find in their answer book they have to transfer you somewhere else instead of being able to use common sense and make their own decisions. So you wait yet again on hold.
    7. Then out of the blue the call is dropped? Really? Isn't that Verizon's area of expertise?
    8. Online isn't any faster. The first response I got was to call customer service. Then the chat screen wouldn't even load.
    9. When I contacted Verizon as if I were a potential new customer guess what? I got a live person right away. In fact, even though it wasn't their jobs, 2 of them actually either tried or did a great job of pretending to try to help. But when it got down to the actual issue, they stopped responding. So 10 minutes after the final response I left a message to call either me or my husband and left 2 numbers. Still no call.
    I posted a comment on facebook and almost immediately got multiple responses echoing the same thing - Verizon's customer service is terrible. My sister in law stated her record was 3 hours. We have been Verizon customers since 1998 (back when it was Cellular2000) and loved it. Never outages and only came across 1 dead spot. When everyone would say "such and such is cheaper" we'd always say we're sticking with Verizon. But in the last couple of years the service has declined and it really isn't that much better than the other options.

    Your issue has been escalated to a Verizon agent. Before the agent can begin assisting you, they will need to collect further information from you.
    Please go to your profile page for the forum, and look in the middle, right at the top where you will find an area titled "My Support Cases". You can reach your profile page by clicking on your name beside your post, or at the top left of this page underneath the title of the board.
    Under “My Support Cases” you will find a link to the private board where you and the agent may exchange information. This should be checked on a frequent basis as the agent may be waiting for information from you before they can proceed with any actions.
    To ensure you know when they have responded to you, at the top of your support case there is a drop down menu for support case options. Open that and choose "subscribe".
    Please keep all correspondence regarding your issue in the private support portal.

Maybe you are looking for

  • Setting up iTunes on new computer for two users

    I just got a new Windows 7 laptop and I'm trying to figure out how to transfer two distinct user libraries to the new computer. A little background: My wife and I have been using the same computer for years with different user accounts - she had her

  • Process Industry- How to map the Scenario?

    Dear Gurus, The is a Process Industry, Chemical Manufacturing Unit, which does the following sequence of Operation to get the Semi finished material. 1) Acid, TC, and Catalyst are 3 Raw materials 2) Acid, TC and catalyst after being put into reactors

  • Creating a sprite

    ok here is the deal. I want a flock of birds to fly accross my web page. so I went to poser and rendered a bird in flight as 60 separate frames in ping format so there wouldn't be any background. I then imported all the frames into the flash library

  • BW backup failing

    Hello Experts, BW backup is failing continuously with error 0003 in SAP. Below is the detail log: File                                                Size  Group     Device  Status    Link    Type /oracle/BWP/origlogA/log_g11m1.dbf              52429

  • MBP and MBA do not find TC upon wake up

    Strange...when using the actiontec modem/router my imac, mbp and mba wake up and are on-line. When I install the Time Capsule (the actiontec is then reconfiguered to turn off radio signal to avoid interference) all machines work fine except they do n