| Importing MaxBase beans into VisualAge for Java Start VisualAge for Java, and create a new project (or use an existing one if you need MaxBase there). Select the project and choose "import" from the File menu, or right click on a project and choose "import" from the context-sensitive menu. A SmartGuide will appear. Choose "import from JAR file" from the radio button list, and browse your way to the MBASE.JAR file you found in the original MaxBase distribution file. Click on "finish" when you are done, making sure (by looking at the radio buttons settings) you are importing class files and resources. Visual Age for Java will then start importing the classes and resources inside the JAR, and it will take a while. When the import process will be completed, a new dialog window will pop up, asking where to store the beans. Choose a category, or create one (e.g. named MaxBase Beans), and click on 'Ok'. Your MaxBase Java Beans are ready for use! Congrats! NOTE: A number of packages will be added to the chosen project, such as com.ibm.widget, nrio, netrexx etc: this is normal, since MaxBase is a fairly complex Java Bean, and uses other JavaBeans and classes. |