A Groovy Kind of Love

It seems the way Groovy has been added to JDeveloper 11g's OC4J is causing us problems. I would guess it is a classloading issue. The Groovy jar is included in the BC4J/lb directory. As a result it seems unable to find our Groovy DSL classes unless we either,
- delete the Groovy jar file from the OC4J directory so that the Groovy jar file in our web-inf/lib directory gets picked up instead, or,
- put our classes in the BC4J/lib directory
I would imagine that either of these actions can only be a temporary circumvention until a cleaner solution is found.

Here's the test case
Step 1 - Write, compile and deploy your groovy Class, Date.groovy:
package com.mycorp.dsl
class Date
static public def today
static def getToday() {
return new java.util.Date()
Step 2 - Embed the code to run the Date groovy class from a Groovy script in a JSP:
<%@ page import="groovy.lang.GroovyShell"%>
<html>
<head>
<title>A Groovy Kind of Love</title>
</head>
<body>
<%
GroovyShell shell = new GroovyShell();
Object value = shell.evaluate("com.mycorp.dsl.Date.today");
out.println(value);
%>
</body>
</html>
This works if the Date.class file is in the BC4J/lib dir but we get this error if it is in the web-inf/lib dir
07/10/12 10:41:34.593 montecarlo_web: Servlet error
groovy.lang.MissingPropertyException: No such property: com for class: Script1
     at groovy.lang.MetaClassImpl.invokeMissingProperty(MetaClassImpl.java:565)
     at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1202)
     at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:2408)
     at groovy.lang.GroovyObjectSupport.getProperty(GroovyObjectSupport.java:36)
     at groovy.lang.Script.getProperty(Script.java:56)
     at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getGroovyObjectProperty(ScriptBytecodeAdapter.java:546)
     at Script1.run(Script1.groovy)
     at groovy.lang.GroovyShell.evaluate(GroovyShell.java:459)
     at groovy.lang.GroovyShell.evaluate(GroovyShell.java:434)
     at Example_default._jspService(_Example__default.java:48)
     at com.orionserver[Oracle Containers for J2EE 10g (11.1.1.0.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
     at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:748)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:439)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:706)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:627)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:118)
     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:613)
     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:362)
     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:915)
     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:821)
     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:599)
     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:383)
     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)
     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
     at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
     at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:878)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
     at java.lang.Thread.run(Thread.java:595)
Message was edited by:
thomasks

Similar Messages

  • Fill several fields based on selection in (some kind of) LOV

    In an application for registration of visitors I have to realize following functionality:
    - in the screen for insert of visits select an employee who will receive the visit from a (some kimnd of) List of Values
    - not only his name must then be filled in, but also the values for his email adress, phone number and room number out of the lookup table must be placed in the insert form. (it is denormalized, because the inserting user must be able to deviate from this.)
    The LOV's that Portal provides only make it possible to return only **one** value.
    Does anyone have an example how to realize something like this?

    Check the following link , you may get an idea to solve your problem
    mapping an EO to a view ?
    -Krishnamurthy

  • Lov iterator refresh issue

    HI friends!
    I'm using JDeveloper 11g
    I've got a problem with a lov attribute in my application.
    I need to implement the following scenario:
    I have an adf table Licence in my jsf page. One of the table columns includes a lov attribute which values must be selected from a list box (a list data source is LicenceProducer lov view object).
    If there is no required licence producer in the drop down list we can trigger a pop up dilaog (kind of lov dialog) and create a new one row in the data source iterator.
    Then the required attribute value of the newly created row must be passed to the list in the source jsf page and become a currently selected value for the lov attribute of the Licence VO.
    SO i've have implemented almost the whole scenario:
    1. created an appropriate lov attribute in Licence VO with LicenceProducer VO as a list data source
    2. created a bounded adf task flow which is resonsible for displaying the pop up lov dialog with all insert/commit/return new value functionallity.
    Everything works just greate except that the lov iterator is never refreshed after returning from the pop up dialog.
    The updated content of the list box is only seen after reloading the source jsf page. Setting partial page rendering (for the Licence adf table) on returning from the pop up dialog does't work.
    I saw a number of posts on this issue but never found any good solutions.
    I think that i must somehow get an access to the lov iterator (data source vo) wich is not the same as the base LicenceProducer view object and refresh it programmatically.
    PS. if i brought my issue in a not sufficiently clear way. please answer the quite simplier question. Is it possible somehow to add a lov functionallity with the possibility to add new rows into lov iterator?
    Thanks in advance. Alex.

    Thanks friends.
    It is so greate to see somebody notice your question and even have the similar problem.
    First to Paul
    1. Yes I have a model driven LOV, i.e. i defined the lov functionalty for the attribute in a VO.
    2. I'm using JDeveloper 11g as you might be using.
    3. Actually i'm afraid i have not fully understood your approach with a row impl class. AS i could notice there were no worthy changes added into the row impl class after i had redefined VO's attribute to use a lov view object.
    it would be greatly appreciated if you let me know more detail about your solution.
    By the way i have noticed one interesting thing as I was experimenting with my issue. It turned out that the lov iterator refreshes just excellent on returning from a pop up "manually created lov dialog" after i click a rollback button of the data control
    where the VO iterator containing the attribute with the lov functionalty exists. Give it a try and you'll see, no other standard operation button gives the same effect!!!!! I realized it accidentially myself.
    To Hasim
    if i understand you right your assumption is to refresh a row iterator which is the basis for the lov attribute and then refresh a page element where the lov attribute has been dropped?
    If so than i've tried it because this is the first thing comes into mind. But it doesn't work, i think that this basis iterator we select for the list of values of the required attribute in VO is not the same as a real list Datasource iterator...
    If i understood you wrong please give me know and explain please your approach. Your opinion is interesting for me.
    I address our experts ones again with a rather simplier question. Is it possible to create a model driven lov attribute where it would be possible to insert new rows into the list of values during the ongoing user session?
    Alex.

  • Extending LOV that is used in multiple places

    Hi,
    I am planning to extend organization VO in iRecruitment (vacancy creation) to restrict the LOV based on organization type. This LOV is very common and is using in multiple places in he application.
    I am new to this and i need to know that by extending such kind of LOV, will the affect appear on the whole application where this LOV is using or only at particular place ???
    Regards
    Ayaz

    Anoop,
    Responsibility : Recruiter Home
    Function : Vacancy Creation / Vacancy Search
    Page : /oracle/apps/irc/vacancy/webui/VacSrchPG.VacancySearchQuery.IRC_ORGANIZATIONS_LOV
    VO Name : oracle.apps.irc.lov.server.OrganizationsLovVO
    Is it possible to extend the VO so that it will affect on vacancy search page ONLY as i want to restrict the search on the basis of login in user organization id only.
    But while creating this will work as it is.
    Regards
    Ayaz

  • How to make some elements in LOV unselectable

    All,
    In Jdev 11.1.1.5 application how do i get this kind of LOV where the items in italic are not for selection
    India
    Mumbai
    Bangalore
    Chennai
    Delhi
    Pakistan
    Karachi
    Islamabad
    Lahore
    thnks

    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/47-select-one-choice-groups-169189.pdf to my rescue :)

  • LOV creation with UNION syntaxe

    Hello,
    I need a LOV like e.g.
    Select code, label from my_table
    UNION
    Select 10,'Label' from DUAL
    I don't know how to create this kind of LOV with Designer9i
    Thanks

    Hello,
    you should define your first table usage (my_table in your example) and then create a SQL Query Set for the second one (DUAL in your example).
    See Designer online help topic "SQL query sets" for more information.
    Regards,
    Didier.

  • New apple wireless keyboard & iPad 3 pairing question

    Bought a new Apple wireless keyboard this week. Had some trouble pairing with iPad 3. Took me 4-5 attempts but it finally paired successfully after 10-15 minutes. Question for all you gurus...  When the wireless keyboard arrived on Friday, I first paired it with my MacBook Pro. Could that have caused issues when I re-paired the wireless keyboard (today) with my iPad 3. And further, this will sound like a silly question, can the wireless keyboard be paired with two devices? I don't mean simultaneously. Does it screw up any settings to use the key board with separate devices/computers? Wondering -- if I keep my wireless keyboard at my office -- can I go to work with either my MBP or my iPad and simply use this one wireless keyboard? Or should each device have its own dedicated wireless keyboard? That seems redundant but I kind of love this keyboard already and would be willing to buy a second, if need be. Obviously, I don't want to spend extra money if it isn't necessary. Am I going to have to re-pair the keyboard and device each time I switch between the iPad and the MBP? Thanks all. You are always helpful and I appreciate it.

    Thanks for the quick reply Skydiver! So...I really should buy a second wireless keyboard so that I don't have to go through the hassle of re-pairing the keyboard when i switch devices, yes? Yes, I believe I've answered my own question as I now sit here with my MBP attempting to pair it to the keyboard. Oy. Taking forever. I don't mind buying a second -- for $69, it seems to be the most efficient thing to do. Now I just need to figure out a way to designate which wireless keyboard goes with which device. Time to buy a little sticker! Thanks again.

  • Can't get ActiveSync to work for Microsoft Outlook...

    My school email is through Microsoft Outlook and I would really like to sync it to my phone, however it wont let me. When I try it makes me do it the manual way then says my user name and/or password are wrong, I've checked multiple times and they aren't......any suggestions?? this is so frustrating.

    I have the same problem with my corporate email account.  Yet if I use Touchdown, I can get it to synch.  
    I am very satisfied with my Incredible, but my complaint is that I SHOULD NOT have to pay for an app to do the same thing that my phone should do natively.
    When the Droid X released with Active Synch issues, VZW/Motorola provided free licenses to use Touchdown to correct the issue until the fix could be rolled out.  Why can't we get that some kind of love for the Incredible users? 

  • Access programmatically view accessor

    hello,haw can i access programmatically view accessor of LOV in backing bean.

    Which jdev version do you use?
    What is your use case?
    What kind of LOV are you talking about?
    Timo

  • CHOOSE PRINTER

    Hi guys, I am creating an application with FORMS RUNTIME. Now, in one of my forms I need to create a button that pops up some kind of LOV or POPLIST or whatever it is, with the possible PRINTERS for the machine. Is there some sort of built in, ora an ADD ON..
    It would really be helpfull,
    Thanks.

    Hi,
    First off, please always indicate which version of Forms you're using, whether your forms are client/server or web-deployed, and the client OS. Someone else may have better suggestions, but here are a few ideas:
    If you are working with client/server forms on Windows, I would look into the possibility of calling EnumPrinters via ORA_FFI. If you are unfamiliar with the C language and/or the Windows API, this approach will make for a rough introduction.
    As an easier approach I would consider using a JavaBean. I quickly wrote the following bean that exposes one method -- getPrinterList( ). This method returns a semicolon-delimited list of all installed printers:
        import java.awt.print.*;
        import javax.print.PrintService;
        import oracle.forms.ui.VBean;
        public class PrinterEnumerator extends VBean {
          public String getPrinterList() {
            StringBuffer sb = new StringBuffer();
            PrintService[] ps = PrinterJob.lookupPrintServices();
            for (int i=0; i<ps.length; i++) {
              sb.append(ps[ i ].getName());
              sb.append(";");
            return sb.toString();
        }I'm not sure whether JavaBeans are an option for client/server forms, but I'm fairly certain that they are. The only catch here is that web forms provide a means for automatically copying beans over to the client PC -- client/server will most likely require you to make that happen.
    As for loading a poplist programmatically, see the Forms documentation.
    Sorry if these suggestions are a bit sketchy -- they should at least point you in the right direction.
    Hope this helps,
    Eric Adamson
    Lansing, Michigan

  • MacBook1,1 processor upgrade.

    Hello. I know that this is far fetched but I am remaining hopefull. I have a MacBook1,1 that has a 32-bit Intel Core Duo processor. I would like to update past Mac OS X 10.6.8 Snow Leopard but a 64-bit processor is required. is there any way to do this? I Know that the CPU (processor) is built into the motherboard so this could pose a problem. Is there a way to switch the 32-bit processor for any type of 64-bit processor? If I switched the motherboard with a new one would the computer recognize the changes but still know it's correct model & such? Would this cause the computer to become unstable? I also am comfortable working inside computers. I know that this is hard to understand but I don't want to buy a new computer. I am willing though to buy a broken one for parts. Thank you In advance for listening & answering my question!

    "if I could fit a newer motherboard into my MacBook, would it be unstable"
    No it would be stable.
    "would it still recognize the Model ID (MacBook1,1) and such?"
    No, it's like doing a brain transplant. The body would be the same ( Uhh, actually only 15% the same on later examination!) but the brain would know it was different. See because you changed the brain (CPU) it knows it's different (Core 2 Duo capable of running 64 bits) vrs the old brain (Core Duo limited to 32 bit).
    So in order to change the logic board from the early Core Duo to the Late 2006 Core 2 Duo the following items would have to be changed (Not a complete list.)
    Battery, RAM, RAM door, Lower case, logic board ( of course), heat sink, DC in board, fan, top case, display,.....Uh it would have been a shorter list to list what was the same. You could keep the back of the display case with the Apple logo on it but just about 85% of the rest of the computer would be new parts.
    See, that was a big jump to go from the Core Duo to the Core 2 Duo and that happened in the course of 6 months or so.
    So I totally understand your attachment to your MacBook. I picked up an old Bondi Blue iMac that was going for donation to a kindergarden. The first iMac ever one made and this older guy had had it for 7 years. He asked to have a few moments with his iMac and he sat with his arm around it for 5 minutes while I waited.
    When those iMacs went into the kindergarden the kids kissed and hugged them. You don't see that kind of love with Dell!
    I still have my MacIntosh SE 30 and my IIfx sitting in my closet. I've hauled them from Chicago to Idaho to Portland over the last 25 years. So yes I understand.
    Especially with the early iMacs. There were mods back then replacing the CRT with and LCD and putting an Intel Mini in place of the lower case.

  • The new Import Sequence feature causes Premiere Pro CC to CRASH!

    *** This was happening before the update, and the update to 7.01 has not fixed this issue.***
    I have a series of intros and end slates for a YouTube series.  I (kind of) love the new Import Sequence from Project feature, new in PPr CC.  But more often than not, trying to import a sequence from another project using the Media Browser causes Premiere to crash.  Can anyone else report whether this is NOT working for you, too.  I can imagine scenarios where you either don't use this feature, or haven't gotten around to it since the launch of CC. 
    Thanks in advance for anyone who is willing to test and verify whether this is a bug.
    Win7 64-bit
    ASUS g75vx Laptop
    i7-3630qm
    NVIDIA GTX-670mx, 3GB GDDR5
    16GB RAM

    Well, certainly one of my sequences (let's call it "A") always causes a crash.  Sequence B was NOT causing a crash last week.  Today sequence B started crashing (in 7.0).  So I updated to 7.01 and tried again.  Still crashing (always, now).  So I set out to create a new sequence C. 
    To create sequence C, I opened a successfully completed project from last week.  I Saved As... "New Opening Sequences".  Next, I cut away every sequence except for the sequence that holds the intro.  I did a Project > Remove Unused to get rid of all the footage, titles, etc.  Now I had a project that only contained Sequence C and it's linked media.  Nothing is offline.  Everything is in tact.
    Finally, I open the project I need to finish today.  I need to add the bumper to the front of the video.  So I navigate within the Media Browser to find the "New Opening Sequences" project.  I double click.  I get the yellow, dynamic link-like loading bar.  When the project media, bins and sequences appear, I double-click the sequence I want to impor.... KKKKKEHEHHE!!!  Crash.
    I'll restart to get you the exact error message...
    WOW!!!  I just left this window open to go get the exact error message for you.  I went through the same steps above.  It worked this time.  So to answer your question, Sequence C is also hit or miss.  This is the first successful attempt today (about 10 previous tries, restarts, etc).
    Definitely seems like a bug.  Can anyone else reproduce this crash?
    P.S. - Perhaps it's significant, perhaps not:  In all cases, A, B and C, these sequences have Dynamic Linked footage from After Effects (animations).  While they do have some live-action, they are primarily AE animations.  This may help you reproduce the crash.
    I'm also not running anything unusual.  Mainly the OS, a browser, Webroot SecureAnywhere (Anti-virus), Premiere.

  • I have a back up of the folder 'iTunes Media' on a Nas (LaCie CloudBox). I do a weekly update. Everything is cool.Now I would  love to keep the folder on the Nas and delete the one on my internal HD. What kind of trouble i may run into?

    I have a back up of the folder 'iTunes Media' on a Nas (LaCie CloudBox).
    I do a weekly update.
    Everything is cool.
    Now I would  love to keep the iTunes Mediafolder on the Nas and delete the one on my internal HD.
    What kind of trouble I may run into?
    Where are the hidden catches?
    What can go wrong, and how can i undo any mistake?
    I also have an iTunes Match acccount.
    Cheers
    rudy

    HI
    Read this user tip Make and keep a backup of your iTunes library, and only stream from the cloud.
    Problems? No hidden catches. Whilst streaming using match, you will need a wifi connection. You main worry is that if your NAS drives fails, you need to redownload your music from match but this could take time depending on how large your collection is. Personally I keep an additional backup of all my music as a matter of course.
    Jim

  • Is possible to have a script that makes a text randomly have caps and lower caps... i would love to create a kind of effect so it would look like manuscript - but it cannot be only the same letter in caps or lower caps - I wOuld NeEd oF SOmeTHing LikE Thi

    Is possible to have a script that makes a text randomly have caps and lower caps... i would love to create a kind of effect so it would look like manuscript - but it cannot be only the same letter in caps or lower caps - I wOuld NeEd oF SOmeTHing LikE This (random) - is it possibel?

    Hi,
    Sample with 2 regex:
    Launching the 1rst regex:
    Launching the 2nd regex:

  • How to create depedent lov using groovy functionality

    Hi,
    My requirement is need to create dependent LOV on form like, when ever user selects merchant_number, remaining merchant details should default, till now i am doing with valuechange listener. now i wanted to do on vo itself using groovy functionality. i have created merchant VO which is returning 4 values, merchant_number,name,phone,address. i have created view criteria with a bind variable.
    In my main vo i have created LOV for merchant_number. added the merchant vo as view accessor and set the bind variable value as merchant number. and with the merchant_name i am trying to setting as XxwfsMerchantDetailsLOV1.getMerchantName(). i am getting error like
    Exception in thread "AWT-EventQueue-0" oracle.jbo.JboException: JBO-29000: Unexpected exception caught: groovy.lang.MissingMethodException, msg=No signature of method: oracle.jbo.server.ViewRowSetImpl.getMerchantName() is applicable for argument types: () values: []

    hi,
    for creating LOV i don't have any issue, problem with defaulting the remaining fields. i am getting error like
    Exception in thread "AWT-EventQueue-0" oracle.jbo.JboException: JBO-29000: Unexpected exception caught: groovy.lang.MissingMethodException, msg=No signature of method: oracle.jbo.server.ViewRowSetImpl.getAttribute() is applicable for argument types: (java.lang.String) values: [MerchantName]
    at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:833)
    at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:868)
    at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:762)
    at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2029)
    at oracle.jbo.server.ViewRowStorage.initDefaultExpressionAttributes(ViewRowStorage.java:930)
    at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1154)
    at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:428)
    at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:445)
    at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:4915)
    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1843)
    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2368)
    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2409)
    at oracle.jbo.server.ViewRowSetImpl.createAndInitRow(ViewRowSetImpl.java:2374)
    at oracle.jbo.server.ViewObjectImpl.createAndInitRow(ViewObjectImpl.java:9684)
    at oracle.jbo.jbotester.NavigationBar.doInsertAction(NavigationBar.java:136)
    at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:109)
    at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:117)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6263)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6028)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4630)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2475)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

Maybe you are looking for