The following lessons show you how to use the Java WorkShop to build a calculator. The tutorial takes about one hour to complete. You should complete the lessons in the order in which they are presented.
Exercise 2: Starting the Layout shows how to set up the Gridbag Layout window, which helps you position components accurately within the calculator window. You will also learn how to edit a component's basic characteristics, such as background color.
Exercise 3: Adding Components shows how to select a component in the Visual Java palette and place it in the desired location in your application.