You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "Enteroctopus-double (via GitHub)" <gi...@apache.org> on 2025/11/25 11:26:41 UTC

[I] GUI-Editor Properties [netbeans]

Enteroctopus-double opened a new issue, #9040:
URL: https://github.com/apache/netbeans/issues/9040

   ### Apache NetBeans version
   
   Apache NetBeans 28
   
   ### What happened
   
   There is no way to set/get/asset the same EventName in Netbeans 25.
   
   Pointing all the time around with inner functions to another grouped seq is for the most common little things a detour.
   
   As well by reminding in code-view that this is a function in the gui-change-thread ... so a notice or a most unneeded try{...}  the EventQueue to don't get frusted by not noticing that this is a event-seq.
   
   
   
   ### Language / Project Type / NetBeans Component
   
   AWT/Swing...GUI-Editor
   
   ### How to reproduce
   
   Try to point two diffrent events (focusgained, mouseover) to the same eventListenerFunction.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 24 or earlier
   
   ### Operating System
   
   omg ... Java is also a VM...so...also...
   
   ### JDK
   
   11 and 24
   
   ### Apache NetBeans packaging
   
   Apache NetBeans platform
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] GUI-Editor Properties [netbeans]

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #9040:
URL: https://github.com/apache/netbeans/issues/9040#issuecomment-3576804956

   This makes no sense. For your example:
   
   > Try to point two diffrent events (focusgained, mouseover) to the same eventListenerFunction.
   
   The two event listeners have nothing in common. `focusgained` receives a `FocusEvent` and `mousemoved` (there is no `mouseover`) receives a `MouseEvent`. You can assign the same listener as long as the signatures are identical. See this example:
   
   <img width="538" height="515" alt="Image" src="https://github.com/user-attachments/assets/ad204eab-21c4-4144-a391-c11cf8e1426f" />
   
   Here 9 events are handled by two callbacks.
   
   The code that rejects your selection is here:
   
   https://github.com/apache/netbeans/blob/d34a6fe5ed993b2c0b9c7faffc4490132bdb2c03/java/form/src/org/netbeans/modules/form/FormEvents.java#L323-L349
   
   - Types of the parameters of the listeners
   - Return type of the listener
    
   must be equal.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] GUI-Editor Properties [netbeans]

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing closed issue #9040: GUI-Editor Properties
URL: https://github.com/apache/netbeans/issues/9040


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists