How to display the time in Swing jtable

I need to display the time in jTable.
The time is a date field in ORACLE database (connected via
Oracle Thin drivers).
Im totally stuck. Please help.
TIA.

Thanks for your reply.
My problem is that I have to display time. This time is a DATE field
in ORACLE database.
Im using FORTE (UI). What the jTable display is the DATE (1900-01-01) which is not what I want. I want the time to appear in the jTable (hh.mm.ss a).
What I did was to use the TO_CHAR function of ORACLE to format the
date to display the correct time in the VIEW before mapping this view
to be used as a MODEL by the jTable.
It works now.
Much appreciate all your help. Thanks.

Similar Messages

  • How to display the time 00:00:00 as blank?

    Dear Friends,
    I have created a new field GDF_9000_CREATED_AT in the normal screen (dynpro), the format is TIMS, however, when there is no value for it, is always display like "00:00:00" on the screen.
    So how to display the time 00:00:00 as blank in the normal screen (dynpro) when there is no value for it?
    Thanks a lot!!

    In screen PBO module:
            LOOP AT SCREEN.
              if screen-name EQ 'my_time' AND my_time EQ time_zero.
                screen-invisible = 'X'.
                screen-active = 0.
                MODIFY SCREEN.
              endif.
            ENDLOOP.
    I don't try this, but i think is true...
    Edited by: Marco Modenese on May 7, 2009 10:36 AM
    Edited by: Marco Modenese on May 7, 2009 10:36 AM

  • How to display the time length of video (current time/ total time) ?

    Hi,everyone. I would like to ask how to display the time length of the video which show only in system example: it show the current time and total time? using AS 3.0.
    It there any information or solution to solve it? .
    I appreciate it any of you able to answer it. ^^
    Thank you.

    Hi,
    Actually I have this requirement for MAC OS 10.5. With the code you provided, I got the output as "6289375". When I changed the URL to point to my file (file:///Users/VPKVL/Desktop/MyRecord/tempAudio.wav), I am getting the below mentioned Exception:
    Exception in thread "main" javax.sound.sampled.LineUnavailableException: Failed to allocate clip data: Requested buffer too large.
         at com.sun.media.sound.MixerClip.implOpen(MixerClip.java:561)
         at com.sun.media.sound.MixerClip.open(MixerClip.java:165)
         at com.sun.media.sound.MixerClip.open(MixerClip.java:256)
         at TestWavLength.main(TestWavLength.java:13)The "tempAudio.wav" file is created by using java sound API. I am using the SSB USB Headphone Set to record the audio with the following settings for AudioFormat object:
    AudioFormat audioFormat = new AudioFormat(
              AudioFormat.Encoding.PCM_SIGNED, // the audio encoding
                                                            // technique
              48000.0F,// sampleRate the number of samples per second
              16, // sampleSizeInBits the number of bits in each sample
              2, // channels the number of channels (1 for mono, 2 for
                            // stereo, and so on)
              4, // frameSize the number of bytes in each frame
              48000.0F,// frameRate the number of frames per second
              false); // bigEndian indicates whether the data for a single
                            // sample is stored in big-endian byte order
                            // (false means little-endian)Can you please suggest where I am going wrong ?

  • How to display the time & battery % in home screen

    How to display the time & battery % in home screen

    Try resetting your device.
    Hold down the Home and Sleep/Power Buttons until the Apple Logo shows up.
    Ignore the red slider if it appears.
    This will reboot the phone, no data should be lost.

  • COGI : how to display the time of  a goods movement?

    Hello,
    through COGI, I get the good movements with error per material.
    When I open the errors list for a material, I get the posting date for each good movements but not the time! 
    Could you please let me know how to do for displaying error time or posting time in this screen?
    Thank you for your help!
    François

    Deleted

  • How to display the time stamp in a data log table

    Hello,
         I want to display data during the data acquisition process. How do I  add the time stamp as one of the column in the 'Result Table' located at bottom left of the example code?
    Thanks,
    Ryan
    Solved!
    Go to Solution.
    Attachments:
    Cycle Analysis.vi ‏229 KB

     I inserted the portion you added to my program and it worked but not exactly the way I want. It added the time and date when I start the data acquision. But I want the time stamp to be shown on every single row. Please see attached image.Thanks.
    Attachments:
    Result.JPG ‏54 KB

  • How to display the time in form field that has to refresh 4 every sec & min

    Hi Frndz....
    I am Apps Technical Consultant....
    .. my requirement is i want to display the DATE TIME ( 16-OCT-2007 16:23:45)
    in this format in form field.
    am done this but am unable to do that the time has to change for every second and minute.....means when the form is running (runtime) the time has to refresh like the our digital watch...
    ......Kindly help me about this problem....
    ..................eagerly waiting 4 ur reply..........
    if u get solution or any suggestions u can mail to : [email protected]
    Bye Frndz..........

    Hi,
    Thank u for ur replay,
    If we use timer, we have to refresh for every second
    so it may be complex....
    using java beans timer is better think so..
    and i have one more dought that how get the DB date
    time in form field...
    i know to get DB date time .... $$DBDATETIME$$
    but i want to use select statement through this i get
    the DB date time can you
    help me on this...
    Ganga...New account for your second post?? why don't you use the same account??
    To get the Database date in a select statement use the SYSDATE pseudo in a select statement.
    SCOTT@ORCL> SELECT SYSDATE FROM DUAL;
    SYSDATE
    17-OCT-07
    SCOTT@EBOS> SELECT TO_CHAR(SYSDATE, 'DD-MON-YYYY HH:MI:SS AM') FROM DUAL;
    TO_CHAR(SYSDATE,'DD-MON
    17-OCT-2007 10:14:13 AM
    SCOTT@ORCL>Tony

  • How do I connect to Time Capsule from a Windows 8.1 machine which is on a Windows domain. I have been able to connect from a Windows 7 machine on a Windows domain to a Time Capsule. Airport utility is not displaying the Time Capsule Win8.1 machine

    How do I connect to Time Capsule from a Windows 8.1 machine which is on a Windows domain. I have been able to connect from a Windows 7 machine on a Windows domain to a Time Capsule. Airport utility is not displaying the Time Capsule Win8.1 machine.
    I have checked that the firmware has been updated to 7.6.4 . Similalrly the Win8.1 machine has been loaded with the update specified in another discussion.

    Firstly how are you connecting to the TC.. wireless or ethernet?
    Please open a command window and ping it.. ping by name and by IP address.
    If ping succeeds at least by IP it should work.
    In windows explorer type
    \\10.0.1.1 (or whatever the TC ip is.. that is the default).
    Having the airport utility for windows loaded can help the process. As it loads bonjour for windows.
    7.6.4 firmware on the TC is useless. It works better on 7.6.1
    If the ping does not succeed by either name or IP address yet you have internet through the TC, then your network is setup wrongly. You are have firewalls blocking local IP. Take down all the firewalls.

  • How to Display the Predefault Date Time

    Hi frnds,
    How to display the Default DateTime in the date field via sctipting i have a requirementy to show in one of the date field as next day's date with 9:00 a.m time stamp(2/15/2010 9:00 A.M) the data type of that field& column is UTC_datetime.please help i am getting.
    siebel bee

    Have a look at the function Today(), TimeStamp() and ToChar()
    You should be able todo it with something similar to this:
    Expr: "ToChar(TimeStamp(),'MM') + '/' + ToChar(TimeStamp(),'DD') + '/' + ToChar(TimeStamp(),'YYYY') + ' ' + ToChar(TimeStamp()+(1/24),'HH') + ':00:00'"
    as a pre-default value.

  • How can I display the time remaining in the bar on the top instead of the percentage using mountain lion?

    Hi,
    in Lion I was able to display the time passively in the top bar. Now I only have the chance to display the percentage. Anyone has a solution for this? I do not want to click always on my battery button just to see something I used to see in the past at a more prominent place.
    Actually this bug really ticks me off!
    Thanks for any advise.

    http://www.apple.com/feedback/macosx.html
    Send feedback to apple about changing this back.
    There is no native way to do this.

  • How to display system time

    in sql we use sysdate in dual to display the system date like wise how to display the system time since i am a beginner i need ur help please.

    In Oracle Date Data Type save time information, all you need to do is using to_char function or NLS_DATE_FORMAT to display it,
    SELECT TO_CHAR(sysdate, 'DD-MON-YYYY HH24:MI:SS') FROM DUAL;
    or
    alter session set NLS_DATE_FORMAT='DD-MON-YYYY HH24:MI:SS';
    select sysdate from dual;

  • How to display the Buyer's signature in PO BI Publisher Report

    Hi,
    How to display the Buyer's signature dynamically in XMLP Purchase Order Report.
    Please anybody help on this.Your help greatly appriciated.

    Hi All once again
    I was able to display the signature on XMLP AP Check Print Report by went through the follwoing Tim's blog http://blogs.oracle.com/xmlpublisher/2006/04/13#a12
    But in Purchase Order report requirement is different. We need to display the Buyer's signature on XMLP PO Report. So, where is the best place to store the buyers signatures.(For example if we have 10 buyers with 10 signatures respectively then after approving the PO, we should display that particular buyer's signature in PO XML Publisher report).We observed that in byuers & User's form there is no attachment feature enabled.
    This is an urgent requiremnt. Please help/guide/suggest to resolve this issue.
    Thanks in advance.

  • How to display the text as a Bold in the Text Element of a Smart Form

    Hi,
    I created one Smart Form.
    In that i created the Text element.
    I provide some data also in that.
    It is coming as a MS WORD.
    I executed my smart form.
    Customer Number:  &WA_KNA1-KUNNR&
    it display the data of the particular customer.
    But i need to display the Customer Number as BOLD or else Increase the Size.
    For this also I created one SMARTSTYLE.
    In that I created the Paragraph and Character Formats also.
    Now i assignee that SMARTSTYLE in the Output Option Tab of the Text Element also.
    But i unable to get the CUSTOMER NUMBER in Bold.
    In MS WORD we have BOLD button.
    I selected the Text and Press the BOLD button. At that time it is Highlighted.
    Whenever i press the SAVE Button.
    Then it is not saved with BOLD.
    It is coming in Normal Format.
    In the ECC 6.0.  I am unable to get the Text as a BOLD.
    This text Element is like a MS WORD.
    Can you please tell me how to display the Data with BOLD. please tell me. I am unable to get that one.
    Thank You.
    Regards,
    B. Krishna.

    Hi,
    Check where u have given BOLD. In character Format or in Paragraph format.
    In SMART FORM,
    1. Change to OLD EDITOR if u are confused with the new one.
            (This can be done by clicking the button left to new editor ).
    2. If it is PARAGRAPH FORMAT,
               Give the name of paragraph format in the editor.
                P1         &WA_KNA1-KUNNR&
        If it is CHARACTER FORMAT,
                             <C1> &WA_KNA1-KUNNR&
    Thanks,
    Nithya.

  • How to display the variable content in message?

    Hi anybody
    please let me know How to display the variable content in message?
    please send few lines of sample code to understand that
    thanks in advance

    Hi,
    Check out the link
    http://help.sap.com/saphelp_nw70/helpdata/en/2c/840b42202cce6ce10000000a155106/content.htm
    REPORT Y9020027 LINE-SIZE 130.    "Release 3.1G, 4.5A                  
    BREAK-POINT.
    MOVE: 'TESTREPORT for    "ASSIGN  FFeld+o(l)  TO  "        '     
            TO SY-TITLE.
          Declaration of variables    **********************
    FIELD-SYMBOLS <FS1>.
    DATA: FFELD8(8)   TYPE F VALUE '1022333'.   "Unusual: Explicit 8 bytes
    *DATA: ZFELD1(2)    TYPE N.            "Here slack bytes are (DW border)
                                         "necessary                      
                  "If you like computing error, please uncomment the above
    DATA: FFELDX(8)   TYPE F VALUE '7777777'.
    DATA: FFELDA(8)   TYPE F VALUE '7333213'.
    DATA: NFELDX(400) TYPE N.
    DATA: OFFX(4) TYPE I VALUE 160.
    DATA: LENX(4) TYPE I VALUE 8.
                  Main Section             *******************
        SKIP.
        WRITE: /5  'Example 1   **** inadmissible ASSIGN ***' COLOR 6.
        WRITE: /10 'Inadmissible ASSIGN: ''ASSIGN FFELD4+1(3) TO <FS1>'' '.
      ASSIGN FFELD4+1(3) TO <FS1>.
        ULINE.
        SKIP 2.
        SKIP.
    ASSIGN FFELD8+8(8) TO <FS1>.     "<-- Assigning of variable  FFELDX  !!
        BREAK-POINT.
        WRITE: / 'ASSIGN command with FFELD8, but FFELDX will be assigned'
                  COLOR 3.
        WRITE: /5 'Example 2'.
        PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
        WRITE: /10 'Content of   FFELDX      :', FFELDX.
        ULINE. SKIP 2.
        SKIP.
    ASSIGN FFELD8+16(8) TO <FS1>.    "<-- Assiging a few FFELDA to <FS1>  
        BREAK-POINT.
        WRITE: / 'ASSIGN with FFELD8, but instead FFELDA is assigned'
                  COLOR 3.
        WRITE: /5 'Example 3'.
        WRITE: /10 'Content of   FFELDA      :', FFELDA.
        PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
        WRITE: /10 'Content of   FFELDA      :', FFELDA.
        ULINE. SKIP 2.
    BREAK-POINT.
       DO 4 TIMES.
         ASSIGN FFELD8+OFFX(LENX) TO <FS1>.     "Zuordnung auf OFFX zu <FS1>
            WRITE: / 'ASSIGN command with FFELD8, es wird NFELDX zugeordnet'
                      COLOR 5.
             WRITE: /5 'Example 4', 'DO-Schleife Nr.:', SY-INDEX.
             PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
             WRITE: /10 'Content of NFELDX145(40)  :', NFELDX145(40).
             ULINE. SKIP 2.
             ADD 8 TO OFFX.
       ENDDO.
                   Subroutines             *******************
               Display of data fields and field symbols                  *
    FORM DISPLAY-FFELD USING FFELD FNAME.
    WRITE: /10 'Content of', FNAME, ':', FFELD.
    PERFORM FELDEIGENSCHAFTEN USING FFELD.
    WRITE: /10 'Content of <FS1> :', <FS1>.
    PERFORM FELDEIGENSCHAFTEN USING <FS1>.
    ADD   111    TO <FS1>.               "<-- Das Feldsybmol wird verwendet
    WRITE: /10 'ADD 111 TO <FS1>'.
    ULINE.
    WRITE: /10 'Content of', FNAME, 35 ':', FFELD.
    WRITE: /10 'Content of <FS1>',  35 ':', <FS1>.
    ENDFORM.
       Determination of field properties (only for information)          *
    FORM FELDEIGENSCHAFTEN USING ALLG.
    DATA: FLAENGE(2) TYPE N.
    DATA: FTYP(1) TYPE C.
    DATA: FOUT(2) TYPE N.
    DATA: FDEZ(2) TYPE N.
      ULINE.
      DESCRIBE FIELD ALLG LENGTH FLAENGE.
      WRITE: /10 'Field length  :', FLAENGE.
      DESCRIBE FIELD ALLG TYPE FTYP.
      WRITE: /10 'Field type    :', FTYP.
      DESCRIBE FIELD ALLG OUTPUT-LENGTH FOUT.
      WRITE: /10 'Output length :', FOUT.
      DESCRIBE FIELD ALLG DECIMALS FDEZ.
      WRITE: /10 'Decimals      :', FDEZ.
      SKIP 1.
    ENDFORM.
    END OF PROGRAM *************************************

  • How to Display the Percentage (%) Sign in Planning Form..???

    Hi All,
    How to display the percentage sign in the planning form in an account..?? I've an account that already set as the percentage for the data type.
    What I want is, when I type 50 in my cell, then in my form will be show 50%
    Now, I can't see the % sign on my form.
    Any Idea..??
    Thanks.
    Regards,
    VieN

    I know it's an obvious one but has caught me once or twice before when I've changed many properties numerous times in one day: Make sure you've deployed since you last set the properties!

Maybe you are looking for

  • Error in Process in PO for Classic Scenario

    Hi, I am working with classic scenario. I have created one catalog for services where I used service as a catagory(from backend R/3). I have maintained contracts for this services in the Backend R/3 as well as vendor lists with respective contract in

  • Workaround to adding two e-mail alias accounts with same username.

    I have two e-mail addresses (aliases) (for example [email protected] and [email protected]) running under one (same) username "jimmy" and the same password on the same mail server (basically one e-mail account with two e-mail address aliases). I want

  • Width of pivot view dropdown box

    Hi All, here I have a question,how can we increase/decrease the width of the pivot view dropdown box? Any help will be appreciated. Thanks Aravind.

  • FrameMaker Error

    i need help with this reoccuring error when attempting to create a PDF

  • Cant put videos in ipod

    i got videos from friends and it wont let me put into my ipod. wats the problem. am i suppose to get it somewere else or wat