The Visual J++ Interface



Figure 1: 
 
Creating a New Project

Figure 1: Creating a New Project


Figure 2:   The Application Wizard

Figure 2: The Application Wizard


Figure 3:   A Form Based Application

Figure 3: A Form Based Application


Figure 4:   Adding Menu and Edit Controls

Figure 4: Adding Menu and Edit Controls


Figure 5:   Adding Comments

Figure 5: Adding Comments


Figure 6:   Packaging and Deployment Options

Figure 6: Packaging and Deployment Options


Figure 7:   Application Wizard Summary

Figure 7: Application Wizard Summary


Figure 8:   Visual J++ Development Environment

Figure 8: Visual J++ Development Environment


Figure 9:   Adding a New Item

Figure 9: Adding a New Item


Figure 10:   AboutBox

Figure 10: AboutBox


Figure 11   Delegate.java

/////////////////////////////////////////////////////////////////
//
// Delegate.java
//

delegate long intOp(int a, int b);

/**
 * Demonstrate the use of delegates (Java method pointers)
 * @author Jonathan Locke
 */

class DelegateTest
{
    long add(int a, int b) 
    {    
        return a+b; 
    }    

public DelegateTest()
{
        intOp op = new intOp(this.add);
        System.out.println("Result = " + op.invoke(10, 5));
    }

    public static void main(String[] args)
    {   
    new DelegateTest();
}
}

///////////////////////////////// End of File ////////////////////////////////