Displaying startup status in JLabel

i am trying to display status of the components i start in a JLabel. (eg. 'server is initialising', 'getting data', ... 'start success')
i use following code to display message when certain part is accomplished:
infoLabel.setText("server is initialising");
infoPanel.updateUI();
however only the last message is displayed.
how is it possible to display message as the system accomplishes each part?

The reason why the last one is the one that shows up is because it keeps painting all the ones prior to it and the one that shows up is the last one that it paints. You'll need to set up some kind of controlling mechanism that checks the progress of your program and modifies your JLabel accordingly (Observer/Observable). Or you can have each process change the JLabel as it starts.
Hope that helps
Cheers

Similar Messages

  • Displaying a status bar through swings

    Hi everybody,
    My problem is that i want to display a status bar, using Java Swings. In this regard i am facing somwe difficulty, and i would be really thankful to those, who in some way can help me.
    thanks

    Create a Static JLabel in the main application constructor and add it to the South position of your main window.
    Now set the text dynamically whereever u want to show a status message to this static label.
    I hope this can solve your problem

  • Error Message Displaying the status Bar not like popup message

    Hi all,
    My Requirement is while creating  invoice if pricing conditons is repeted , system should thorough the error message like (uplicate Condition Types Are Not Possible  in the status Bar but Im getting poup Error message So I want to display the same message in the status Bar.
    Please Help me any one.
    Regards,
    Prathap

    I dont want to Display the popup, I want to Display in Status Bar as a Error Message.
    Like this .
    If I put  message type 'E' its Displaying popup message , MESSAGE ' Duplicate Condition Types Are Not Possible.' TYPE 'E'.
    If I Put messge type 'I' its Displaying in Status Bar .
    Regards,
    Prathap
    Edited by: giri prathap on Sep 13, 2011 12:35 PM

  • How to display the status of a SubVI on the front panel?

    Hi,
    I am writing a program to control an instrument through a serial communication port. The control and communication functions are integrated in a SubVI and they work fine.
    In the front panel of the main VI, I want to add some indicators to display the status of those controls in real time, such as using some LEDs to show whether the program is running in some loops of the SubVI, or use some indicators to show some variables in the SubVI.
    I tried using global variables, but I can't make them work in real time (or maybe I didn't do it right). The values of the global variables are actually changing on the fly, but the indicators on the front panel wouldn't reflect those changes until the program return
    ed from the SubVI.
    Is there a way to do this in Labview 6.0.2?
    Your earlist help is very much appreciated.
    Best regards,
    Hua

    Hua,
    I have attached an example in which a front panel boolean indicator is toggled in the subvi. Also, a front panel stop button is used to stop the loop execution in the subvi. References are passed to the subvi instead of the actual control values.
    Without seeing your code I'm not sure what was going on with the globals, but you had to have a data dependency somewhere which was keeping the code from running until after the execution of the subvi. The code must be totally independent of the subvi in order to run. Also, in order for the update to work it would have to be operating in a loop.
    Attachments:
    Main.vi ‏13 KB
    subvi.vi ‏20 KB

  • ALV Report to display the status of the requests raised through ESS

    Hi All,
    We have to develop a ALV report to display the status of the requests raised through ESS
    for Leave, Travel & Event Management, Travel and Appraisal workflows.
    ESS Travel, ESS TEM, ESS Apraisal workflows are associted with SAP Business Objects.
    we are using the function module SWI_WORKITEMS_OF_OBJTYPE_GET to get
    the top level work item id's by passing the object type like PDRELA_025, BUS2089.
    By using SWP_WORKFLOW_LOG_READ function we are getting the workflow log
    by passing top level work item id's as imort parameter. 
    The report output should have the following fields
    Initiator, Initiator Personal No, Request Type( Leave, Travel etc.. )
    Date of application of the request, Status ( Approved by RM, Rejected etc )
    Name of the Approver, Approved / Rejected Date.
    The logic should be work for all the above ESS workflows and should be generalized.
    Can any one please let me know the procedure to get the required information from the workflow log.
    It would be great if any one suggest on the same how to proceed further to get the information as mentioned above.
    Thanks & Regards,
    Jagadeeswara Rao Balla.

    Hello,
    You can get most of that information from fm SAP_WAPI_GET_HEADER, input is workitem_id.
    regards
    Rick Bakker
    Hanabi Technology

  • Display Connector:   Status:     No Display Connected

    Display Connector:
      Status:          No Display Connected

    From System Profiler, please post the "Machine Model" information from its Hardware Overview page. There are quite a few MBP variants today and knowing the exact variant helps others help you.
    Example: the Machine Model" info for my Late 2007 MBP 15" is "MacBookPro3,1" and this very accurately identifies the computer for troubleshooting purposes.
    If the machine model reports a number higher than "4,1" you have a newer MBP that's covered in this forum section:
    http://discussions.apple.com/category.jspa?categoryID=251

  • How to display more than 1 Jlabels ...

    Hello, My question is that I want to display more than 1 Jlabels. But I am not able to do it. It is easy to do if we use Labels. But it's not working in case of JLabels. Plz any body help me solve this problem.
    Thanks.

    It might be your layout manager. BorderLayout, the default of the Component in getContentPane(), will display your labels over each other. Try changing your layout manager or setting your components to display on NORTH, SOURTH, ect....
    public void setup(){
    java.awt.Container container = getContentPane();
    container.setLayout(new java.awt.FlowLayout());
    //prints "Hi There" on one line
    JLabel jLabel1 = new JLabel("Hi");
    JLabel jLabel2 = new JLabel("There");
    container.add(jLabel1);
    container.add(jLabel2);
    Hope this helps.
    kimoS

  • Display the status of the production order

    Hi Friends,
    I have a task which should display the status of the production order.
    If an order number(AUFNR) is given, it should display whether the order is available or not. Also it should display the status of the order whether it is delivered, completed, blocked etc.
    Can anyone send me the code for the above task.
    Waiting for ur reply.
    Raj
    Message was edited by: Craig Cmehil

    Please mark this post as "Solved on my own" as it is a duplicate of your post which has already been answered.  Thanks. 
    Also, please remove the email address from the subject line.
    Regards,
    Rich Heilman

  • How to display an status Icon in Table UI web dynpro ABAP?

    Hi Experts ,
    How to display an status Icon ( Traffic light ) in Table UI web dynpro ABAP? can somebody tell with a coding example. also I need to update status on condition so whats the best way?
    Thanks in advance.
    Regards,

    Hi Laeeq,
    click on table cntrol n place it on the screen..
    now click on the icon button n place it in the table control area.. a column of icons get created. name it (say) ICON.
    in the PBO..
    loop at internal table and call module in the loop (say) .
    MODULE ICON_DISP.
    now in the module try the foll code :
    module icon_display output.
    check some condition and assign the icon to the variable icon_r
      icon_R = 'ICON_GREEN_LIGHT'.
      CALL FUNCTION 'ICON_CREATE'
        EXPORTING
          name                        = ICON_R
        TEXT                        = ' '
        INFO                        = ' '
        ADD_STDINF                  = 'X'
       IMPORTING
         RESULT                      = ICON
      EXCEPTIONS
        ICON_NOT_FOUND              = 1
        OUTPUTFIELD_TOO_SHORT       = 2
        OTHERS                      = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      endmodule.
    where icon(35) and icon_r(35) type c .
    hope this helps u..
    Regards
    Aparna

  • In T-Code IE03 Equipment status is displaying this status isin which table

    Hi,
    In T-Code IE03 Equipment status is displaying,  this status is in which table we can find.  ( I mean this status is  in which tables storing).
    My requirement is Equipment related report is there,  this report is displaying now all equipments irrespective of status,   enhancement for that report is which equipment status is having Deletiong flag 'DLFL' it should not display in report output.
    I have to check the status to incorporate the logic for that,   I need the tables where it is storing.  In EQUI and EQUZ tables deletion flag field is there but this field is not set which equipment is having deletion flag in IE03 displaying status 'DLFL'.
    Please let me know where I can get the status.
    Regards,
    Ganesh

    Hello
    1. Goto table EQUI with equipment number. Get OBJNR.
    2. Goto table JEST with OBJNR. Get JEST-STAT (may be any records)
    3. Goto table TJ02T with ISTAT = JEST-STAT.
    You will have all status for particular equipment number.

  • How to display the status message based on student marks..

    Hi all,
    i have student table that has columns mark1,mark2,mak3...
    i want to display the student name,staus as pass or fail based on the marks.. in a single query..
    if the student score above 30 in all the subject i should display the status as pass other wise fail ( note:- status is not a column in the table)
    Thanks

    select e.student_name
          ,e.mark1
          ,e.mark2
          ,e.mark3
          ,decode(pass.flag,'Y','PASS','FAIL') status
    from   exam e
           , (select e2.student_id,'Y' flag
              from   exam e2
              where  e2.mark1 > 30
              and    e2.mark2 > 30
              and    e2.mark3 > 30) pass
    where e.student_id = pass.student_id (+);
    STUDENT_NAME      MARK1      MARK2      MARK3 STATUS
    CNAME                40         50         60 PASS  
    DNAME                60         70         80 PASS  
    ANAME                20         30         40 FAIL  
    BNAME                30         40         50 FAIL Edited by: JamesK on May 30, 2013 12:38 PM
    Edited by: JamesK on May 30, 2013 12:40 PM

  • Display Approval Status on the page

    I have a pages library, where i have content approval turned on. I want to display the OOTB Approval Status( Internal name: ModeratorStatus) column in the pagelayout in read only mode. Any ideas??

    Hi,
    According to your post, my understanding is that you want to display Approval Status on the page in read only mode.
    You can insert the JQury code to a Content Editor Web Part:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
    <script type="text/javascript">
    $(function(){
    setTimeout(Test,500);
    function Test(){
    var obj1=$("div[name='_ModerationStatus']");
    obj1.removeAttr("SortFields");
    </script>
    Then you cannot click Approval Status to sort items and the HTML of the Approval Status becomes as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • DIsplay the status indicator as a circle  on adf 11.6

    I have requirements on status indicator as below .
    Example : based on the employee count on employee table ,if the employees count is >10 means diplay the status indicator in red color ,if count <10 mean then display in green color .
    I mean there any option to customize and display the status indicator in round shape in diffrent color each time based on the count .
    Any hints ?
    Thanks

    You can use skinning.
    .AFStatusIcon:alias:     This icon gives a graphical representation that content is loading (e.g. carousel, inlineFrame). If you are editing this alias, you should also edit .AFStatusIconStyle:alias and .AFBackgroundImageStatus:alias since components will choose among these icons automatically under the necessary circumstances. This typically defines a content URL for an animated image, the width of this image, and the height of this image.
    http://jdevadf.oracle.com/adf-richclient-demo/docs/skin-selectors.html

  • Web-browser only display Summary Status and no menu for configing

    Guys,
    I have 4 Cisco Aironet 1140. I open a web browser IE 8 and type their address "http://<ip address>". Then I enter my username and password in the browser and successfully login to the access point.
    But, There is something strange, why I only see Summary status of my access point after the login process success??? I can't config anything...
    I add a new username and use highest privilage, but the result still the same. Same unusual web display, only displaying summary status of the access point, I can't config ssid, vlan, etc.
    Here's my configuration:
    username Zicco privilege 15 password 7 123A551A02055F106B
    username Bl4st privilege 15 secret 5 $1$UJom$UoNBR07HmSGXdoxTUR1W40
    ip http server
    ip http authentication local
    no ip http secure-server
    Is there any configuration command that must be added? Please help me.
    Thank you

    Hi George, today we solved the problem. With adding this command: "config(terminal)#ip http authentication local" all of 5 access points now able to managed via web browser.
    Sometimes, we can use access point's web browser without adding this command. But in my cases, only using command of"ip http server" isn't enough. You must add "ip http authentication local" command to your configuration. I dont know why.
    And we must have at least one: username <username> privil 15 pass <password> that is full privileged user to use as username and password logon in your access point browser. Otherwise we can't logon to our access point.
    Thank you George, I appreciate your kindness. Regards

  • OEM displaying False status

    hi,
    We are using OEM10g 10.2.0.2 to monitor Database as well as Application servers.
    Since today morning it displays false status of AS. But, when i check the status from the OPMNCTL console, all the components are Alive.
    After restarting the Agent on the machine, it comes back to normal.
    This is repeately happening in an interval of 20 minutes.
    Can somebody throw some light on this ?

    Seems like maybe your agent might be having troubles communicating with the OMS. It may be worth while to try to reconfigure the agent on that node. In $AGENT_HOME/bin run "agentca -f". See if that helps resolve the problem. I have also noted that the OEM only reports status from the last time the agent has checked in with the OMS, so it may take some time for the OEM console to properly display the status of your system.

Maybe you are looking for

  • PB suddenly crashes! Black screen. Wont turn back on. Can anyone HELP ???

    Hello everyone! My 16months old 12" PowerBook suddenly crashed last time when I was working with it. I didnt do anything particularly challenging. The PB didn't get extremely slow or anything. All of a sudden it just turned down within a second. and

  • R3 upgrade from 4.7 to ecc6.0

    hi, i am getting the below error in R/3 Upgrade: UPGRADE/SWITCH: START OF PHASE LOADCRE_TMP CURRENTPHASE MAIN_SWITCH/LOADCRE_TMP ...started at 20110211153653 Using phase log file 'LOADCRT.LOG'. Reading Parameter File "D:\usr\sap\XLM\upg\abap\bin\LOAD

  • How to Get Rid of White Stripe At Top of Firefox Browser

    I have the current version of Firefox installed. Recently, perhaps with the most recent install, I'm not exactly sure, a white stripe appeared at the top of the browser, right under the search and URL boxes at the top of where websites would normally

  • Error message when Using SMS portlet

    Hi all I'm using OracleAS Portal 10.1.4. I downloaded OracleAS SMTP Portlet from oracle web site http://www.oracle.com/technology/products/ias/portal/point_downloads.html and i read the Release Notes to install it. After installation of SMS portlet ,

  • Cost collector settlement

    We are having huge amt in settlement at every month end. We use cost collector as the cost object and backflush process. The huge settlement amt is because of some raw materials not being backflushed to finished goods and some times it is because of