SMII ต้น  (195 views)

 
SMII hasn't updated their status in a while...

Location

Thailand

Birthday

March 14
 
Advertisement

Info

http://novemarch.hi5.com - Send it to your friends

Birthday

March 14

Location

Thailand

 

About Me

hi5 Games

Play hi5 Games

SMII hasn't played any games recently.

 

Applications

Browse Applications

Viking Clan
Join forces with friends to wage war on rivals and seek glory through epic online battles. Underta...

 

hi5 Gifts

Give a Gift    Get hi5 Coins

SMII has no unwrapped gifts.
 

Fives

Give' em Five

Comments | View All Entries

Leave a comment for SMII

Nov 15 12:12 AM
 
ดีๆ

ทามรายยยยอยุ
ช่วงนี้มะค่อยได้ขับรถสวนทางกันเรยยนะ
 
Nov 10 6:18 AM
 
เฮ้ย

ทามรัยอยุ๋อ่ะ

เรียนหนักหรอ

ที่มข.เค้ารับปริญญาวันไหน

ถ้ารู้บอกด้วยนะ
 
Oct 8 10:17 AM
 
สอบเสดยัง
กลับบ้าน บ่ ??

^^
 
 
Aug 24 8:13 AM
 
บักหัวโต

หายไปไหนเนี่ย

ไม่เห็นหน้าค่าตาเลย
 
Aug 18 10:31 AM
 
ดีๆเพื่อนนอนดึกจังง่ะ
 
Aug 13 2:17 AM
 
//Simple ATM

package Chatchai.Khuphimai.Lab5;
/**
* @author Chatchai Khuphimai
* 513040481-1 Sec.1
*
* **/
import java.awt.*;
import javax.swing.*;

public class SimpleATM {
public static void addComponent(Container cp) {
cp.setLayout(new GridLayout(2,1));
JLabel name = new JLabel("Balance :");
JLabel amount = new JLabel("Amount:");
JTextField nameInput = new JTextField("10000",15);
JTextField amountInput = new JTextField(15);
nameInput.setEditable(false);
cp.add(name);
cp.add(nameInput);
cp.add(amount);
cp.add(amountInput);
}

public static void main(String[] args) {
JFrame frame = new JFrame("Simple ATM");//Title Bar
JPanel content = new JPanel();
addComponent(content);
JPanel buttonPane = new JPanel();
buttonPane.add(new JButton("Withdraw"));//Withdraw Button
buttonPane.add(new JButton("Deposit"));//Deposit Button
buttonPane.add(new JButton("Exit"));//Exit Button
frame.setLayout(new BorderLayout());
frame.add(content, BorderLayout.NORTH);
frame.add(buttonPane,
BorderLayout.AFTER_LAST_LINE);

frame.pack();
frame.setLocation(100, 100);
frame.setSize(300, 110);
frame.setVisible(true);



}

}
 
Aug 13 1:51 AM
 
//---------แลปวันนี้---------------//

package Khuphimai.Chatchai.Lab6;
/**
* @author Chatchai Khuphimai
* 513040481-1 Sec.1
*
* **/
import java.awt.*;
import javax.swing.*;

public class InformationForm {
public static void addComponent(Container cp) {
//----------------------Field Name & Lastname-----------------------//
cp.setLayout(new GridLayout(5,2)); //Set Grid : 5.2
JLabel name = new JLabel("Firstname : ");
JLabel amount = new JLabel("Lastname : ");
JTextField nameInput = new JTextField(15);
JTextField amountInput = new JTextField(15);
//----------------------Field Name & Lastname-----------------------//

//----------------------RadioButton [Gender]-----------------------//
JLabel label = new JLabel("Gender : ");
JPanel gender = new JPanel();
JRadioButton a = new JRadioButton("Male");
JRadioButton b = new JRadioButton("Female", true);
//----------------------RadioButton [Gender]-----------------------//

//----------------------CheckBox [Location]-----------------------//
JLabel lolabel = new JLabel("Location : ");
JPanel location = new JPanel();
JCheckBox c = new JCheckBox("Khonkaen", true);
JCheckBox d = new JCheckBox("Bangkok");
JCheckBox e = new JCheckBox("Chiang rai", true);
JCheckBox f = new JCheckBox("Chiang mai", true);
//----------------------CheckBox [Location]-----------------------//

//--------------Favorite Programming Languages--------------------//
JLabel plabel = new JLabel("Favorite Programming Languages : ");
JComboBox LangChoice = new JComboBox();
LangChoice.addItem("Java");
LangChoice.addItem("php");
LangChoice.addItem("C++");
LangChoice.addItem("C#");
LangChoice.setEditable(true);
//--------------Favorite Programming Languages--------------------//

cp.add(name);
cp.add(nameInput);
cp.add(amount);
cp.add(amountInput);

gender.add(a);
gender.add(b);
cp.add(label);
cp.add(gender);

location.add(c);
location.add(d);
location.add(e);
location.add(f);
cp.add(lolabel);
cp.add(location);

cp.add(plabel);
cp.add(LangChoice);


}

public static void addBottomComponents(Container cp){
cp.setLayout(new GridLayout(3,1)); //Set Grid : 3,1
JTextArea qoute = new JTextArea(6,15);
JScrollPane sp = new JScrollPane(qoute);


cp.add(sp);

}

public static void main(String[] args) {
JFrame frame = new JFrame("My nformation Form");//Title Bar
JPanel content = new JPanel();
addComponent(content);
frame.setLayout(new BorderLayout());
frame.add(content, BorderLayout.NORTH);
frame.pack();
frame.setLocation(250, 150);
frame.setSize(800, 500);
frame.setVisible(true);

}




}
 
Aug 13 1:51 AM
 
//------------แลปเดิม------------------//


package Chatchai.Khuphimai.Lab5;
/**
* @author Chatchai Khuphimai
* 513040481-1 Sec.1
*
* **/
import java.awt.*;
import javax.swing.*;

public class SimpleCalculator {
public static void addComponent(Container cp) {
cp.setLayout(new GridLayout(2,1));
JLabel name = new JLabel("X = ");
JLabel amount = new JLabel("Y = ");
JTextField nameInput = new JTextField(15);
JTextField amountInput = new JTextField(15);
//nameInput.setEditable(false);
cp.add(name);
cp.add(nameInput);
cp.add(amount);
cp.add(amountInput);
}

public static void main(String[] args) {
JFrame frame = new JFrame("Simple ATM");//Title Bar
JPanel content = new JPanel();
addComponent(content);
JPanel buttonPane = new JPanel();
buttonPane.add(new JButton("+"));
buttonPane.add(new JButton("-"));
buttonPane.add(new JButton("*"));
buttonPane.add(new JButton("/"));
frame.setLayout(new BorderLayout());
frame.add(content, BorderLayout.NORTH);
frame.add(buttonPane,
BorderLayout.AFTER_LAST_LINE);

frame.pack();
frame.setLocation(100, 100);
frame.setSize(300, 110);
frame.setVisible(true);





}

}
 
Aug 11 11:11 AM
 
ทำรายยยย

ที่ไหน


ยังไง

ไม่นอนอิก
 
Aug 4 10:44 AM
 
เม้นเว้ยเม้น

เม้นหาเพื่อนมั่งดิ๊ ชิ
 
Jul 31 10:20 AM
 
เฮ้ เมิง

หายเงียบ เรย แสสส
 
Jul 26 9:58 AM
 
อ้าวมึงไม่อ่านหนังสือนิคืนนี้

ไอ้คนขยัน
 
Jul 26 9:53 AM
 
คนมองโลกในมุมแคบก้อเป็นอย่างนี้แหละ


ไม่เป็นไรกูให้อภัย
 
Jul 23 10:20 PM
 
กูก้อขยัน

แต่แบ่งเวลาเป็น

เค้าเรียกว่าคนมีความรับผิดชอบว่ะ

555
 
Jul 22 10:05 AM
 
มึงหนิไม่เคยทักทายเพื่อนเลยเนอะ


โทสับกูหายวะ

แต่กูใช้เบอร์เดิมแหละ

บอกพวกไอ่เจมไอ่เอกโทหากูด้วยเด้อ
 
Jul 17 9:17 PM
 
เพื่อนๆที่วิ'ลัยนี้บายดี
 
Jul 16 9:18 AM
 
บ่ ซำ บาย เท่า ไหร่


เค้า เปน หวัด 2009 อ่ะ


แต่ ตอนนี้ ก็ โอ แหละ


แฮะ ๆๆ ^^'

แก ล่ะ เปน งัย ??

จะสอบ ยัง ??

เค้า สอบ อาทิด หน้า ล่ะ

หนัง สือ ยัง ไม่ได้ อ่าน เร้ย T^T'
 
Jul 16 6:09 AM
 
D จ้า

ที่ ขอนแก่นมะเปง H1N1เหรอ

ที่โคราชระบาดมากมาย

ฝากคริสถึง P'สาวคนสวยด้วยนะ

คงเรียนหนักล่ะซิ

ดูแลสุขภาพด้วย
 
Jul 14 8:54 PM
 
ดี ต้น
บายดีป่าว

สอบวันไหนอะ

Title
body