java - How to update a component in one window from another window in Netbeans Platform? -
i'm new netbeans platform. here i'm trying do, have 2 windows, 1 main window 'editor' , second 1 'explorer' window jtree component in it. every time add new item database, want add node jtree component in explorer window ! trying find way call updater method main window, far no luck ! both windows located in same module , same package ! there way can ?
in netbeans platform applications use lookup api communicate between topcomponents/ modules.
http://netbeans.dzone.com/news/top-10-netbeans-apis-part-2
http://netbeans.org/kb/trails/platform.html
i recommend read netbeans platform book basics.
Comments
Post a Comment