Results 1 to 2 of 2

Thread: Adobe Java

  1. #1
    ponyboy3399 is offline Member
    Join Date
    Jul 2014
    Posts
    1
    Rep Power
    0

    Default Adobe Java

    Okay not sure if anyone can help. What I'm doing in Java is making a form for a timecard system. There is a section where you can enter the date of the time period. there also dates for each day we work. So when you fill out your timecard you have to fill out the date of the pay period and then the date of each day in the pay period that you've worked. What I'd like to do is have a user input their time in the pay period box and then have the other boxes auto populate subtracting a day. Not sure if that makes sense. basically what i need to do is figure out how to take a date inputted into a text box and then subtract by one day and put that calculation in another field. I see how you can add and subtract from the current date but no way to do it through an inputted date.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,006
    Rep Power
    20

    Default Re: Adobe Java

    You'll need a listener on whatever field (I would suggest not a free text field, but some sort of calendar widget, but maybe handle that later) holds the date, so when the user enters a value you can react when they exit that field (say).
    That listener will then populate the other field after subtracting a day from the date.

    You should be able to put together a simple example containing just those two fields.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Adobe Flash Interaction
    By JayF in forum New To Java
    Replies: 0
    Last Post: 04-13-2012, 09:38 PM
  2. import com.adobe.acrobat
    By minhtttran in forum Eclipse
    Replies: 3
    Last Post: 01-13-2009, 03:06 AM
  3. How I manage Adobe eForm(pdf)
    By fastspeed33 in forum Advanced Java
    Replies: 0
    Last Post: 09-04-2008, 11:16 AM
  4. java api for reading adobe frame maker files
    By venkatmatcha in forum Advanced Java
    Replies: 2
    Last Post: 06-30-2008, 06:00 AM
  5. Adobe livecycle
    By nphil070 in forum New To Java
    Replies: 0
    Last Post: 01-16-2008, 12:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •