This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

The OSI Model

In 1984, the International Organization for Standardization (ISO) defined a standard, or set of rules, for manufacturers of networking components that would allow these networking components to communicate in dissimilar environments.This standard is known as the Open Systems Interconnect (OSI) model and is a model made up of seven layers.Each layer of the OSI model is responsible for a specific function or task within the stages of network communication. The seven layers of the OSI model, from highest to lowest, are application, presentation, session, transport, network, data link, and physical. Network communication starts at the application layer of the OSI model (on the sending system) and works its way down through the layers to the physical layer. The information then passes along the communication medium to the receiving computer, which works its way back up the layers starting at the physical layer. Figure 2-4 shows an example of packets being transmitted down through the OSI layers of the sending computer, across the medium, and back up the OSI layers on the receiving computer. Be sure to refer to this figure frequently when going through this section.

Each layer of the OSI model is responsible for certain functions within the process of sending data from one system to another. Each layer is responsible for communicating with the layers immediately above it and below it. For example, the presentation layer will receive information from the application layer, format
it appropriately, and then pass it to the session layer. As another example, thepresentation layer will never deal directly with the network or data link layers.

Let’s look at the layers from the point of view of two computers that will send data between each other: COMPUTER1 and SERVER1 are going to exchange data on the network. COMPUTER1 will be known as the sending computer, and SERVER1 will be known as the receiving computer, as shown in Figure 2-5.


The data exchange starts with COMPUTER1 sending a request to SERVER1. It is important to notice as you progress through the layers that whatever function is performed at a layer on the sending system must be undone at the exact layer on the receiving system. For example, if the presentation layer compresses the data on the sending system, the presentation layer will decompress the data on the receiving system before passing the data up to the application layer.

radio button in java

sobat kali ini saya akan share tutorial source code java yaitu radio button  ..

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class DemoRadioButton implements ItemListener {
  public JLabel label1, label2;
  public JRadioButton radioButton1, radioButton2, radioButton3;
  public ButtonGroup bg;

  public DemoRadioButton() {  
    label1 = new JLabel("IDE Java yang Anda sukai:");
    label1.setLocation(10, 10);
    label1.setSize(label1.getPreferredSize());
 
    label2 = new JLabel("Pilihan Anda: (belum ada pilihan)");
    label2.setLocation(10, 115);
    label2.setSize(label2.getPreferredSize());
  
    radioButton1 = new JRadioButton("Eclipse");
    radioButton1.setLocation(10, 25);
    radioButton1.addItemListener(this);
    radioButton1.setSize(radioButton1.getPreferredSize());
   
    radioButton2 = new JRadioButton("Netbeans");
    radioButton2.setLocation(10, 50);
    radioButton2.addItemListener(this);
    radioButton2.setSize(radioButton2.getPreferredSize());
   
    radioButton3 = new JRadioButton("JBuilder");
    radioButton3.setLocation(10, 75);
    radioButton3.addItemListener(this); 
    radioButton3.setSize(radioButton3.getPreferredSize());   
   
    // menentukan group dari semua item
    bg = new ButtonGroup();
    bg.add(radioButton1);
    bg.add(radioButton2);
    bg.add(radioButton3); 
  }

  public void createAndShowGUI() {
    JFrame.setDefaultLookAndFeelDecorated(true);
    JFrame frame = new JFrame("Demo JRadioButton");
    frame.setLayout(null);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.getContentPane().add(label1);
    frame.getContentPane().add(radioButton1);
    frame.getContentPane().add(radioButton2);
    frame.getContentPane().add(radioButton3);
    frame.getContentPane().add(label2);
 
    frame.setBounds(0, 0, 300, 200);
    frame.setLocationRelativeTo(null);
    frame.setVisible(true);
  }

  public void itemStateChanged(ItemEvent event) {
    JRadioButton rb = (JRadioButton) event.getSource();
    label2.setText("Pilihan Anda: " + rb.getText());  
  }

  public static void main(String[] args) { 
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
      public void run() {
        DemoRadioButton app = new DemoRadioButton();
        app.createAndShowGUI();
      }
    }); 
  }
}

Kisah Sukses Google


Dalam daftar orang terkaya di Amerika baru-baru ini, terselip dua nama yang cukup fenomenal. Masih muda, usianya baru di awal 30-an, namun kekayaannya mencapai miliaran dolar. Nama kedua orang itu adalah Larry Page dan Sergey Brin. Mereka adalah pendiri Google, situs pencari data di internet paling terkenal saat ini.

Terlepas dari jumlah kekayaan mereka, ada beberapa hal yang perlu dicontoh dari kisah sukses mereka. Satu hal yang pertama, yang disebut Sergey Brin, yang kini menjabat sebagai Presiden Teknologi Google, yakni tentang kekuatan kesederhanaan. Menurutnya, simplicity web adalah hal yang disukai penjelajah internet. Dan, Google berhasil karena menggunakan filosofi tersebut, menghadirkan web yang bukan saja mudah untuk mencari informasi, namun juga menyenangkan orang.

Kunci sukses kedua adalah integritas mereka dalam mewujudkan impiannya. Mereka rela drop out dari program doktor mereka di Stanford University untuk mengembangkan google. Mereka pun pada awalnya tidak mencari keuntungan dari proyek tersebut. Malah, kedua orang itu berangkat dari sebuah ide sederhana. Yakni, bagaimana membantu banyak orang untuk mempermudah mencari sumber informasi dan data di dunia maya. Mereka sangat yakin, ide mereka akan sangat berguna bagi banyak orang untuk mempermudah mencari data apa saja di internet.

Kunci sukses lainnya yaitu mereka tidak melupakan jasa orang-orang yang mendukung kesuksesan mereka. Larry dan Sergey sangat memerhatikan kesejahteraan SDM di Google. Kantornya yang diberi nama Googleplex dinobatkan sebagai tempat bekerja terbaik di Amerika tahun 2007 oleh majalah Fortune. Di sana suasananya sangat kekeluargaan, ada makanan gratis tiga kali sehari, ada tempat perawatan bagi bayi ibu muda, bahkan sampai kursi pijat elektronik pun tersedia. Mereka sadar, di balik sukses inovasi yang dilakukan Google, ada banyak doktor matematika dan lulusan terbaik dari berbagai universitas yang membantu mereka.

Larry dan Sergey memang tak pernah menduga Google akan sesukses sekarang. Kedua orang yang terlahir dari keluarga ilmuwan – ayah Sergey adalah doktor matematika, sedangkan Larry adalah putra almarhum doktor pertama komputer di Amerika – ini memang hanya berangkat dari sebuah masalah sederhana. Mereka berusaha memecahkan masalah tersebut, dan berbagi dengan orang lain. Namun, justru dengan kesederhanaan dan integritas mereka, mampu membuat Google saat ini menjadi mesin pencari terdepan, dikunjungi lebih dari 300 juta orang perhari. Diterjemahkan dalam 88 bahasa dengan nilai saham mencapai lebih dari 500 dolar AS per lembar, membuat sebuah kesederhanaan menjelma menjadi kekuatan yang luar biasa.

Sebuah niat mulia, meski sesederhana apapun, jika dilandasi kerja keras dan integritas yang tinggi, akan menghasilkan sesuatu yang istimewa. Hal tersebut nampak dari contoh kisah sukses Larry Page dan Sergey Brin di atas. Google yang mereka dirikan terbukti telah membantu banyak orang untuk bisa mendapatkan apa saja dari internet. Dan kini, mereka pun mendapatkan imbalan yang bahkan tak diduga mereka sebelumnya. Kesuksesan sejati memang akan terasa saat kita bisa berbagi. Dan, Larry serta Sergey membuktikannya sendiri.