Display progress bar and message for delay

hi all,
    I have an application in which, when i execute the RFC it is taking time to get the data. So it is displaying a white screen for the user untill the data is retrieved from the backend.
I want to show a progress bar or any thing of that kind so that user knows that data is being loaded.
Is there a way to do that?
Regards,
Gopi

Hi,
   You might want to go through <a href="/people/valery.silaev/blog/2006/10/09/loading-please-wait blog.
Regards,
Satyajit.

Similar Messages

  • Splash screen with progress bar and multiple jar files to load

    Hello,
    I have been looking to the new features in java 6 for splash screens. I haven't implemented this never before and i was wondering how i could do the following with java 1.5 or 6:
    I would like to see a splash screen with a progress bar that "grows" when every jar file has been read.
    At this time i call my application like this from a shell script:
    exec "$JAVA_BIN" -Djava.library.path=$LIBRARIES_J3D -classpath xxxx.jar yyyy.jar zzzz.jar ...
    where xxx.jar, yyy.jar and zzz.jar are very heavy jars.
    So i would like to see in the progress bar 33% 66% and 100% when they are loaded.
    I do not know if this is the right forum to ask for this. If no, please point me which would be the ideal one.
    Any help will be very useful. Thanks to all!

    Am 10.07.2015 um 07:17 schrieb Lalit Solanki:
    > Hi friend,
    >
    > I am create pure eclipse E4 application and trying to splash screen with progress bar and message.
    >
    >
    >
    >
    > but above image in only support eclipse E3 application so pleas help me how to add progress bar and message in eclipse E4 application
    >
    Hi Lalit,
    there's a Bug entry: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382224
    Meanwhile you can use this solution:
    https://www.eclipse.org/forums/index.php/t/328812/5ceed4bcaa683a94d65efb161bffd217/
    Regards,
    Ralf.

  • I am installing the latest update on Mountain lion. ( Itunes) . Screen went light gray, no progress bar, and is been running for about two hours. Help!

    I am installing the latest update for Mountain lion (the iTunes update) . The screen went light gray, with no progress bars, and has remained that way for several hours. Help!

    In this case, hold the Power button until your computer turns off, and then, turn your Mac on again. It looks like your computer got stuck during its restart, so it shouldn't harm anything on your computer

  • Displaying Progress Bar

    Hello,
    I want to display progress bar based on the bytes received from socket.  The tutorials and examples show only image loading.  Is it possible to display progress bar based on bytes received for socket.  If so, can anyone tell me how to do it?
    var total_bytes:Number=0;
    public function bytesReceived(event:ProgressEvent):void
           var bytes_received = event.bytes.loaded;
           total_bytes = bytes_received + total_bytes;
    Thanks

    Use SwingWorker, which is not included in Swing library, but you can find it on http://java.sun.com/docs/books/tutorial/uiswing/components/example-swing/SwingWorker.java;
    see alse http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html.

  • Progress bars and threads...

    Hey...
    I've had many replies on my previous questions about progress bars. I thank everybody who was concerned. But i still don't know if i have to use a seperate thread to run the progress of my bar... Can i have a progress bar in a Frame updating the progress of some file loading without having it in a seperate thread ?? I mean if i have an application that runs a Frame, this frame has buttons, textfields and other stuff, one of the buttons uploads a file chosen to a server. Now i also have a progress bar, can it keep progress of the upload without having it in a seperate thread ?? If yes, then how. Cause i can't seem to make it move unless the upload is done... I also want to know that, if i have to use a seperate thread, do i have to use something called a SwingWorker ???

    Here's the deal....
    If you don't use a separate thread, then your file upload process will block the main ("dispatch") thread until it has finished. This means that the GUI will not be updated to show your ever-growing progress bar. You'll see the bar start at zero, and then nothing will happen until the file finishes uploading, and then the bar will show 100%.
    Even if you are updating the bar in a loop, changes will still not be displayed, because repaint requests get put on a queue, and they are executed only when the VM decides it has time to do them (ie when it's finished doing your file upload!)
    So, yes you do need to use a thread to load your file and change your progress bar. and if that thread will update any GUI elements directly, start it by calling SwingUtilities.invokeLater(myThread). Also, make sure you do "myThread.setPriority(3);" (or thereabouts - make sure it's less than 5) on the thread before invoking it. This way, the main thread that updates the gui will have priority, so will update regularly.

  • Show progress bar and percents when packaging a native installer with adt packager

    Hello,
    Below is a simple example using the AIR's NativeProcess for compiling an air application into a native installer... Everything works fine, so at the end of the NativeProcess, the native installer (*.exe) is created... In this case, the application which I'm trying to compile is small (approx. 600KB)... However, if I have to package into native installer a bigger file (several MBs), I would like also to monitor the progress by using a progress bar and percents... How?
    private var file:File
    private var nativeProcessStartupInfo:NativeProcessStartupInfo;
    private var nativeProcess:NativeProcess;
    private function compile():void{
      file = new File("C:\\Program Files\\Java\\jre7\\bin\\java.exe");
      nativeProcessStartupInfo = new NativeProcessStartupInfo();
      var args:Vector.<String> = new Vector.<String>();
      args.push("-jar");
      args.push(adtPath);
      args.push("-package");
      args.push("-storetype");
      args.push("pkcs12");
      args.push("-keystore");
      args.push(certPath);
      args.push("-storepass");
      args.push("mypass");
      args.push("-target");
      args.push("native");
      args.push(exePath);
      args.push(xmlPath);
      args.push("-C");
      args.push(swfPath);
      args.push("testApp.swf");
      args.push("icons");
      nativeProcessStartupInfo.arguments = args;
      nativeProcessStartupInfo.executable = file;
      nativeProcess = new NativeProcess();
      nativeProcess.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA, onOutputData);
      nativeProcess.addEventListener(ProgressEvent.STANDARD_ERROR_DATA, onErrorData);
      nativeProcess.start(nativeProcessStartupInfo);
    private function onOutputData(event:ProgressEvent):void{
       var op:String =  nativeProcess.standardOutput.readUTFBytes(nativeProcess.standardOutput.bytesAvailable);
       trace("output = " + op);
    private function onErrorData(event:ProgressEvent):void{
       var er:String = nativeProcess.standardError.readUTFBytes(nativeProcess.standardError.bytesAvailable);
       trace("error = " + er);
    Thanks in advance,
    Nikola

    Someone to offer a solution to this problem (if exists)?

  • When i try to restore my iPad it gets stuck a quarter along the progress bar and won't restore.

    Ok so i downloaded the 4.3.3 update and tried updating but it got stuck about a quarter of the way along the progress bar and won't move. I unplugged it and plugged it in again then tried a restore, it did the same thing, i've done it about 5 times now and it still gets stuck in the same spot each time. I put it into DFU mode and tried a restore but it still won't. Help?

    Hi Tulips 14,
    If you are having reoccuring Error 21 notices when trying to restore your iPhone, you may find the following article helpful, in particular the "Check for Hardware Issues" portion:
    Apple Support: Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/TS3694
    Regards,
    - Brenden

  • Mac Stuck at Startup Screen with Grey Apple Logo,Empty Progress Bar and a Spinning wheel

    Last night the electricity went out and my power surge protector was not working so my iMac just force shut downed.
    So, when the electricity came back i turned on my Mac but it is *Stuck in the Startup/Boot Screen with a Grey Apple Logo,a Empty Progress Bar with stays for 1 or 2 minutes and a small Spinning Wheel which would Spin Forver! I Have tried the SMC and Pram reset but no use, i have also tried to insert my OS X Lion 10.7 Installation disk and it would not load if i hold the C Key in the Startup, I Have Managed to go to Disk Utility Through "Recovery HD"  but the Volume "Macintosh HD" is Greyed out and Unmounted and i cannot repair it. There are some files that i'd like to Recover if there is a way to fix it without deleting files.
    **PLEASE HELP ME FIX THIS!**
    Details about the iMac:
    iMac 21.5 Inch i think from Mid 2010,
    OS X Lion installed maybe 10.7.2 or 10.7.3 (im not sure)

    kernel
    Grey screen with Metallic Apple and spinning gear
    Sounds to me like your hard drive failed on you as a result of the power going out.
    http://www.apple.com/support/imac-harddrive/
    If your iMac is a Mid 2010 you qualify for the hard drive replacement program from Apple.
    Apple has determined that certain Seagate 1TB hard drives used in 21.5-inch and 27-inch iMac systems may fail. These systems were sold between October 2009 and July 2011.
    I hope I helped you with your problem.
    - Brandon

  • From which table can I display PGI (material and quantity)for a spesific cu

    Dear gurus,
    From which table can I display PGI (material and quantity)for a spesific customer order?
    Thanks in advance

    HI
    PGI and material quantity can be available in MSEG table
    for this enter the sales order number in KDAUF or* MAT_KDAUF* fields in MSEG table
    Also try with LIPS delivery item table and LIKP table
    regards
    SAP SD
    Edited by: sapkpit_sd on Jul 22, 2010 8:14 AM

  • How to change the color of the progress bar and string

    Is their anyway to change the color of the progress bar and the string which shows the progress of the bar. The current color of the bar is purple and i would like it to be red or blue so that it stands out against the background of the JFrame i am using. I dont want to change the color of the JFrame
    Thanks in advance

    import java.awt.*;
    import javax.swing.*;
    public class ProgressEx {
        public static void main(String[] args) {
            UIManager.put("ProgressBar.background", Color.WHITE);
            UIManager.put("ProgressBar.foreground", Color.BLACK);
            UIManager.put("ProgressBar.selectionBackground", Color.YELLOW);
            UIManager.put("ProgressBar.selectionForeground", Color.RED);
            UIManager.put("ProgressBar.shadow", Color.GREEN);
            UIManager.put("ProgressBar.highlight", Color.BLUE);
            JFrame f = new JFrame("Test");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JProgressBar pb1 = new JProgressBar();
            pb1.setStringPainted(true);
            pb1.setValue(50);
            JProgressBar pb2 = new JProgressBar();
            pb2.setIndeterminate(true);
            Container cp = f.getContentPane();
            cp.add(pb1, BorderLayout.NORTH);
            cp.add(pb2, BorderLayout.SOUTH);
            f.pack();
            f.setVisible(true);
    }

  • Oracle Error Code and Message for Query Timeout

    Hi,
    I need to catch the oracle error code and message for query timeout.
    I am using Oracle 9i and could not find any relevant error code/message
    for query timeout in Oracle Error Messages.
    If anyone has encountered such error messages, please let me know the
    Oracle Code or Error message.
    Thanks & Regards,
    Kanjana

    Fly is correct in that Oracle will normally let a query run forever in the absense of a user profile or dbms_resource setting that limits a users (query) resouce usage.
    The errors returned for these condition would probably vary but errors ORA-02092 "exceeded session limit on CPU usage, you are being logged off" and ORA-02093 "exceeded call limit on CPU usage" might be of interest.
    But for distributed queries Oracle does impose a time limit. See Oracle error ORA-02049 "timeout: distributed transaction waiting for lock"
    HTH -- Mark D Powell --

  • HT4623 My iPhone 4 has become unresponsive during the update. It's showing a progress bar and has not moved for over half an hour can anyone help ?

    My iPhone 4 has become unresponsive during the latest update I have a progress bar about half way through the update and it hasn't moved for about an hour can anyone help???

    Hey Ali.M27,
    Thanks for the question. I understand you are experiencing issues with your iPhone during an iOS update. If your issues persist, you may need to restore your device in recovery mode:
    iOS: Unable to update or restore
    http://support.apple.com/kb/HT1808
    Thanks,
    Matt M.

  • About progress bar and Photoshop

    I have been reading a lot about how to make a progress bar in photoshop (scripting) and my conclusion is that it is not worthy. The only way to make a progress bar is by using Palette window but Photoshop does not support it. If we use a dialog window, since it is modal, it will freeze whatever your script is doing so, you cannot use it (how to track the progress of a script if the script is paused while the dialog is being shown?). Although Photoshop does not support Palette, there are two workarounds that would make it work and they are using either app.refresh() or waitForRedraw() (and undocumented function that seems to me to do exactly the same thing that app.refresh() does). But as the manual says, app.refresh() will slow down considerably your code. According to my experimentation, each time you call app-refresh(), your script will waste about 1 second (no matter how powerful your computer is). That is a lot of time! In practical terms, you would use app.refresh() only a few times so your progress bar could be refreshed only a few times during the whole duration of your script, still one second lost for each time you use it. In other words, there is no good way of making a progress bar in photoshop scripting.
    My question is: am I right? Is there a way to code a progress bar in PS that would not delay the code unreasonably?

    Since I wrote that post I've learnt that BridgeTalk is pretty sensitive - for instance to binary code: instead to let .toSource() functions that needs to go to the message, you'd better of wrapping them into a String literal.
    True, AM is lightning fast compared to DOM! But I won't use BridgeTalk for a Palette if the Palette is needed just for a progress bar. Such a Palette will stay alive while your script does all the things it's supposed to do without the need of waitForRedraw().
    In my snippets library I've found this one that might help:
    * Create a progress window
    * @param  {String}  title           = title
    * @param  {String}  message         = message (updatable)
    * @param  {Boolean} hasCancelButton = add a Cancel button (default: false)
    * @usage          w = new createProgressWindow "Title", "Message", true
    createProgressWindow = function(title, message, hasCancelButton) {
      var win;
      if (title == null) {
        title = "Work in progress";
      if (message == null) {
        message = "Please wait...";
      if (hasCancelButton == null) {
        hasCancelButton = false;
      win = new Window("palette", "" + title, undefined);
      win.bar = win.add("progressbar", {
        x: 20,
        y: 12,
        width: 300,
        height: 20
      }, 0, 100);
      win.stMessage = win.add("statictext", {
        x: 10,
        y: 36,
        width: 320,
        height: 20
      }, "" + message);
      win.stMessage.justify = 'center';
      if (hasCancelButton) {
        win.cancelButton = win.add('button', undefined, 'Cancel');
        win.cancelButton.onClick = function() {
          win.close();
          throw new Error('User canceled the pre-processing!');
      this.reset = function(message) {
        win.bar.value = 0;
        win.stMessage.text = message;
        return win.update();
      this.updateProgress = function(perc, message) {
        if (perc != null) {
          win.bar.value = perc;
        if (message != null) {
          win.stMessage.text = message;
        return win.update();
      this.close = function() {
        return win.close();
      win.center(win.parent);
      return win.show();
    Cheers,
    Davide

  • Macbook Pro get grey progress bar and shuts down

    Hello All,
    I have a macbook pro and I faced this issue out of nowhere. After shutting down the system last time, when I started the system, I could hear the apple chime, apple logo appeared with grey progress bar below it. The bar will progress to 1/3 or so and it will disappear and after few seconds laptop will shut down. I tried few times but same things was happening again and again.
    After going through few support forums, I booted by pressing D to run the Apple hardware test. It wouldn't do anything at all. Apple hardware test was stuck at pass number: 1 with elapsed time of 7 seconds. All retry were the same as the first one.
    I rebooted the laptop and pressed command + R and entered in  recovery mode/recovery disk. I clicked on Disk utility and select Macintosh HDD and started disk verification. I got hundreds of errors/warning, saying Missing thread recode (id = XXXXXXX) and it suggested to repair the disk. I tried to repair the disk but after similar message, pop window appeared with message that disk cant be repaired. I exited out of it and went back to recovery menu.
    I selected Reinstall OS X Mountain Lion and went through steps and at the point where I have to select my HDD, there was just one option and I couldn't select it. It gave message that This HDD is locked. I can't start in safe mode, and can't reinstall OS X
    I believe this is because of my hard drive might have crashed. can anyone help?
    Thank you,

    It does sound like your having mechanical or other issues with your boot drive.
    If your machine is under AppleCare or warranty you can take it to them.
    If you can user service your machine, you can opt to try to see if a new drive will work and install it yourself, or have a local geek do it for you.

  • IDS 9.0.4.2, Progress bar and frm-13008

    Hello All,
    I downloaded and installed the 10g (9.0.4.2) demos as detailed in the installguide.html.
    When trying to open a canvas (layout editor) that contains my bean for the progress bar, I receive the frm-13008 error.
    I've searched OTN and Metalink, and tried to make the changes I found on these sites, but I continue to receive the error.
    Implementation class is: oracle.forms.demos.ProgressBarPJC
    Current contents of forms90_builder_classpath: d:\oracle\10g\forms90\java\frmwebutil.jar;d:\oracle10g\forms90\java\f90all.jar;d:\oracle10g\forms90\java\jacob.jar;d:\oracle\10g\jlib\importer.jar;d:\oracle\10g\jlib\debugger.jar;d:\oracle\10g\jlib\utj90.jar;d:\oracle\10g\jlib\dfc90.jar;d:\oracle\10g\jlib\help4.jar;d:\oracle\10g\jlib\oracle_ice.jar;d:\oracle\10g\jlib\jewt4.jar;d:\oracle\10g\jlib\ewt3.jar;d:\oracle\10g\jlib\share.jar;D:\Oracle\10g\forms90\demos\progressbar\classes\progressbar.jar;d:\oracle\10g\forms90\java;
    Classpath is: d:\oracle\9i\jlib\bigraphbean.jar;d:\oracle\9i\jlib\LW_PfjBean.jar;d:\oracle\9i\jlib\bigraphbean-nls.zip
    What is the difference between progressar.jar and progressbarpjc.class?
    The bean is visibile at runtime, but no visible changes (color changes etc) appear. Any ides as to the cause for this behavior?
    Oracle must have (I hope) better documentation that what I've seen so far. Not all Forms developers have been able to jump on the Java bandwagon.
    -Chris

    Francois,
    In regards to the progress bar moving, I am supply percentages and color changes but see no effect at runtime. This includes no error messages.
    .java vs. jar, I then assume that forms would look for the .jar file then. As such the implementation class reading: oracle.forms.demos.ProgressBarPJC tells me what? That forms is expecting to see progressbar.jar, or progressbarpjc.jar, and where?
    The 10g demos are installed to D:\Oracle\10g\forms90\demos and there I have a folder named progressbar not progressbarpjc. Is this part of the issues?
    I'm glad Oracle has made using there demos so easy to setup and use.
    Thanks for your help.
    -chris

Maybe you are looking for

  • How can i re-download buyed software?

    Dear Communities I have buyed today the add-on: QuickTime MPEG-2 Playback Component for Windows, but when i have try to Download it, the site wrote me: Ops file not found. I have try to re-download it from my account, but i not know the procedure, be

  • Nokia c2-02 web browser conflicted

    My nokia c2-02 browser conflicted.but nokia never take this coustmber problem serously to repaire this problem

  • New t oJava

    I am new to Java so I have a couple of newbie questions. I wrote Java program that imports an SNMP package, so i use the import a.b.c.... statement. The only way I have been able compile and run is to use the -classpath option. javac -classpath path_

  • Ordinateur en panne, comment réinstaller licence sur nouvel ordinateur ?

    Bonjour, Mon ordinateur portable vient de tomber en panne, il est irréparable. (carte mère hors service). Comment réinstaller ma licence dreamwever CS3 sur mon nouvel ordinateur, sachant que je n'ai donc pas pu procéder à sa désinstallation ? Merci d

  • Photo too bright...

    Just had another problem photo. Not only was this photo impossible to get right with the basics (yes, by my definition), even the tone curve couldn't rescue it, nor could clarity. Never got to locals yet... If you share my interest - to help identify