Per account workflow not being executed

I am trying to run a per account workflow,
so that when a user in a Resouce(Authoritative source) gets deleted,
during reconciliation the per account workflow should get executed there by disabling all the resource accounts for the user .
I added the following workflow int the 'Per account workflow' tab of my reconciliation policy
my reconciliation runs sucessfully however i do not see any changes in the users account , it seems the Workflow is not getting executed..
The code for the workflow is as below
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE TaskDefinition PUBLIC 'waveset.dtd' 'waveset.dtd'>
<!--  MemberObjectGroups="#ID#Top" createDate="Fri Feb 24 18:31:31 PST 2006" id="#ID#BC7431C56D947D4E:194DF96:1099F0627CB:-7FFB" name="Custom Workflow" visibility="runschedule"-->
<TaskDefinition id='#ID#BC7431C56D947D4E:194DF96:1099F0627CB:-7FFB' name='Custom Workflow' lock='Configurator#1141081471234' creator='Configurator' createDate='1140834691093' lastModifier='Configurator' lastModDate='1140843754062' lastMod='96' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
  <Extension>
    <WFProcess name='Custom Workflow' maxSteps='0'>
      <Variable name='userName' input='true'/>
      <Variable name='accountId' input='true'/>
      <Variable name='loginApplication' input='true'/>
      <Variable name='resource' input='true'/>
      <Activity id='0' name='start'>
        <Transition to='Disable User'>
          <eq>
            <ref>initialSituation</ref>
            <s>AR_SITUATION_NAME_DELETED</s>
          </eq>
        </Transition>
        <WorkflowEditor x='56' y='225'/>
      </Activity>
      <Activity id='1' name='Disable User'>
        <Variable name='WF_ACTION_ERROR'/>
        <Variable name='user'/>
        <Action id='0'>
          <expression>
            <set name='user.resourceAccounts.selectAll'>
              <Boolean>true</Boolean>
            </set>
          </expression>
          <Argument name='op' value='disableUser'/>
          <Argument name='accountId' value='$(accountId)'/>
          <Argument name='doWaveset' value='true'/>
        </Action>
        <Transition to='Clear Task Results'>
          <isnull>
            <ref>WF_ACTION_ERROR</ref>
          </isnull>
        </Transition>
        <Transition to='end'/>
        <WorkflowEditor x='362' y='23'/>
      </Activity>
      <Activity id='2' name='Clear Task Results'>
        <Action id='0' application='SET_RESULT_LIMIT'>
          <Argument name='limit' value='0'/>
        </Action>
        <Transition to='end'/>
        <WorkflowEditor x='373' y='224'/>
      </Activity>
      <Activity id='3' name='end'>
        <WorkflowEditor x='564' y='171'/>
      </Activity>
    </WFProcess>
  </Extension>
  <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
  </MemberObjectGroups>
</TaskDefinition>Can anyone help me with this?

Hi,
It could be that the workflow is being executed
but it is not doing the correct thing.
Why dont you load the workflow into the debugger,
set a breakpoint on it and then run reconcilliation.
That way you will know for sure if the workflow
is being executed.
John I

Similar Messages

  • Per Account Workflow Example

    Can anyone point me to or post an example of a complete per account workflow that is used to modify the attributes of each user. I'm looking for one or more good examples to answer a few basic questions. 1) Do I need to checkout a user view with a per account workflow or is this already done for me? 2) How exactly do I reference the attributes of each user in a per account workflow when I want to make a change to that attribute?
    Any help appreciated, but I'm really look for complete code samples, and not just snippets.
    Thanks,
    Gary
    UC Davis Vet Med Teaching Hospital

    Hi,
    I know it is virtually impossible to find anything in the forum now, so I'd like to point you to an old thread that might answer your question.
    http://forums.sun.com/thread.jspa?threadID=5227870&messageID=9931369#9931369
    Pauls code in the last post may be the answer to your problem. Still I keep my stance from my post in this thread - while it works it does not scale...
    Regards,
    Patrick

  • Per Account Workflow and parameters

    I added an attribute in the User Extended Attributes.xml called status
    In my per account workflow, I pass in this variable as
    <Variable name='status' input='true'/>
    But it does not pass in the value. Do you have any ideas?

    sorry. in the deployment tools document, there's a section about per account workflow. It specifies all the parameters that are passed into a per account WF.

  • XSLT for adding Namespace is not being executed at runtime

    Hi Gurus,
    I am trying to add a Namespace to inbound xml and I wrote a simple XSLT mapping as below, when I execute this using XML spy or in Operation mapping manually it is working fine and giving me output as expected but at runtime it is not executing, I am getting same input xml as output xml and receiver agreement is failing...
    Appreciate your thoughts..
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml" encoding="UTF-8"/>
            <xsl:template match="*">
              <ns0:SalesXmlExtended xmlns:ns0="urn:/company.com/H/sndr">
              <xsl:copy-of select="//SalesReportInfo"/>
         </ns0:SalesXmlExtended>
         </xsl:template>
    </xsl:stylesheet>
    input xml is as below....
    <?xml version="1.0" encoding="UTF-8"?>
    <SalesXmlExtended>
         <SalesReportInfo>
              <SalesReport>
                   <Detail>
                        <deptNum>0270</deptNum> etc...
    output I am getting in XMLSpy and OM is as below, this is exactly what I need...
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:SalesXmlExtended xmlns:ns0="urn:/company.com/H/sndr">
         <SalesReportInfo>
              <SalesReport>
                   <Detail>
                        <deptNum>0270</deptNum>
    Thanks...
    Sukarna...

    Hi Baskar,
    Yeah, that is what my issue is , it shouldn't be failing but it is...
    I tried by manipulating the required namespace in the input file and it is working fine with out any errors....so I am guessing the XSLT is not being executed...
    I am getting below error which is valid because the transformation is not happening
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Technical Routing --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
    <SAP:Category>XIServer</SAP:Category>
    <SAP:Code area="OUTBINDING">CO_TXT_OUTBINDING_ERROR</SAP:Code>
    <SAP:P1>-BS_HOUSE_OF_FRASER_DEV</SAP:P1><SAP:P2>-BD1_100,urn:.com/HoF/POS/EOD/sndr.SI_Out_HoFSales_XML</SAP:P2>
    <SAP:P3/>
    <SAP:P4/>
    <SAP:AdditionalText>No standard agreement found for , BS_HOUSE_OF_FRASER_DEV, , BD1_100, urn:/HoF/POS/EOD/sndr, SI_Out_HoFSales_XML</SAP:AdditionalText
    ><SAP:Stack>Problem occurred in receiver agreement for sender -BS_HOUSE_OF_FRASER_DEV to receiver -

  • Call to java bean but code not being executed.

    Making a call to my javabean class called ch06_03.java from a jsp program shown below:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Using a java package.</title>
    </head>
    <body>
    <% beans.ch06_03 messager = new beans.ch06_03(); %>
    The message is: <%= messager.msg() %>
    </body>
    </html>
    The call from jsp to javabean program is only returning the hello from java and NOT EXECUTING ANY OF THE CODE in the msg() method. I am checking my table landings_hold and nothing is there, my log file shows nothing. Why is the code not being executed except for the return statement?
    My javabean program is shown below:
    package beans;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    import java.sql.*;
    public class ch06_03 {
    StringTokenizer st1;
              String val1, val3, val4, val5, val9, val10, val11, val12, val13, val14, val16;
              String val2, val6, val7, val8, val15, val17, val18, val19, val20;
              int cnt;
              String filetext = "Starting RIFIS Upload";
              java.util.Date d = new java.util.Date();
              SimpleDateFormat form = new SimpleDateFormat("dd/MMM/yyyy hh:mm:ss");
              String dateString = form.format(d);
    public String msg() throws Exception {
         try {
         Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@xxxxx.xxxx.xxx:1521:xx","xxxxxx","xxxx");
              Statement st = conn.createStatement();
         File f = new File("C://upload");
              FileWriter outFile = new FileWriter("C://RIFIS/log/logfile.txt", true);
              outFile.write(System.getProperty("line.separator"));
              outFile.write(filetext+" - "+dateString);
              if (f.isDirectory())
              { String [] s = f.list();
              for (int i=0; i<s.length; i++)
              { outFile.write(System.getProperty("line.separator"));
                   outFile.write("Found file - "+f+"/"+s);
              FileReader file = new FileReader(f+"/"+s[i]);
                   File inputFile = new File(f+"/"+s[i]);
                        File outputFile = new File("C://RIFIS/archive/"+s[i]);
                   BufferedReader buff = new BufferedReader(file);
                   boolean eof = false;
                   String val0="";
                   ResultSet rec = st.executeQuery("SELECT landings_hold_batch_seq.nextval FROM dual");
                        while(rec.next())
                        { val0 = rec.getString(1); }
                        cnt=0;
                        while (!eof)
                        { String line = buff.readLine();
                        if (line == null)
                        { eof = true; }
                             else
                             { cnt = cnt+1;
                                  st1 = new StringTokenizer(line,",");
                                  val1 = st1.nextToken();
                                  val2 = st1.nextToken();
                                  val3 = st1.nextToken();
                                  val4 = st1.nextToken();
                                  val5 = st1.nextToken();
                                  val6 = st1.nextToken();
                                  val7 = st1.nextToken();
                                  val8 = st1.nextToken();
                                  val9 = st1.nextToken();
                                  val10 = st1.nextToken();
                                  val11 = st1.nextToken();
                                  val12 = st1.nextToken();
                                  val13 = st1.nextToken();
                                  val14 = st1.nextToken();
                                  val15 = st1.nextToken();
                                  val16 = st1.nextToken();
                                  val17 = st1.nextToken();
                                  val18 = st1.nextToken();
                                  val19 = st1.nextToken();
                                  val20 = st1.nextToken();
                                  st.executeUpdate("INSERT INTO LANDINGS_HOLD (lh_id, lh_batch, supplier_dr_id, supplier_unique_id, supplier_dealer_id, supplier_cf_id, supplier_vessel_id, unload_year, unload_month, unload_day, state_code, county_code, port_code, itis_code, market, grade, reported_quantity, unit_measure, dollars, lh_loaddt, lh_loadlive, purch_year, purch_month, purch_day)" +
                        "VALUES (0,'"+val0+"','"+val1+"',"+val2+",'"+val3+"','"+val4+"','"+val5+"',"+val6+","+val7+","+val8+",'"+val9+"','"+val10+"','"+val11+"','"+val12+"','"+val13+"','"+val14+"',"+val15+",'"+val16+"',"+val17+",SYSDATE,NULL,"+val18+","+val19+","+val20+")");
                             } // while else end
                        } // parent while end
                        FileReader in = new FileReader(inputFile);
                        FileWriter out = new FileWriter(outputFile);
    int c;
                        while ((c = in.read()) != -1)
                        { out.write((char)c); }
                        in.close();
                        out.close();
                        outFile.write(System.getProperty("line.separator"));
                        outFile.write("Number of records inserted - "+cnt);
                        outFile.write(System.getProperty("line.separator"));
                        outFile.write("Copied upload file to archive directory");
                        outFile.write(System.getProperty("line.separator"));
                        outFile.write(f+"/"+s[i]+" - Has been removed from upload directory");
                        buff.close();
                        inputFile.delete();
                   } // for end
                   outFile.write(System.getProperty("line.separator"));
                   outFile.write("Upload Complete...NO ERRORS");
                   outFile.write(System.getProperty("line.separator"));
                   outFile.write("*************************************************************");
                   outFile.write(System.getProperty("line.separator"));
                   conn.close();
              } // if end
              else
              { outFile.write("No files to process"); }
              outFile.flush();
              outFile.close();
              } // try end.
              catch(Exception e)
              { FileWriter errFile = new FileWriter("C://RIFIS/log/errfile.txt", true);
              errFile.write(System.getProperty("line.separator"));
              errFile.write("ALERT....ALERT....ALERT");
              errFile.write(System.getProperty("line.separator"));
              errFile.write("Error Occurred in ReadSource.java - RIFIS Upload");
              errFile.write(System.getProperty("line.separator"));
              errFile.write("My Error: " + e);
              errFile.write(System.getProperty("line.separator"));
              errFile.write("*************************************************************");
                   errFile.flush();
                   errFile.close();
              } // catch exception end.
         return "Hello from java";
         } //public msg block
         public ch06_03()

    Since you didn't use code-formatting tags ([ code ] and [ /code ] without the spaces) it's kinda hard to look at it. But I'm sure it DID execute much more than just the return statement - maybe you're not closing a file or db connection, or maybe you're seeing a cached page, so it actually isn't executing ANYTHING on the server (is your browser set to never check for newer pages so it (almost) always returns from cache, for example?)

  • Validation function, PL/SQL is not being executed

    Hello there,
    In one of my APEX listener setups I want to give access to only one application and block the rest. Basically I am following this nice post from Kris Rice: http://krisrice.blogspot.com.ar/2013/01/apex-listener-plsql-validations.html
    My problem is that my validation function is not being executed:
    - In ${config.dir}/apex/conf/apex.xml
    <entry key="security.requestValidationFunction">MY_SCHEMA.MY_PACKAGES.is_allowed(flow_id=>:P_FLOW_ID,page_id=>:P_FLOW_STEP_ID)</entry>- The function code:
    FUNCTION is_allowed(
        flow_id IN VARCHAR2,
        page_id IN VARCHAR2)
      RETURN BOOLEAN
    AS
    BEGIN
      insert into MY_SCHEMA.logs values (sysdate, flow_id);
      IF ( flow_id = 141 ) THEN
        RETURN true;
      END IF;
      RETURN false;
    END;But the logs table remains empty, snif...
    Any ideas?
    Thanks in advance,
    Luis

    Upgrade to APEX Listener 2.0.3 solves the issue:
      http://www.oracle.com/technetwork/developer-tools/apex-listener/downloads/index.html
    Thanks!
    Luis

  • Material availability check not being executed

    First of all: I’m an SD consultant with limited knowledge about PS
    At our current client are we facing an issue with the material availability check in project system orders, created through e.g. CJ20N. The client mentions, that the availability check on the components is not being executed and therefore is effecting their operations
    I did check SAP OSS and found the following OSS notes:
    01774744           Planning quantity of PIR is not getting updated properly
    01745038           BAPI_NETWORK_COMP_CHANGE is updating PBED-PLNMG incorrectly
    01774657           BAPI_NETWORK_COMP_CHANGE is not updating PBED-PLNMG –III
    Those notes were also implemented
    Did find transaction CJBN and did some testing, but did get the message
    BL 001
    Availability check not activated
    I did check transaction
    OPJJ and everything looks good.
    OPJK and everything looks good
    At this point I’m totally clueless on how to resolve the issue.
    If you would have any suggestions, pointers or remarks: they would be appreciated.
    Thanks and regards,
    Jan Pel

    Hi,
    Can you please check whether the configuration of material availability check in PS is proper and in place or not. Please check the following sap help link on material's availability check in PS:
    Material Availability Check - Material - SAP Library
    Regards
    Saurabh

  • Programs which are not being executed for a specific period

    Hi,
    We are planning to do the application upgrade in few months,with respect to that we would like to find out what all programs/transactions(standard or custom) which are not being executed for a specific period.What is the way to find this?
    Regards,
    Sam

    Hi Sam,
    You can use st03 and defice theprograme name and period to sotp the activity.
    Regards,
    Anil

  • Programs which are not  being executed

    Hi,
    We are planning to do the application upgrade in few months,with respectto that we would like to find out what all programs/transactions(standard
    or custom) which are not being executed for a specific period.What is the
    way to find this?
    Regards,
    Sam

    Hi,
    Maybe a RBE tool can help:
    http://www.sap.com/services/pdf/50039406.pdf
    We do not exploit it at the moment.
    Best regards,
    Guy.

  • Conversion exit is not being executed

    Hi,
      I had enhanced logistics D/S, while activating in BI , encountering error message as "Conversion exit is not being executed". Your help is appreciated.
    Thanks
    Loiske

    Is it a warning or an error message? If it is a warning, you can ignore it.
    [I think] the message is for an infoobject which expects a conversion exit check in the transfer rule, but it is not checked. If you identify and select the conversion for the field, this message should not appear.

  • Dinamic Configuration not being executed

    Hi All,
       I'm working on a new interface, file2file. The new file name is not known because it depends on the mapping process so I have configured the FileName options in the Sender and Receiver channels and I can see the new
    <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">XXXXXXXXX</SAP:Record>
       and it uses it to write the file.
       In the mapping process, a new User-Defines function is called, it is the very same as all the posts about this option.
       The messate type is something like this:
                   label1
                        RECORD
                              LINE_ITEM
                                     DATA
        If I place the new function during the DATA mapping, it works but, if I move it to the label1 it seems that it is not being called. Is there any reason for this? Due to the number of boxes for the filename calculation I moved to label1.
        Help would be appreciated for this.
        Thanks and kind regards,
           Encinas.

    Hi,
    it means that you're label mapping is not being executed
    try adding a trance in your user defined function
    and you'll be able to see it this will be executed during the mapping
    (in the test tab)
    how to add trace:
    /people/michal.krawczyk2/blog/2005/02/25/simple-java-code-in-graphical-mapping--xi
    basically you can put it anywhere in your mapping as long as the user defined function will be executed
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • SE 30  not being executed

    Hi all,
       In our system , the transaction for runtime analysis is not being executed in DEV and QUA server (though it runs fine at PROD server) .
      On executing SE 30 , ABAP Runtime Error comes as below
    Runtime errors :-  CONVT_NO_NUMBER
    Unable to interpret "O" as a number. (here I am strictly putting  'ZERO' but not alphabet 'O' )
    Could anybody diagnose the problem..............?
    Thanks ................

    Hi,
    Give the zero in quotes like '0'.
    Thanks,
    Anil.S

  • SubQuerry Not being executed

    Hi Gentelmen;
    I have posted this question in the Test and Playground Forum but no one has responded.
    Any of you experts in this forum may be able to help me please...
    I have this problem where I am selecting records to display on the report from table customer and trying to count how many booking are there for each customer in booking table based on the customer id from booking table.
    here is my query code below...
    select id name city custtype discount into (wa-scid, wa-scname, wa-sccity, wa-scctype, wa-scdisc) from customer
      where city = 'CityName' and
      country = 'CountryName' and exists (
      select count( distinct custid ) as wa-cnt from bookings group by custid ).
      WRITE: /1 wa-scid, 11 wa-scname, 40 wa-sccity, 70 wa-scctype, 78 wa-scdisc,'%', 90 wa-cnt.
      endselect.
    I have tried to debug the issue and seems like the sub query is not being executed. The reason i say that because the value  of wa-cnt which is a counter of type i is not changing.
    Any one can shed some light in this matter/problem please...
    Many Thanks.
    -hisheeraz

    You are using AS addition in the subquery to determine whether the subquery is being executed or not, and I think this is wrong. AS addition has only meaning when your using wither INTO or APPENDING, it wouldn't change the value of wa-cnt.
    I suggest you to try to change the subquery to
    and exists ( select count( * ) from bookings ).
    As you're using only the COUNT aggregation expression int the subquery, a GROUPING is not necessary.
    Regards

  • Transform not being executed

    Hi,
    I have a mapping as shown here:
    http://sourcebase.sourceforge.net/iviewcapture_date_12_05_2004_time_18_55_52.png
    It is a fairly simple one: there is a main table BC_DEPT from where I'm populating the ODS_DEPT table, and there is a delta table D_BC_DEPT from where I need to get the maximum watermark value and call a package procedure called SET_WATERMARK with this as the parameter.
    The problem is that the procedure SET_WATERMARK is not being executed. I have checked in the debugger and the execution stops after output from the Aggregate operator. Plus, I searched for SET_WATERMARK in the generated mapping code and there is no reference to it in the code ! Executing the Main() procedure of the mapping also does not run this transform.
    The only significant thing about the transform procedure is that it is a synonym which points to the actual package in another instance over a DB link.
    Any help / pointers would be appreciated.
    Thanks in advance,
    Biswa.

    Yes, basically I want to call a procedure with the output of the AGG operator on a table. I ftransformations must have a output, how do I achieve this ? I have currently worked around it by creating an output table to store the output and then calling a wrapper procedure from the post mapping which reads the parameters from the table. But this seems a rather messy way to achieve something rather simple and obvious: read data from a table; do some stuff; call a procedure with the output !
    Can it be done in a simpler manner in this release ?
    Regards,
    Biswa.

  • Why is keyPressed() not being executed in this code..??

    HI,
    I am trying to develop a simple game program but what is banging my head is the keyPressed(KeyEvent evnt) is not being executed, i.e. the System.out.println("XXXX") inside this method is not being reached and hence shows no any output. Any suggestion would be appriciated. The code goes like this....
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.SwingUtilities;
    import javax.swing.Timer;
    import java.awt.event.*;
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.RenderingHints;
    import java.awt.geom.*;
    public class ArrowGame
      static GameField gfield;
      private static void createGUI()
        JFrame.setDefaultLookAndFeelDecorated(true);
         JFrame frame=new JFrame("Arrow Game");
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        gfield=new GameField();
         frame.getContentPane().add(gfield,BorderLayout.CENTER);
         frame.setVisible(true);
         frame.pack();
      public static void main(String args[])
        SwingUtilities.invokeLater(new Runnable()
           public void run()
             createGUI();
      static class GameField extends JPanel implements ActionListener, KeyListener, MouseListener
        Timer timer;
        int w,h;
         int arrowPos;
         double dynamicX=1.5;
         double ovalX;
         final double ovalY=2.0;
         final double ovalW=45.0;
         final double ovalH=45.0;
         double ovalXX=(ovalX+10);
         final double ovalYY=(ovalY+10);
         double ovalXXX=(ovalXX+10);
         final double ovalYYY=(ovalYY+10);
         private boolean shotTriggered=false;
        GameField()
           setPreferredSize(new Dimension(525,450));
           addMouseListener(this);
           addKeyListener(this);
         public void paintComponent(Graphics g)
           super.paintComponent(g);
          w=getWidth();
           h=getHeight();
           Graphics2D g2=(Graphics2D)g;
          g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);
           g2.setRenderingHint(RenderingHints.KEY_RENDERING,RenderingHints.VALUE_RENDER_QUALITY);
           g2.setColor(Color.darkGray);
           g2.fillRect(0,0,w,h);
           drawTarget(g2,w,h);
           drawArrow(g2,w,h);
         private void drawTarget(Graphics2D g2,int w,int h)
           ovalX+=dynamicX;
           ovalXX+=dynamicX;
           ovalXXX+=dynamicX;
           if (ovalX < 0 && ovalXX < 10 && ovalXXX < 20)
             ovalX=0;
              ovalXX=10;
              ovalXXX=20;
             dynamicX=1.5;
           else if (ovalX > (w-45) && ovalXX > (w-35) && ovalXXX > (w-25))
              ovalX=(w-45);
              ovalXX=(w-35);
              ovalXXX=(w-25);
              dynamicX=-1.5;
           g2.setColor(Color.green);
           g2.fill(new Ellipse2D.Double(ovalX,ovalY,ovalW,ovalH));
           g2.setColor(Color.blue);
           g2.fill(new Ellipse2D.Double(ovalXX,ovalYY,(ovalW-20),(ovalH-20)));
           g2.setColor(Color.red);
           g2.fill(new Ellipse2D.Double(ovalXXX,ovalYYY,(ovalW-40),(ovalH-40)));
         private void drawArrow(Graphics2D g2,int w,int h)
           arrowPos=w/2;
           g2.setColor(Color.white);
           g2.drawLine(arrowPos,((h/2)+175),arrowPos,h);
         public void keyPressed(KeyEvent evnt)
           int code=evnt.getKeyCode();
           System.out.println(code);
         public void keyTyped(KeyEvent evnt){}
         public void keyReleased(KeyEvent evnt){}
         public void mousePressed(MouseEvent evt)
           if (timer!=null)
             timer.stop();
              timer=null;
           else
             timer=new Timer(75,this);
             timer.start();
         public void mouseReleased(MouseEvent evt){}
         public void mouseEntered(MouseEvent evt){}
         public void mouseExited(MouseEvent evt){}
         public void mouseClicked(MouseEvent evt){}
         public void actionPerformed(ActionEvent event)
           repaint();
    };regards,
    Jay

      GameField()
        setPreferredSize(new Dimension(525,450));
        setFocusable(true); //<-----------------------------------------
        addMouseListener(this);
        addKeyListener(this);
      }

Maybe you are looking for

  • Error while deployingejb  jar file in weblogic 8.1

    Exception:weblogic.management.ApplicationException: prepare failed for testsix Module: testsix Error: Exception preparing module: EJBModule(testsix,status=NEW) Unable to deploy EJB: C:\bea\user_projects\domains\mydomain\applications\testsix.jar from

  • How to trace the changes done through transaction R3AC3

    Hello SAPheads Is there any table are any transaction through which i can trace the changes done through r3ac1,  r3ac3 , r3ac5 ? Thank you Somasundaram Ganesh

  • Major Template Problem

    Afternoon All We are currently redesigning our company website, and I've created a template in Dreamweaver. I've attached the code to this post. The only sections that we want to be editable are the page title and the main content area. I can apply t

  • Extracting an array element and index

    Greetings, I'm making a program to auto align a fiber cable to a waveguide. As of right now I'm only concerned with 2 axis. So I'm producing a table of 3 columns (X, Y, I) where "I" is my measured current based on how well my fiber lines up with my w

  • Release Strategy - class error

    Dear All I have defined release strategy in my client 100 same i have transport to 101 and checked in the same client its still working properly but when i transport the same in client 201, even though all the data is transported strategy is not work