Java program

How to change the layout like the pictureabove.
package cal;
import java.awt.*;
import java.awt.event.*;
public class MyCalculator extends Frame {
public boolean setClear = true;
double number, memValue;
char op;
String digitButtonText[] = {“7”, “8”, “9”, “4”, “5”, “6”, “1”,”2″, “3”, “0”, “.” };
String operatorButtonText[] = {“/”, “*”, “-“, “+”, “=” };
String specialButtonText[] = {“<-“, “C”};
MyDigitButton digitButton[] = newMyDigitButton[digitButtonText.length];
MyOperatorButton operatorButton[] = newMyOperatorButton[operatorButtonText.length];
MySpecialButton specialButton[] = newMySpecialButton[specialButtonText.length];
Label displayLabel = new Label(“0”, Label.RIGHT);
Label memLabel = new Label(” “, Label.RIGHT);
final int FRAME_WIDTH = 325, FRAME_HEIGHT = 325;
final int HEIGHT = 30, WIDTH = 30, H_SPACE = 10, V_SPACE =10;
final int TOPX = 30, TOPY = 50;
///////////////////////////
MyCalculator(String
PayPal Gateway not configured
PayPal Gateway not configured