Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grid Java source code

import java.awt.*;
import java.applet.*;
import java.awt.event.*;

<applet code="Grid" width=380 height=150>

public class Grid extends Applet implements ActionListener

String msg;
TextField tf1,tf2,tf3,tf4,tf5,tf6;
TextArea tf7;
Label lb1,lb2,lb3,lb4,lb5,lb6,lb7,lb8,lb9,lb10,lb11,lb12,lb13;
Button b;

public void init()

  setLayout(new GridLayout(7,3));

  tf1 = new TextField(20);
  tf2 = new TextField(10);
  tf3 = new TextField(20);
  tf4 = new TextField(5);
  tf5 = new TextField(5);
  tf6 = new TextField(40);
  tf7 = new TextArea(10,50);

  lb1 = new Label("Name",Label.RIGHT);
  lb2 = new Label("Class",Label.RIGHT);
  lb3 = new Label("RollNo",Label.RIGHT);
  lb4 = new Label("Marks1",Label.RIGHT);
  lb5 = new Label("Marks2",Label.RIGHT);
  lb6 = new Label("Record",Label.RIGHT);
  lb7 = new Label("Result");  
  lb8 = new Label(" ");
  lb9 = new Label(" ");
  lb10 = new Label(" ");
  lb11 = new Label(" ");
  lb12 = new Label(" ");
  lb13 = new Label(" ");

  b = new Button("SUBMIT");





public void actionPerformed(ActionEvent ae)

  int k = Integer.parseInt(tf4.getText())+
  msg = tf1.getText() +tf2.getText()+
  tf7.append( msg);

  if(k > 50)


Important Note..!

If you are not satisfied with above reply ,..Please


So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: java source code for grid scheduling, java code for hotel management java or code hotel management in java file type java, ant colony optimization for grid scheduling source code in java, mini image transformation using grid java source code, hospital database java netbeans source code hospital database java netbeans source code, grid computing source code in java free download, ppt for grid computing ppt for grid computing of topic grid security,

Forum Jump:

Users browsing this thread: 1 Guest(s)