Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

/*

* To change this license header, choose License Headers in Project Properties.

* To change this template file, choose Tools | Templates

* and open the template in the editor.

*/

package Balok;

import javax.swing.JFrame;

/**

* @author sptha

*/

public class TampilBalok {

public static void main(String[] args) {

JFrame frame = new JFrame();

frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

Balok Kotak = new Balok();

frame.add(Kotak);

frame.setSize(1000, 1000);

frame.setVisible(true);

You might also like