Welcome to Abdul Malik Ikhsan's Blog

LookAndFeelDecorated

Posted in Tutorial Java by samsonasik on March 6, 2007

import javax.swing.*;

public class MyContainer{
public static void main(String args[]){
/*mengeset Dekorasi window */

JFrame.setDefaultLookAndFeelDecorated(true);
JFrame container=new JFrame(“Window cakep”);

container.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
container.setSize(300,100);
container.setLocation(200,200);
container.setVisible(true);
}
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: