{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Adding A Window Walkthrough","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"adding-a-window-walkthrough","__idx":0},"children":["Adding A Window Walkthrough"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"adding-a-topcomponent-window-walkthrough","__idx":1},"children":["Adding a TopComponent Window Walkthrough"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"reviewing-dependencies","__idx":2},"children":["Reviewing Dependencies"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The creation of a window module requires two INT modules that are part of the INTViewer platform:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["IntviewerCore"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Utilities API (provided with Netbeans)"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/intviewer/intviewer-platform-and-modules"},"children":["list of INTViewer modules"]}," to load the INTViewer platform and for a description of each module."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The window created will be a NetBeans \"TopComponent\" that is meant to be along the desktop area. For a window inside the desktop area, follow this ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/intviewer/intviewer-tutorial/using-intviewer-components-walkthroughs/implementing-a-window"},"children":["other tutorial"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"creating-your-module-template-using-netbeans-wizard","__idx":3},"children":["Creating your module template using NetBeans wizard"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["File -> New Project"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the New Project wizard select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["NetBeans Modules"]}," from the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Categories"]}," list and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Module"]}," from the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Projects"]}," list and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next >"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project Name"]},", specify ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["mydemowindowmodule"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select option ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Standalone Module"]}," and make sure to specify the INTViewer platform in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["NetBeans Platform"]}," field."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next >"]}," and specify com.mycompany.myviewer.",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["mydemowindowmodule"]}," for the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Code Name Base"]}," and ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["MyDemoWindowModule"]}," for the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Module Display Name"]},"."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click on ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Finish"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Projects"]}," tree view, you should see your project which includes a number of files that have been created for you."]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"configuring-your-module","__idx":4},"children":["Configuring your Module"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Projects"]}," tree, right click on the module ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MyDemoWindowModule"]}," and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Properties"]}," from the list."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Categories"]},", select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Libraries"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Java plaform"]}," ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["JDK1.7"]}," . If you don't see this option, you will need to install jdk1.7 and load it into NetBeans using option ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tools->Java Platforms"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click on the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add"]}," button next to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Module Dependencies"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the list, select ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["IntviewerCore"]}," and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OK"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add"]}," again,select ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Utilities API"]}," and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OK"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OK"]}," in Project Properties Dialog"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"creating-your-window-component","__idx":5},"children":["Creating your Window Component"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Projects"]}," tree view, expand the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Source Packages"]}," tree."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Right click on ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MyDemoWindowModule"]}," and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New->Window Component..."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the wizard, select ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["tools"]}," for the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Window Position"]}," (window positions are explained ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/intviewer/intviewer-apis-for-windows/creating-a-topcomponent-window"},"children":["here"]},")"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DO NOT CHECK ANY OF THE OTHER TOGGLES AT THIS STAGE"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next >"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Specify ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["MyDemoWindow"]}," for the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Class Name Prefix"]}," and select com.mycompany.myviewer.mydemowindowmodule as Package."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click Finish."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Wizard creates a number of files and opens automically the ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["MyDemoWindowTopComponent.java"]}," file in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Design"]}," mode."]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"running-your-window-component","__idx":6},"children":["Running your Window Component"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click the green arrow in the Netbeans toolbar to run your customized INTViewer. Your component should be available from the Window menu of your customized INTViewer."]}]},"headings":[{"value":"Adding A Window Walkthrough","id":"adding-a-window-walkthrough","depth":1},{"value":"Adding a TopComponent Window Walkthrough","id":"adding-a-topcomponent-window-walkthrough","depth":2},{"value":"Reviewing Dependencies","id":"reviewing-dependencies","depth":3},{"value":"Creating your module template using NetBeans wizard","id":"creating-your-module-template-using-netbeans-wizard","depth":3},{"value":"Configuring your Module","id":"configuring-your-module","depth":3},{"value":"Creating your Window Component","id":"creating-your-window-component","depth":3},{"value":"Running your Window Component","id":"running-your-window-component","depth":3}],"frontmatter":{"title":"Adding A Window Walkthrough","pageId":"intviewer-tutorial/using-netbeans-swing-components-walkthroughs/adding-a-window-walkthrough","seo":{"title":"Adding A Window Walkthrough"}},"lastModified":"2026-10-22T14:32:05.578Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/intviewer/intviewer-tutorial/using-netbeans-swing-components-walkthroughs/adding-a-window-walkthrough","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}