How to register mouselistener for custom class?

i m trying to create a custom class (extending java.awt.Rectangle)which responds to mouse gestures.
i m using it as an object on my drawpad which responds to mouse behavior
like rollover.
the rollover color change is achieved using canvas' graphics object triggerd by my cutom class
i m not able to register a mouseevent for the custom class.
can someone help me in achieving this?
thanks in advance
z_idane

Something like this? Don't think I'd be likely to extend Rectangle, myself, but anyway...
public class HotSpot extends Rectangle implements MouseMotionListener
    private boolean hover = false;
    // add constructors to taste
    public void mouseMoved(MouseEvent e)
        if (this.hover != (contains(e.getX(), e.getY())
            this.hover = ! this.hover;
            if (this.hover)
                // "mouse enter" code here
            else
                // "mouse exit" code here
    public void mouseDragged(MouseEvent e)
}Obviously you'd need something like this elsewhere,
myDrawingPad.addMouseMotionListener(new HotSpot(...));

Similar Messages

  • How to create IDOC for customer defined table

    hi,
    How to create IDOC for customer defined table Records and how to send this IDOC to target system.
      what message type will be used and on receiving system how to post these records.
      thankx.
      pillac.

    Hi,
    You need to create a custom message type and custom IDOC type for this with whatever fields you want send. You need to create segments (WE30), IDOC type (WE30), Message types (WE81) and assign the message type to the IDOC type (WE82).
    You will have trigger the IDOC using a Report or something after doing the partner profile settings.
    Similary in the target system also, you will have do all the settings.
    Take a look the links to find out what settings needs to be done.
    http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
    http://www.sappro.com/downloads/OneClientDistribution.pdf
    Regards,
    Ravi
    Note : Please mark the helpful answers and close the thread if the issue is resolved.

  • How to write comments for a class

    hi
    how to write comments for a class

    I'm reeling with incredulity, and as such am unable to do anything except just post some code
    // this is a single line comment
    /* this is a multiline comment.
        it can be spread over as many lines as you
        want */Or are you asking about how to decide what the content should be?

  • How to create iView for customized master head war ?

    Hi,
    I deployed customized masterhead war file. But i cant see deployed war in portal application location.
    Anyone help me for customizing and masterhead page and how to create iView for customized master head...

    Hi,
    1. You can see the deployed application under the "Portal Applications"
    2. If you want to create an iView out of it. right click on the application -> copy. than press right click in the folder you want the iView will be created and paste ad pcd object.
    Hope I helped you.
    Ronny.

  • Unicode issue for custom CLASS

    Hi Experts,
    we have a custom CLASS 'Z_ADD_INN_SALES' as part of unicode conversion i have corrected all the unicode compliants found in the UCCHECK transaction associated with the CLASS and also marked unicode check in the properties of the class. But still it is saying it is not compatible for unicode. I am not able to activate the object because of this error. Kindly let me know whether i need to do any thing else which i have missed for unicode check.
    Regards,
    Ram

    Hello Ram
    Apparently there is a coding-related Unicode error in the class. Check it with UCCHECK and analyze the error message.
    For more details refer to:
    [ABAP and Unicode|http://help.sap.com/saphelp_nw04/helpdata/en/62/3f2cadb35311d5993800508b6b8b11/content.htm]
    Regards
      Uwe

  • Custom events for custom classes

    So what I'm trying to build is a custom class wich connects
    to a php socket server using an XML socket.
    I don't know how I can broadcast an event so I can write
    something like the code below. Anyone can help ?

    To be more specific my class looks something like this
    :

  • How to Create Correspondance for Customer Statement

    Hi Gurus,
    my client is asking for customer statement.How to create correspondance for that.i dont want to use standard one.initially i tried with standard one,but it is giving the heading as open items instead of customer statement.
    what should i do.Kindly help me
    Thanks
    Prathima

    Prathima,
    While we all agree that SAP's in-app help could do with a lot of improvement, however there's no shortage in terms of volume and coverage. Have you cared to perhaps look at [SAP Online Help|http://help.sap.com]?
    Here's a little something to get you started. Have a look [here|http://help.sap.com/saphelp_erp60_sp/helpdata/en/01/a9cf0d455711d182b40000e829fbfe/frameset.htm] and [here|http://help.sap.com/saphelp_erp60_sp/helpdata/en/01/a9cf0d455711d182b40000e829fbfe/frameset.htm].
    Under IMG, the path is Financial Accounting --> Financial Accounting Global Settings --> Correspondence.
    This should be enough to get you started to forage on your own.
    Happy Learning!
    Regards
    Gulshan

  • Need Advice on How To / Recommended App. for Custom "Word of the Day" Screensaver

    I really like the “Word of the Day” screensaver that comes with OS X 10.8 Mountain Lion.  I would like to either 1.) customize this screensaver with my own dictionary OR 2.) identify an app that I could purchase / download which would allow me to create my own custom “Word of the Day” screensaver. 
    Does anyone have advice on how I can create a custom “Word of the Day” screensaver using my own dictionary?
    Any advise would be greatly appreciated!

    Thank you!
    If you have time for just a couple more questions.  The ultimate goal is have my new flash files in a version (as3) so they can be used as android, html5 and iOs products.
    So would the steps be these?
    Install cs6
    Open SWF files that were created in as2
    (I am assuming by doing this, all the assets will end up in the library which is currently not happening when I import the swf files into Flash CC)
    So now I have the old swf files open in a version of flash that works in as2.
    I understand that as2 is not fully convertible to as3.  But assuming I want to use the assets (graphics and audio) to recreate the animations in as3 can I then save the as2 file as as3 so it would then work with AIR?
    Thanks again?

  • Where to set the classpath for custom classes in jsp

    Hi,
    we have created our custom classes in and ported in contentDB and that classes are internally using some jar files. Previously we have set the classpath of all the jar files provided in CDB devkit in the orion-web.xml but if are opening the explorer.jsp or any other jspx of contentDB we are getting the classcastexception and page is not opening.
    Is there any problem in setting the classpath. Please if any one knows abt this, reply as soon as possible.
    thanks,
    swapna soni.

    I think it is Oracle 10g Release 2... since when I click the top OAS link in the Enterprise Manager Console, it took me to 'Enterprise Manager 10g Grid Control Release 2' this page.
    And...10g Application Server Control Release 10.1.2.0.1, I think 2.0.1 means Release 2.
    Thanks and let me know if you need something else.

  • How to upload data for custom infotype

    Hi  Friends
    Can we use HR_INFOTYPE_OPERATIONS   FM  for custom infotype too  or is there other way or other Standard FM to upload data for custom infotype  starting with 9000..etc.
    Points will be there for sure.
    Thanks
    Meeta & Roopa

    Thanks for quick response.
    my qns is can we use Standard FM like HR_INFOTYPE_OPERATIONS  for custom infotype too ?
    in my requirment  input will come from portal form and in background  Java Wd is going to use these FM  but i have this big  doubt can we use these standard FM for  uploading data in custom infotype as well or else is there any other way.. but for sure we can't use BDC and LSMW in this requirement .
    Thanks Meeta & Roopa

  • Error while registering plugin for custom schedule task

    Hello,
    I am trying to register a plugin for creating a custom scheduled task. I have referred to the document
    http://docs.oracle.com/cd/E23943_01/doc.1111/e14309/refsched.htm
    Followed the below steps-
    1. Updated the task.xml as below taken from MDS database
    <task>
    <name>AC Target Source Reconciliation</name>
    <class>com.cgc.iam.customconnector.ac.ReconACTarget</class>
    <description>This schedule task reconciles the active users from AC to OIM. This is a one time initial recon</description>
    <retry>0</retry>
    <parameters>
    <string-param required="true" helpText="IT Resource">IT Resource</string-param>
    <string-param required="true" encrypted="false" helpText="FileName">FileName</string-param>
    <string-param required="true" helpText="Admin">Admin</string-param>
                   <string-param required="true" helpText="AdminPassword">AdminPassword</string-param>
    <string-param required="true" helpText="ConfigurationLookup">ConfigurationLookup</string-param>
                   <string-param required="true" helpText="FilePath">FilePath</string-param>
                   <string-param required="true" helpText="ResourceObject">ResourceObject</string-param>
    </parameters>
    </task>
         <task>
    <name>ACRoleReconTask</name>
    <class>com.cgc.iam.customconnector.ac.ReconACRoles</class>
    <description>This scheduled task will reconcile the ACGroups and AC Roles from a csv file that is stored at a shared location</description>
    <retry>0</retry>
    <parameters>
    <string-param required="true" helpText="Admin">Admin</string-param>
                   <string-param required="true" helpText="AdminPassword">AdminPassword</string-param>
                   <string-param required="true" helpText="FilePath">FilePath</string-param>
    <string-param required="true" helpText="GroupLookup">GroupLookup</string-param>               
    <string-param required="true" helpText="RoleLookup">RoleLookup</string-param>               
                   <string-param required="true" helpText="GroupTableName">GroupTableName</string-param>
                   <string-param required="true" helpText="RoleTableName">RoleTableName</string-param>
    </parameters>
    </task>
    2. Imported the task.xml into MDS.
    3. created the plugin.xml as below-
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <plugins pluginpoint="oracle.iam.scheduler.vo.TaskSupport">
    <plugin pluginclass= "com.cgc.iam.customconnector.ac.ReconACTarget" version="1.0.1" name="scheduler element"></plugin>
    <plugin pluginclass= "com.cgc.iam.customconnector.ac.ReconACRoles" version="1.0.1" name="scheduler element">
    </plugin>
    </plugins>
    </oimplugins>
    3. created the plugin.zip with the folder structure as-
    plugin.zip
    plugin.xml
    lib
    jar files
    4. set ant properties
    5. run the command
    java -jar ../../../modules/com.bea.core.jarbuilder_1.7.0.0.jar
    4. registered plugin using ant utility.
    Now, I am getting the below exception-
    oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTargetException
    Please help.
    Thanks
    sjit

    [echo] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    [echo] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    [echo] at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    [echo] Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
    [echo]
    [echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    [echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    [echo] at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    [echo] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    [echo] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    [echo] at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    [echo] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    [echo] at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
    [echo] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
    [echo] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
    [echo] at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
    [echo] at oracle.jdbc.driver.UpdatableResultSet.executeInsertRow(UpdatableResultSet.java:8630)
    [echo] at oracle.jdbc.driver.UpdatableResultSet.insertRow(UpdatableResultSet.java:6428)
    [echo] at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_UpdatableResultSet.insertRow(Unknown Source)
    [echo] at oracle.iam.platform.pluginframework.DBStore.updatePluginTable(DBStore.java:395)
    [echo] at oracle.iam.platform.pluginframework.DBStore.storePlugins(DBStore.java:193)
    [echo] at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPluginAndReturnStatus(PluginManagerImpl.java:90)
    [echo] at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPluginAndReturnStatus(PlatformServiceImpl.java:106)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [echo] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [echo] at $Proxy735.registerPluginAndReturnStatus(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    [echo] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    [echo] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [echo] at $Proxy734.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
    [echo] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
    [echo] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    [echo] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    [echo] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    [echo] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    [echo] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    [echo] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    [echo] ... 3 more
    [echo] Exception in thread "Main Thread" oracle.iam.platform.pluginframework.PluginStoreException: An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
    [echo]
    [echo] at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
    [echo] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    [echo] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_1036_WLStub.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    [echo] at $Proxy2.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformServiceDelegate.registerPluginAndReturnStatus(Unknown Source)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    [echo] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    [echo] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    [echo] at weblogic.security.Security.runAs(Security.java:41)
    [echo] at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    [echo] at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    [echo] at $Proxy3.registerPluginAndReturnStatus(Unknown Source)
    [echo] at oracle.iam.platformservice.utils.PluginUtility.registerPluginAndReturnStatus(PluginUtility.java:279)
    [echo] at oracle.iam.platformservice.utils.PluginUtility.main(PluginUtility.java:219)
    [echo] Caused by: oracle.iam.platform.pluginframework.PluginStoreException: An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
    [echo]
    [echo] at oracle.iam.platform.pluginframework.DBStore.storePlugins(DBStore.java:222)
    [echo] at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPluginAndReturnStatus(PluginManagerImpl.java:90)
    [echo] at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPluginAndReturnStatus(PlatformServiceImpl.java:106)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [echo] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [echo] at $Proxy735.registerPluginAndReturnStatus(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    [echo] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    [echo] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [echo] at $Proxy734.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
    [echo] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
    [echo] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
    [echo] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    [echo] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    [echo] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    [echo] at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    [echo] Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
    [echo]
    [echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    [echo] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    [echo] at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    [echo] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    [echo] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    [echo] at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    [echo] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    [echo] at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
    [echo] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
    [echo] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
    [echo] at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
    [echo] at oracle.jdbc.driver.UpdatableResultSet.executeInsertRow(UpdatableResultSet.java:8630)
    [echo] at oracle.jdbc.driver.UpdatableResultSet.insertRow(UpdatableResultSet.java:6428)
    [echo] at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_UpdatableResultSet.insertRow(Unknown Source)
    [echo] at oracle.iam.platform.pluginframework.DBStore.updatePluginTable(DBStore.java:395)
    [echo] at oracle.iam.platform.pluginframework.DBStore.storePlugins(DBStore.java:193)
    [echo] at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPluginAndReturnStatus(PluginManagerImpl.java:90)
    [echo] at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPluginAndReturnStatus(PlatformServiceImpl.java:106)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [echo] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    [echo] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [echo] at $Proxy735.registerPluginAndReturnStatus(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    [echo] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    [echo] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    [echo] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [echo] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [echo] at $Proxy734.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
    [echo] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginAndReturnStatusx(Unknown Source)
    [echo] at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
    [echo] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    [echo] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    [echo] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    [echo] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    [echo] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    [echo] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    [echo] ... 3 more
    [echo] classpath=/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/spring.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/jakarta-commons/commons-logging.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-context.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-utils.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-auth-client.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-pluginframework.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/client/oimclient.jar:/users/oim/Oracle/Middleware/wlserver_10.3/server/lib/wlfullclient.jar:/users/oim/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar
    [echo]
    [echo]
    [echo] was_home=null
    [echo]
    [echo]
    [echo] client_home=null
    [echo]
    [echo]
    [echo] xl_home=null
    [echo]
    [echo]
    [echo] mw_home=null
    [echo]
    [echo]
    [echo] newClasspath=/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/spring.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/ext/jakarta-commons/commons-logging.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-context.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-utils.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-auth-client.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/platform/iam-platform-pluginframework.jar:/users/oim/Oracle/Middleware/Oracle_IDM1/server/client/oimclient.jar:/users/oim/Oracle/Middleware/wlserver_10.3/server/lib/wlfullclient.jar:/users/oim/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar.:/sample:null/ext/ojdbc14.jar:null/ext/ucp.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:null/lib/oimclient.jar:null/server/lib/wlfullclient.jar:null/ext/jakarta-commons/commons-logging.jar:null/ext/commons-logging.jar:null/ext/spring.jar:null/ext/spring.jar:null/server/lib/webserviceclient+ssl.jar:null/platform/iam-platform-utils.jar:null/server/lib/wlclient.jar:null/server/lib/weblogic.jar:null/platform/iam-platform-auth-client.jar:null/features/iam-features-system-configuration.zip:null/features/iam-features-identity.zip:null/features/iam-features-platformservice.zip:null/ext/log4j-1.2.8.jar:null/lib/XellerateClient.jar:null/lib/xlAPI.jar:null/lib/xlLogger.jar:null/lib/xlVO.jar:null/lib/xlUtils.jar:null/lib/xlCrypto.jar:null/lib/xlAuthentication.jar:null/lib/xlDataObjectBeans.jar:null/ext/oscache.jar:null/ext/javagroups-all.jar:null/lib/xlFvcUtil.jar:../../../iam/iam-lib/internal/jrf-api.jar:null/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar:null/ext/jrf-api.jar:null/oracle_common/webservices/wsclient_extended.jar:null/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar
    [echo] Error in registering the plugin. An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
    [echo]
    [echo] Error occured during the use of plugin registering utility. An error occurred while storing the plugin in store ORA-00001: unique constraint (DEV1_OIM.PLUGINS_UNIQUE_NAME) violated
    BUILD SUCCESSFUL
    Edited by: sjit on Nov 23, 2012 5:20 AM

  • How to override setText for custom JButton

    Hi
    From the Swings Hack book, I have the code for a custom JButton.
    I would like to setText for this button so that the text is set over the image on the button.
    Would someone know how I can do this?
    import java.awt.*;
    import javax.swing.*;
    public class ImageButton extends JButton {
        public ImageButton(String img) {
            this(new ImageIcon(img));
        public ImageButton(ImageIcon icon) {
            setIcon(icon);
            setMargin(new Insets(0,0,0,0));
            setIconTextGap(0);
            setBorderPainted(false);
            setBorder(null);
            setText(null);
            setSize(icon.getImage().getWidth(null),
                    icon.getImage().getHeight(null));
    }Thanks!

    Something like this should do it...
    import java.awt.*;
    import javax.swing.*;
    public class ImageButton extends JButton {
         private static final long serialVersionUID = 1L;
         public ImageButton(ImageIcon icon, String text) {
              setIcon(icon);
              setMargin(new Insets(0, 0, 0, 0));
              setIconTextGap(0);
              setBorderPainted(false);
              setBorder(null);
              setText(text);
              setSize(icon.getImage().getWidth(null), icon.getImage().getHeight(null));
    }Or just add a public setText() method accepting a String...

  • How to See logs for custom programs from without the logviewer in NWA

    Hello Experts,
    The JavaAS developers want to see the logs for their custom programs from without the logviewer in NWA.
    Do you have any experience or know of any reference materials to instruct them on where to write their logs, and how to configure NWA to see them?
    Thanks
    Jibin.

    Hello Jibin,
    Your developers should familiarize themselves with the Logging Framework of the J2EE Engine.
    Here is the guide:
    http://help.sap.com/saphelp_nw04/helpdata/EN/a2/15ab41d60bcb46e10000000a155106/frameset.htm
    If they use the Logging Framework you would be able to access the logs through NWA.
    Regards,
    Ventsi Tsachev
    Technology Development Support (J2EE Engine)
    SAP Labs, Palo Alto, Ca (USA)

  • How to improve performance for Custom Extractor in BI..

    HI all,
               I am new to BI and started working on BI for couple of weeks.. I created a Custom Extractor(Data View) in the Source system and when i pull data takes lot of time.. Can any one respond to this, suggesting how to improve the performance of my custom Extractor.. Please do the needfull..
      Thanks and Regards,
    Venugopal..

    Dear Venugopal,
    use transaction ST05 to check if your SQL statements are optimal and that you do not have redundant database calls. You should use as much as possible "bulking", which means to fetch the required data with one request to database and not with multiple requests to database.
    Use transaction SE30 to check if you are wasting time in loops and if yes, optimize the algorithm.
    Best Regards,
    Sylvia

  • How to register Plugin for Adobe Reader X (10.0)?

    Hi,
    I have received Adobe RIKLA license with digital certificate (.rc) and it's working fine in Adobe Reader 9. I used SignPlugin method register our Plugin with Adobe Certificate. My question is 'how to proceed for Adobe Reader X (latest version)?'. Please provide some pointer.
    Thanks in advance!

    Thanks Ironsenth, it worked for me in Adobe Reader X.
    But the problem is, my toolbar is appearing in Right-Hand side panel unlike Adobe Reader 9. How can I drag my toolbar in the proper position like Adobe Reader 9.

Maybe you are looking for

  • DBMS_DATAPUMP; how to get the log file of a job?

    Hi I want the user to be able to see the logfile of his job from another session. this is my procedure create or replace procedure get_job_log (p_job_name IN varchar2 ) is hdl_job  number; l_job_state     VARCHAR2 (20); l_status        sys.ku$_Status

  • Advice needed on the Drop-down box description.

    There are lots of postings on how to get the drop-down box working and there's even a How-to guide called Dropdown boxes. However, I have a field (defined using the AET tool) which has an Search help assigned, so the drop-down list is automatically d

  • BAPI/FM to Change Payment Terms ZTERM of FI Invoice

    Hi, I am trying to chnage Payment Terms(BSEG-ZTERM) using FM FI_DOCUMENT_CHANGE and FM FI_ITEMS_MASS_CHANGE but none of these FM is working. For FI_DOCUMENT_CHANGE it is giving error "You cannot change Payment Terms(ZTERM) and inFM FI_ITEMS_MASS_CHAN

  • IOS 8 PHOTOSTREAM   definitely not syncing properly

    PHOTOSTREAM   definitely not syncing properly between IMac (iPhoto) iPad iPhone.   There are many duplicates.  When deleted in one does not delete all, VIDEOS  THUMBNAILS MISSING   Only 6/7 video cover pictures are showing, (just the dates on the fro

  • Queries available in Production vs Query been used

    Dear All, We had collected the statistical data from ST03N and found that only 523 queries are been used,and when we seen in Metadatarepository there are 2000 queries active in our system, pls suggest what should we do wether we delete the queries wh