How to display progress bar

In the AIUserSuite there is not a way to display the progress bar, seached everywhere and found nothing.
Please help!

minimum99 wrote:
Is that something you can share?
I'm afraid not. Even if I were allowed to, it wouldn't be much use -- it's built on a ton of internal stuff
I think you're on the right track with just doing it manually. Throwing up a simple progress window isn't too bad; the only pain is in the flags, to make it semi-modal. The rest is very straight forward.

Similar Messages

  • 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.

  • How to show progress bar in miniplayer?

    How to show progress bar in miniplayer? I play a lot of music podcasts and it would be very helpful if anyone could help me bring that feature back.

    i answered here:
    http://forum.java.sun.com/thread.jspa?messageID=9739423&#9739423

  • How to create progress bar?

    pls,can anyone tell me? how to create progress bar?
    thanks,
    screen410099

    it is well documented how to create progressbars on page 173 in Solutions.pdf
    also you can find sample code in InDesign SDK\sources\sdksamples
    Regards
    Bartek

  • How to create progress bar in web page!!!

    Dear,
    I do not know how to create progress bar in web page?
    Please show me the way to solve it.
    Best regards,
    Huy

    God your lucky/lazy
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    public class ProgressBar extends Applet
      private boolean isStandalone = false;
      private int width;
      private int height;
      private double percentComplete;
      private double fundsTarget;
      private double fundsRaised;
      private Properties values;
      private String propertiesFile;
      private JPanel jPanel1 = new JPanel();
      private JProgressBar PB_FUNDS_PROGRESS = new JProgressBar();
      private GridLayout gridLayout1 = new GridLayout();
      private BorderLayout borderLayout1 = new BorderLayout();
      private JPanel jPanel2 = new JPanel();
      private JLabel jLabel1 = new JLabel();
      private JLabel jLabel2 = new JLabel();
      private JLabel jLabel3 = new JLabel();
      private GridBagLayout gridBagLayout1 = new GridBagLayout();
      private JPanel jPanel3 = new JPanel();
      private JLabel jLabel4 = new JLabel();
      //Construct the applet
      public ProgressBar()
      //Initialize the applet
      public void init()
        try
          jbInit();
        catch(Exception e)
          e.printStackTrace();
      //Component initialization
      private void jbInit()
      throws Exception
        fundsTarget = new Double( 100 ).doubleValue();
        fundsRaised = new Double( 50 ).doubleValue();
        PB_FUNDS_PROGRESS.setBackground(Color.green);
        PB_FUNDS_PROGRESS.setForeground(Color.red);
        this.setLayout(gridLayout1);
        jPanel1.setLayout(borderLayout1);
        jPanel2.setLayout(gridBagLayout1);
        jPanel1.setBackground(Color.white);
        jPanel2.setBackground(Color.white);
        jPanel3.setBackground(Color.white);
        jLabel2.setBackground(Color.white);
        jLabel1.setBackground(Color.white);
        jLabel3.setBackground(Color.white);
        jLabel4.setText(" ");
        jLabel1.setText(" ");
        jLabel2.setText(" ");
        jLabel3.setText(" ");
        this.setBackground(Color.white);
        this.add(jPanel1, null);
        jPanel1.add(PB_FUNDS_PROGRESS,  BorderLayout.CENTER);
        jPanel1.add(jPanel2, BorderLayout.SOUTH);
        jPanel2.add(jLabel2, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 0, 5, 0), 0, 0));
        jPanel2.add(jLabel1, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 150, 5, 5), 0, 0));
        jPanel2.add(jLabel3, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(6, 5, 4, 150), 0, 0));
        jPanel1.add(jPanel3, BorderLayout.NORTH);
        jPanel3.add(jLabel4, null);
        propertiesFile = this.getCodeBase().getFile().replaceAll("%20", " ")+"funds.properties";
        System.out.println("Properties file at " + propertiesFile);
        values = new Properties();
        try
          values.load(new FileInputStream(propertiesFile));
          fundsTarget = new Double( values.getProperty("TARGET", "100").toString() ).doubleValue();
          fundsRaised = new Double( values.getProperty("RAISED", "50").toString() ).doubleValue();
          System.out.println("target: " + fundsTarget + " raised: " + fundsRaised);
        catch (IOException ioe)
          System.err.println(ioe.getMessage());
        percentComplete = (fundsRaised/fundsTarget)*100;
        System.out.println(percentComplete);
      //Start the applet
      public void start()
        PB_FUNDS_PROGRESS.setMaximum(new Double(fundsTarget).intValue());
        PB_FUNDS_PROGRESS.setMinimum(0);
        repaint();
      //Stop the applet
      public void stop()
      public void paint(Graphics g)
        Graphics2D g2 = (Graphics2D)g;
        PB_FUNDS_PROGRESS.setValue(new Double(fundsRaised).intValue());
        String percent = Double.toString(percentComplete).substring(0, 4);
        jLabel4.setText("Currently At " + percent + "%");
        jLabel1.setText("100%");
        jLabel2.setText("50%");
        jLabel3.setText("0%");
      //Destroy the applet
      public void destroy()
      public String getAppletInfo()
        return "Funds progress applet by A really nice person";
    }

  • How to use progress bar

    Hi
    I am using jdev11.1.1.5.0
    I have created an adf application in which i have a select many shuttle to display data from database.
    On the radio button change event i am setting another where clause on associated vo and re-executing vo.
    Now the problem is that the processing takes few seconds to fetch data from database according to where condition. For the time being I want to display a progress bar to user.
    How it is possible....?
    Thanks...

    Read http://myjdeveloperhints.blogspot.de/2010/12/add-glass-pane-to-long-running-db-job.html...
    Here it's an example http://myjdeveloperhints.blogspot.de/2010/12/add-glass-pane-to-long-running-db-job.html
    Timo

  • Display Progress Bar

    Hi all,
    i am j2me programer i am receving data or file from server but i want to diaplay actual progress bar how it is possible. provide some code
    thanks in advance
    Regards,
    Nagendra Kumar

    for using scroll bar we have in j2me a gauge class in high level display.
    it will work acc to ur req.
    work for it ok

  • How to Create Progress Bar in SAP

    Hi!
            I need to know how to create a progress bar in Sap Business One with VB.Net to Show  a Scheduling Status.

    Hi Parag,
    The code you need to create a progress bar is:
    Dim Progress as Integer
    Dim oProgressBar As SAPbouiCOM.ProgressBar
    oProgressBar = oApplication.StatusBar.CreateProgressBar("YOUR_TEXT", oRecordset.RecordCount, True)
    oProgressBar.Text = "YOUR_TEXT"
    and for each record:
    Progress += 1
    oProgressBar.Value = Progress
    When all is finished
    oProgressBar.Stop()
    Regards,
    vanesa

  • How to add progress bar in servlets

    a task running within a program might take a while to complete, then how i can make a progress bar.

    you can't, well not reliably anyway
    that is unless you want to do some crazy ajax thing but i've never heard of anyone going through that much trouble for a progress bar
    just popup a message that says "Processing..."

  • How to show progress bar in java???

    Hey guys!!! can any one tell me how to show the progress bar when a processing is going on???Is it done by multithreading?? I have to import data from database kept in another machine into my database.It would take quite a longer time especially when database is quite large.I want to show the progress and every data being imported to the user so that user does not think that system has hanged on...Please help...

    i answered here:
    http://forum.java.sun.com/thread.jspa?messageID=9739423&#9739423

  • How to keep Progress bar in front of the main frame?

    Hi all,
    How can i keep the progress bar in front of the main frame all the time while the proggress bar is visible?

    Perhaps the question is not clear.
    I want the progress bar to remain in front of the parent frame as long as it is visible on screen.that is when i click on the parent frame,progress bar should not go behind the frame.
    Can ne1 plz help?
    Regards,
    Mansi

  • How to display progress while CF is busy

    Dear all:
    My site has to perform some 30 CFIF logics on an estimated
    average of 30,000 entries, subsequent to a form submission. That's
    600,000 subsequent processes.
    To avoid Request TimeOut, I staggered the process. The form
    submits to Page1, which runs only 10 of the 30 CFIF, and does so in
    CFLOOP batches of 100. Upon completion of the first 100, a
    CFLOCATION reloads Page1 for the next 100 entries. When it has
    completed all 30,000 entries ( = 300 times a CFLOCATION, followed
    by a CFLOOP with a loop count of 100x), it CFLOCATION to Page2,
    where it follows the same procedure, but this time on CFIF routines
    11 to 20. And after that to Page3, where CFIF routines 21-30 are
    completed and a CFLOCATION generates the results page.
    ALL OF THIS WORKS BEAUTIFUL AND PRETTY FAST TOO. Done under
    60 seconds or so. BUT.... 60 seconds to a PC user, online, is a
    long time.
    All this time, the form submit page is visible. Any dynamic
    gif or flash freezes and the progress bar in the bottom of the
    browser is showing that it is eager to display the next page. Then,
    after 60 seconds the results page sohws up.
    QUESTION: Is there a way to display a progress bar or
    something like that? I tried IFRAME, but that doesn't work. I
    syspect a FRAMESET probably will but I do not want a frameset. And
    a popup would work too but I do not want a popup either ;-)
    Don't spend hours on it, just let me know if you know a
    trick.
    Thanks so much!
    Hans

    Have you played with <cfflush...>
    It allows incremental delivery of content to the client. You
    could
    theoretically output something in each loop and|or
    cflocation. Using
    <cfflush..> this output will be delivered to the
    browser while the
    processing continues.
    P.S. Are you aware of the <cfsetting
    requesttimeout="seconds"> property
    that would allow you to eliminate the <cflocations...>
    you used to avoid
    the timeout. Just set it to 60 seconds or whatever you need
    to run the
    request.
    Also if you have access to the enterprise CF server there are
    async
    gateways that could off load the processing to separate
    requests not
    tying up the one the user is using at all. This can also be
    done with a
    <cfhttp...> with a timeout="0" parameter. But more
    sophisticated
    methods to deliver the final product would need be be
    developed with
    these solutions.

  • How to show progress bar

    how to show progress bar

    This gets asked about 100 times a day, especially when you get people posting it multiple times - learn to use the search facility, or at least Google. It's really not that hard.
    Type "java progress bar" into Google and hit "I'm feeling lucky" - the answer is there.

  • 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.

  • Displaying progress bar while components load

    I'm going to display a JTree that's quite huge (takes time to load; I need to get the info as XML from a server, etc.)
    So, I want to display a JProgressBar while it is loading.
    My plan was to use a cardlayout, and show the panel with the progress bar until the tree was loaded and then do a .show("tree") on the main panel with the card layout.
    However, this does not seem to work. Nothing is displayed before the tree is loaded ...
    Any suggestions on best ways to do this?
    Here's my class so far:
    public class HierarchyJTree extends JPanel {
        private static Logger logger = Logger.getLogger(HierarchyJTree.class);
        private JProgressBar progress;          // keep track on progress
        private TreeMap idmap = new TreeMap(); // to map nodes created up against their id's; needed to create the tree structure when we have a parent id and want the node
        private dataAccess access = dataAccess.getInstance();
        private JTree tree;
        private CardLayout card = new CardLayout();
        private int maxProgress = 20;
         * Construct a new JTree. Collect the category information from the database.
        public HierarchyJTree() {
            this.setLayout(card);
            JPanel progressPanel = new JPanel();
            progress = new JProgressBar(0,maxProgress);
            progressPanel.add(progress);
            this.add(progressPanel, "progress");
            card.show(this,"progress");
        public void startCollectingData() {
            progress.setValue(2);
            ResultSet rs = access.sendXML("<request>\n<runQuery>getCategories</runQuery>\n</request>");
            progress.setValue(10);
            tree = new JTree(new DefaultMutableTreeNode("Categories", true));
            tree.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
            JPanel treePanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
            treePanel.add(tree);
            this.add(treePanel, "tree");
            addFromResultSetToTree(rs);
            card.show(this, "tree");
         * Constructor that will use incomming ResultSet to create the tree, instead of contacting
         * the server to get a new one
         * @param resultset containing the category info from MOD_category
        public HierarchyJTree(ResultSet resultset) {
            this.setLayout(card);
            tree = new JTree(new DefaultMutableTreeNode("Categories", true));
            BasicConfigurator.configure();
            tree.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
            addFromResultSetToTree(resultset);
         * This will take a jaxb.ResultSet object containing ID, categoryName and parentID of all the
         * categories in the database, and add them as Nodes in the JTree this class represents.
         * @param r the jaxb.ResultSet object
        private void addFromResultSetToTree(ResultSet r) {
             // code to load the info into the tree here, and inc the progress
                progressValue += incValue;
                progress.setValue((int)Math.round(progressValue));
    }

    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.

Maybe you are looking for