Java Reference
In-Depth Information
Figure 4-9.
4.
At the bottom of the Design pane, click the maximize pane arrow (the arrowhead with a
line across the top) to display the source code.
VE generated some comments but the following is the generated source code:
package c4;
import java.awt.Dimension;
import java.awt.Color;
import java.awt.Label;
import java.awt.Rectangle;
import java.awt.Point;
public class EmployeeFrame extends UsefulFrame {
private Label nameLbl= null ;
public EmployeeFrame() {
super ();
initialize();
}
private void initialize() {
nameLbl= new Label();
nameLbl.setText("Label");
nameLbl.setLocation( new Point(80, 200));
nameLbl.setSize( new Dimension(150, 20));
 
Search WWH ::




Custom Search