MS Visual Basic like Development Style

CockTail now provides an easy VB like UI and Development Style for the Visual Basic Developers who wish to switch to Java.

Property sheet and the Component Toolbar are similar to that of Microsoft's Visual Basic. The developer has to select the component in the Toolbar and place it in the preview window (similar to VB Form).
 


Visual Basic Toolbar


Development in MS VB Style - Add components to the Preview Form directly using the VB Toolbar

  1. Create a New Cocktail Object
  2. Add a JFrame as the first object
  3. Change its layout to Null
  4. Add a JPanel as the first child of the jframe
  5. Change its layout to Null
  6. Resize the JPanel to cover the full area of the frame
  7. Select a Component in VB toolbar and add it to the preview form
Note that the above steps have to be performed exactly in the sequence mentioned. Otherwise exceptions would rise

or

Open the VB Templates from the VBproject directory.

Invoke the VB Toolbar and start adding components.

Note : While adding components from The VB ToolBar Select The Container in which you would like to add components in the Design Tree.