Visual Programming - Event Handling Examples

Event Handling Example....
This code will change the messages of a button after it was clicked

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package latihan6;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
/**
 *
 * @author ASUS N43S
 */

Visual Programming - Grid Bag Layout


Thanks to my friend for the frame.pack (); it's very useful when calculating the size was a problem......