Building my own timer.

I'm interested in learning how to build my own timer class. Any good pointers or maybe some learning material.

DarrylBurke wrote:
I've searched google for the source and taken a look on the site but i seem to only find java docs on them. Any linky or advise on where to find the source so i can find other in the future.Look in the folder where you installed your JDK for a file named src.zip.
db
edit Where's Jos when you need him? ;)I can't answer that. I'm still waiting for the ACK postcard from him :)

Similar Messages

  • Should I build my own component, or is there a solution to my built-in ScrollPane woes?

    "I am desperate. I am going insane. Please, please help me."
    That is how my last post ended. And no one replied, which I
    suppose means that there is no solution to the problem I have with
    the ScrollPane component in flash 8.
    I just want to put both of the scroll arrows of the
    ScrollPane's scroll bar together on the same end of the scroll
    track, instead of at opposite ends of the track.
    I have customized everything else about the ScrollPane with
    HaloThemes and setStyle, etc, but cannot seem to re-position the
    arrows.
    So, I am wondering if I should just make my own scroll pane.
    I have been cautioned against using too much actionscript in flash,
    though, so I am wary. Anyone know of a reliable method for making a
    scroll pane for images with scroll arrows that can be positioned
    together?
    Or should I stick it out with the built-in ScrollPane?

    No, what you ask is not possible with the standard
    components.
    I don't understand why you would be cautioned against using
    "too much actionscript" in Flash....
    Everything I do is built entirely with AS these days. I even
    draw out all of my elements at runtime, and this makes my
    interfaces faster, both in loading and in processing. So there is
    nothing wrong with using a ton of AS in Flash. However, if you do
    not know AS very well, these things are fairly difficult to do.
    If you do know AS fairly well, then go ahead and make your
    own Scroll Pane. Best-case scenario, you make a component that fits
    your needs, and is much smaller (file-size) than the ScrollPane.
    The built-in components tend to be a bit bloated. Worst-case
    scenario: Over too much time, you make something that is bigger
    than the ScrollPane component, and pretty much does the job you
    want, but is a bit buggy, and you have quite a few headaches on the
    way.
    Personally, I do not understand why Adobe hasn't given us the
    ability to rearrange the arrows on the UIScrollBar, or even simply
    turn the track off completely. These seem like simple things that
    should be easy for Adobe to add. I really need to compile a list of
    things to submit through the wish list page.
    So, you can stick with the ScrollPane, have it easy and done,
    but with a sub-ideal scrollbar. Or you can work at building your
    own ScrollPane component. If you build your own, you may spend a
    bit of time in development, but you will be able to get your
    scroller to display the way you want.

  • Get report file name in oracle report builder at run time

    Dear All,
    Is there any way to get the report file name in oracle report builder at run time?
    for example "HR_REP012.REP"
    i need this very important...
    Regards,
    Yousef
    Edited by: Yousef_m on Jun 2, 2012 5:18 AM

    Hello,
    Did you try the builtin SRW.GET_REPORT_NAME built-in function ?
    Example
    function AfterPForm return boolean is
    my_var varchar2(80);
    BEGIN
    SRW.GET_REPORT_NAME(my_var);
    SRW.MESSAGE(0,'Report Filename = '||my_var);
    RETURN (TRUE);
    END;
    Regards

  • How to build my own SOAP envelope

    Hi
    after a lot of work I have now realised that my SOAP to SOAP scenario can't use SAP XI std SOAP ENVELOPE on the receiver part.
    How to I build my own SOAP ENV in my RECEIVER payload? iMaybe in the mapping or in the WSDL/XSD?
    Any guides or experienses are welcome
    hope someone can help
    cheers

    Hi Bowie,
    Here is one possible approach...
    1) Set "Do Not Use SOAP Envelope" in your Receiver SOAP Adapter.
    2) Add this xsl as a second step in your interface mapping.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="/">
        <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
          <env:Body>
            <xsl:copy>
              <xsl:apply-templates select="@*|node()"/>
            </xsl:copy>
          </env:Body>
        </env:Envelope>
      </xsl:template>
      <xsl:template match="@*|node()">
        <xsl:copy>
          <xsl:apply-templates select="@*|node()"/>
        </xsl:copy>
      </xsl:template>
    </xsl:stylesheet>
    You can then modify the soap envelope nodes above to create what you need.
    -Russ

  • Builder my own RTSP client

    Hi, guys
    I want to build my own RTSP client,
    I know that JMF2.0 can support RTSP URL, but i want to find a source code which implements RTSP client treatment without using JMF's Manager.createPlayer . Because i need some changes in RTSP treatment
    I have found the source code to implement the RTSP server in Java using simple socket.

    Douglas, any progress?

  • How to build your own install img?

    How do I build my own arch install image...iirc there are tools but I don't know how to use them.
    Also is it possible to use the usb .img installer off of one's harddrive?  I know I can use dd to put it on a partition, but was wondering if it would be able to boot and install properly.

    This is from an email by Dieter to the arch-releng list:
    git clone http://projects.archlinux.org/git/archiso.git
    cd archiso/archiso
    sudo make install #to be packaged later
    cd ../configs/install-iso
    # change version in Makefile
    # if on x86_64, remove intel-536ep and intel-537 from packages.list
    ./buildall.sh
    scp release/* ...somewhere...

  • How I build my own libraries of classes/methods in java ?

    How I build my own libraries of classes/methods in java ? how then I refer a functionX() (i mean method) in LibraryX ? can you give a short/brief example of a library with a class with a method and a main method of normal class calling this method (of external's added library's) ?

    Just another cross poster.
    [http://www.java-forums.org/new-java/12389-how-i-build-my-own-libraries-classes-methods-java.html]
    db
    edit And [http://forums.java.net/jive/thread.jspa?messageID=305387]
    Edited by: Darryl.Burke

  • How to build my own policy?

    i need build my own policy to interact with database.
    just tell me where can i get a better reference of this.
    thanks a lot

    http://www-106.ibm.com/developerworks/library/j-jaas/?n-j-442
    This example from IBM is very good however it does more than you may need. Concentrate on the XMLPolicy.java code and corresponding .xml files.
    hope this helps!

  • How to build my own LEXER

    Hi :
    I want to build a Text Query Application which bases on Oracle interMedia Text. Besides some default languages the interMedia supports (English, French ...), I need index on my own language document. When I refered to the Oracle Text Reference, I saw that I can use the BASIC_LEXER for English and all other supported whitespace delimited languages. My language is Vietnamese which has whitespace delimiter. The question is that can I build my own language dictionary-lexer (similar to some default dictionaries : English, France, German, Chinese ...) to index my document and how can I do that ? In the documents I refered (Oracle Text Application Developer's Guide and Oracle Text Reference) I could'n find direction for doing this.
    Thanks.

    Hi,
    In 9.2 there is a new feature: USER_LEXER. The USER_LEXER lets you write and plug in your own lexer to handle
    languages or other indexing techniques that Oracle Text does not support. We will be publishing the 9.2 Text technical
    overview in a few days that shows you how to do it.

  • Control to Stop Users Inputting their own Time Data?

    Hi all. I'm carrying out a security review of users on a SAP HR implementation. I was wondering if there is a control in place on SAP that would stop a user with access to make changes to input time from inputting their own time on the system using PTMW. Thanks

    Hi John,
    You have to use the authorization object P_PERNR with the value E = Authorization for all personnel numbers excluding own personnel number for field PSIGN while creating the authorization profiles and assigning to HR roles.
    Pls refer the below link:
    http://help.sap.com/erp2005_ehp_02/helpdata/en/94/b8b83b5b831f3be10000000a114084/content.htm
    Regards
    Raviiiiiiiiiii
    Edited by: ravishanker m on Jul 1, 2011 10:35 AM

  • Show channels with own time channel and different length in one 3D graph

    Hi,
    How can i show channels with own time channel and different length in one 3D graph?
    My consideration looks like this, but i didn't found a solution with acceptable performance. ( i have many channels to merge and many data in them)
    i have 4 Channels 2 with values and 2 with time.
    Example:
    Pair 1:
    1 - 3
    2 - 4
    3 - 5
    4 - 8
    5 - 9
    Pair 2:
    1.5 - 6
    2.3 - 7
    4.5 - 8
    I want than this result:
    1 - 3
    1.5 - null
    2 - 4
    2.3 - null
    3 - 5
    4 - 8
    4.5 - null
    5 - 9
    And
    1 - null
    1.5 - 6
    2 - null
    2.3 - 7
    3 - null
    4 - null
    4.5 - 8
    5 - null
    thanks a lot
    by
    Stefan

    Hi StefanF,
    You need to first create the timebase that you want (in this case with a 0.5 increment) using the "Generate Numeric Channel" ANALYSIS function, then use the resulting time channel in the "Linear Mapping" ANALYSIS function for each of the original channel pairs.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Can I use a PCI-1424 with a non-standard camera and build my own camera file?

    I want to test a certain CCD which in non-standard and I want to setup the direct interface with it. My idea is to use a 1424 board and build the camera file.

    Technically, you can build your own cable and ICD (configuration) file for your camera. It can be very difficult, though. If the CCD is fairly standard, NI might be willing to create a basic ICD file for you which you can modify to do what you want. The best way to figure out what can be done in an ICD file is to look at ICD files for other cameras.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • I am having issues with adjusting the duration of time for each still frame and transition in imovie 11.  Each time that I adjust these times, the app does not accept the change, and automatically enters its own time. Am I doing something wrong?

    I am having issues with adjusting the duration of time for each still frame and transition in imovie 11.  Each time that I adjust these times, the application does not accept the change, and instead automatically enters its own time. Is there a work around this? Or am I doing something wrong? Please Help!
    Thank you,
    lagrl

    Have you tried turning off automatic transitions ? Choose file - project properties and follow the dialogue box to change duration with a slider.  iMovie also doesn't allow a transition to be more than 50% duration of the clip its attached to. In other words if the clip is 4 seconds the transition cannot be more than 2 seconds and remember that relates to the first clip as the following clip (right side) is pulled back to overlay it.
    Does this help.  Perhaps you already know this ?

  • CATS_APPR_LITE - restricting ability to approve own time

    I have a question regarding transaction CATS_APPR_LITE.  Is this transaction intended to be used only by "master" time administrators?
    My reason for asking is that I cannot find a way to restrict a user who has access to this transaction from approving their own time.  I can restrict this capability when they use CAPS, but the same P_PERNR and/or P_ORGIN authorization objects restrictions don't seem to work in CATS_APPR_LITE.  To give you some more background, I've created three levels of security around time entry/approval.  The first level restricts the user to only enter their own time.  This role is assigned to all users.  The second level allows a user to enter time for another employee in the same organizational key.  This role is assigned to all managers and admin assistants (in addition to the first level role mentioned previously).  The third level allows a user to approve time within their organizational key.  This role is assigned to department managers (in addition to the two previously mentioned roles) so they can approve their staff's time but not their own (at least when they use CAPS to approve time).  However, we also have CATS_APPR_LITE included in this role so users have an option between the two time approval transactions.  Should we just disallow using CATS_APPR_LITE or am I missing something in my authorization object restrictions?  I would think these two time approval transactions would perform identical authority checks but they obviously don't.  Does anyone have any suggestions?

    I ran traces for both CAPS and CATS_APPR_LITE while trying to approve my own time.  For CAPS, there appears to be several more auth checks performed than with CATS_APPR_LITE.  I'm not sure I understand the significance of lines with RC=0 versus RC=4.  Are RC=4 lines auth checks that failed?  How do I determine which auth values to include?
    Here is the trace results for CAPS:
    P_ABAP     RC=4      REPID=RCATSC01;COARS=2;
    P_ABAP     RC=0  REPID=SAPDBPNP;COARS=2;                                     
    P_PERNR    RC=4  AUTHC=R;PSIGN=*;INFTY=0328;SUBTY=' ';                       
    P_PERNR    RC=4  AUTHC=R;PSIGN=E;INFTY=0328;SUBTY=' ';                       
    P_PERNR    RC=0  AUTHC=R;PSIGN=I;INFTY=0328;SUBTY=' ';                       
    P_ORGIN    RC=4  INFTY=0328;SUBTY=' ';AUTHC=R;PERSA=;PERSG=;PERSK=;VDSK1=;
    P_PERNR    RC=4  AUTHC=R;PSIGN=*;INFTY=0328;SUBTY=' ';                       
    P_PERNR    RC=4  AUTHC=R;PSIGN=E;INFTY=0328;SUBTY=' ';                       
    P_PERNR    RC=0  AUTHC=R;PSIGN=I;INFTY=0328;SUBTY=' ';                       
    P_PERNR    RC=4  AUTHC=R;PSIGN=*;INFTY=0328;SUBTY=' ';                       
    P_PERNR    RC=4  AUTHC=R;PSIGN=E;INFTY=0328;SUBTY=' ';                       
    P_PERNR    RC=0  AUTHC=R;PSIGN=I;INFTY=0328;SUBTY=' ';                       
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0000;SUBTY=' ';                       
    P_ORGIN    RC=4  INFTY=0000;SUBTY=' ';AUTHC=R;PERSA=;PERSG=;PERSK=;VDSK1=;
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0000;SUBTY=' ';                       
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0000;SUBTY=' ';                       
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0001;SUBTY=' ';                       
    P_ORGIN    RC=4  INFTY=0001;SUBTY=' ';AUTHC=R;PERSA=;PERSG=;PERSK=;VDSK1=;
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0001;SUBTY=' ';                       
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0001;SUBTY=' ';                       
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0002;SUBTY=' ';                       
    P_ORGIN    RC=4  INFTY=0002;SUBTY=' ';AUTHC=R;PERSA=;PERSG=;PERSK=;VDSK1=;
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0002;SUBTY=' ';                       
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0002;SUBTY=' ';                       
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0007;SUBTY=' ';                       
    P_ORGIN    RC=4  INFTY=0007;SUBTY=' ';AUTHC=R;PERSA=;PERSG=;PERSK=;VDSK1=;
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0007;SUBTY=' ';                       
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0007;SUBTY=' ';                       
    P_PCLX     RC=0  RELID=B2;AUTHC=R;                                           
    P_PCLX     RC=0  RELID=B2;AUTHC=R;                                           
    P_PCLX     RC=0  RELID=B2;AUTHC=R;                                           
    P_PCLX     RC=0  RELID=B2;AUTHC=R;                                           
    S_ALV_LAYO RC=0  ACTVT=23;
    S_GUI      RC=0  ACTVT=61;
    S_GUI      RC=0  ACTVT=61;
    P_PERNR    RC=4  AUTHC=D;PSIGN=*;INFTY=0328;SUBTY=' ';                                        
    P_PERNR    RC=4  AUTHC=D;PSIGN=E;INFTY=0328;SUBTY=' ';                                        
    P_PERNR    RC=4  AUTHC=D;PSIGN=I;INFTY=0328;SUBTY=' ';                                        
    P_ORGIN    RC=4  INFTY=0328;SUBTY=' ';AUTHC=D;PERSA=;PERSG=;PERSK=;VDSK1=;                
    P_PERNR    RC=4  AUTHC=D;PSIGN=*;INFTY=0328;SUBTY=' ';                                        
    P_PERNR    RC=4  AUTHC=D;PSIGN=E;INFTY=0328;SUBTY=' ';                                        
    P_PERNR    RC=4  AUTHC=D;PSIGN=I;INFTY=0328;SUBTY=' ';                                        
    P_ORGIN    RC=0  INFTY=0328;SUBTY=' ';AUTHC=D;PERSA= ;PERSG= ;PERSK= ;VDSK1= ;                
    P_PERNR    RC=4  AUTHC=D;PSIGN=*;INFTY=0328;SUBTY=' ';                                        
    P_PERNR    RC=4  AUTHC=D;PSIGN=E;INFTY=0328;SUBTY=' ';                                        
    P_PERNR    RC=4  AUTHC=D;PSIGN=I;INFTY=0328;SUBTY=' ';                                        
    P_ORGIN    RC=0  INFTY=0328;SUBTY=' ';AUTHC=D;PERSA=1000;PERSG=2;PERSK=01;VDSK1=10000000004141;
    P_ORGIN    RC=0  INFTY=0328;SUBTY=' ';AUTHC=D;PERSA=2000;PERSG=2;PERSK=01;VDSK1=10000000004141;
    P_PERNR    RC=4  AUTHC=D;PSIGN=*;INFTY=2002;SUBTY=0800;                                       
    P_PERNR    RC=0  AUTHC=D;PSIGN=E;INFTY=2002;SUBTY=0800;                                       
    P_PERNR    RC=4  AUTHC=D;PSIGN=*;INFTY=2002;SUBTY=0800;                                       
    P_PERNR    RC=0  AUTHC=D;PSIGN=E;INFTY=2002;SUBTY=0800;                                       
    P_ORGIN    RC=0  INFTY=2002;SUBTY=0800;AUTHC=D;PERSA= ;PERSG= ;PERSK= ;VDSK1= ;               
    P_PERNR    RC=4  AUTHC=D;PSIGN=*;INFTY=2002;SUBTY=0800;                                       
    P_PERNR    RC=0  AUTHC=D;PSIGN=E;INFTY=2002;SUBTY=0800;                                       
    Here is the trace for CATS_APPR_LITE:
    P_ABAP     RC=4  REPID=RCATS_APPROVE_ACTIVITIES;COARS=2;                                      
    P_ABAP     RC=0  REPID=SAPDBPNP;COARS=2;                                                      
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0000;SUBTY=' ';                                        
    P_ORGIN    RC=4  INFTY=0000;SUBTY=' ';AUTHC=R;PERSA=;PERSG=;PERSK=;VDSK1=;                
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0000;SUBTY=' ';                                        
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0000;SUBTY=' ';                                        
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0001;SUBTY=' ';                                        
    P_ORGIN    RC=4  INFTY=0001;SUBTY=' ';AUTHC=R;PERSA=;PERSG=;PERSK=;VDSK1=;                
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0001;SUBTY=' ';                                        
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0001;SUBTY=' ';                                        
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0002;SUBTY=' ';                                        
    P_ORGIN    RC=4  INFTY=0002;SUBTY=' ';AUTHC=R;PERSA=;PERSG=;PERSK=;VDSK1=;                
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0002;SUBTY=' ';                                        
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0002;SUBTY=' ';                                        
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0007;SUBTY=' ';                                        
    P_ORGIN    RC=4  INFTY=0007;SUBTY=' ';AUTHC=R;PERSA=;PERSG=;PERSK=;VDSK1=;                
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0007;SUBTY=' ';                                        
    P_PERNR    RC=0  AUTHC=R;PSIGN=*;INFTY=0007;SUBTY=' ';                                        
    P_PERNR    RC=4  AUTHC=D;PSIGN=*;INFTY=0328;SUBTY=' ';                                        
    P_PERNR    RC=4  AUTHC=D;PSIGN=E;INFTY=0328;SUBTY=' ';                                        
    P_PERNR    RC=4  AUTHC=D;PSIGN=I;INFTY=0328;SUBTY=' ';                                        
    P_ORGIN    RC=4  INFTY=0328;SUBTY=' ';AUTHC=D;PERSA=;PERSG=;PERSK=;VDSK1=;                
    P_PERNR    RC=4  AUTHC=D;PSIGN=*;INFTY=0328;SUBTY=' ';                                        
    P_PERNR    RC=4  AUTHC=D;PSIGN=E;INFTY=0328;SUBTY=' ';                                        
    P_PERNR    RC=4  AUTHC=D;PSIGN=I;INFTY=0328;SUBTY=' ';                                        
    P_ORGIN    RC=0  INFTY=0328;SUBTY=' ';AUTHC=D;PERSA= ;PERSG= ;PERSK= ;VDSK1= ;                
    P_PERNR    RC=4  AUTHC=D;PSIGN=*;INFTY=0328;SUBTY=' ';                                        
    P_PERNR    RC=4  AUTHC=D;PSIGN=E;INFTY=0328;SUBTY=' ';                                        
    P_PERNR    RC=4  AUTHC=D;PSIGN=I;INFTY=0328;SUBTY=' ';                                        
    P_ORGIN    RC=0  INFTY=0328;SUBTY=' ';AUTHC=D;PERSA=1000;PERSG=2;PERSK=01;VDSK1=10000000004141;
    P_ORGIN    RC=0  INFTY=0328;SUBTY=' ';AUTHC=D;PERSA=2000;PERSG=2;PERSK=01;VDSK1=10000000004141;
    S_ALV_LAYO RC=0  ACTVT=23;
    S_ALV_LAYO RC=0  ACTVT=23;
    S_GUI      RC=0  ACTVT=61;

  • Are we able to build hierarchies for time characterstics

    Are we able to build hierarchies for time characterstics?If possible in what scenarios?

    hi chandra
    go to transaction rsd1 and tick the 'with hierarchies' box, then you should be able to create a hierarchy against the characteristic in rsh1.
    josh

Maybe you are looking for

  • Suggestion for a new book or resources

    Folks, The stuff I really find interesting is when Dan, Ravi, Albert and other start showing how to tweak SQL scripts to get some performance out of them. For example, the thread entitled: "Spatial Query with multiple geometries from 2 tables" It is

  • Remote Desktop Connection in Windows 8

    Hi, I can't seem to figure out how to make my local drives available when using the app Remote Desktop Connection on my Windows 8. All the instructions I found on Microsoft do not apply to Windows 8 http://technet.microsoft.com/en-us/library/cc728050

  • Is there a way to undo after Photoshop has frozen and you are working with a recovered file?

    so this is exactly what happened... I had been working on an edit for way too long and of course i didnt save it the entire time because im terrible i guess, I wanted to see what the deal with Lens Flare was so i went Filter>Render>Lens Flare to chec

  • Dreamweaver template function

    I'm working on a site as a favor. I never worked with the template function, and just started playing with it. I made a template of the site www.negmsc.com. Then, when I create another page based off of that template, it looks fine in Dreamweaver but

  • Where(How to change the SMTP- Server

    Hello, i'm using the OAS 10.1.2.0.2 While installation OAS i entered the name of the actual working SMTP- Server. Sending mails worked fine until today. Now the name of the SMTP- Server has changed and i wanted to change it(the name) in the Applicati