So i created a custom widget component in netbeans. The widget component has 5 buttons which when clicked I need it to send and even or message to the containing frame to call a specific function with parameters that the widget does not know about.
For example... the widget has a button called open. I want the the main frame to call widget.open(param1, param2). I am not sure what event to use to tell the frame to call that function. I tried to create a custom event, but I get lost after I create the event and the listener interface.
Tutorials on custom events with step by step guide would be great. I'm very visual and procedural so the more description would be excellent.
Thanks In Advance