February 22, 2004

Bulk view

Sample array code

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

 * Demo class for arrays
 * @author Sacha Chua ([email protected])
 * @date 22-Feb-2004

public class ReallySimpleAddressBook extends Applet implements ActionListener
    private Button set;
    private Button show;
    private TextField index;
    private TextField name;
    private String names[];

    public void init()
        names = new String[10];
        set = new Button("Set");
        show = new Button("Show");

        index = new TextField();
        name = new TextField();
        Label label1 = new Label("Index:");
        Label label2 = new Label("Name:");

        setLayout(new GridLayout(3, 2));


    public void actionPerformed(ActionEvent e)
        if (e.getSource() == set)
            int i = Integer.parseInt(index.getText());
            names[i] = name.getText();
        if (e.getSource() == show)
            int i = Integer.parseInt(index.getText());


CS161 Finals

The following students are to take the CS161 final exam on Thursday.
They can e-mail me at [email protected] to find out their pre-final
grade and what they need to score in order to attain a target letter

000100 Alindogan, John Marlon J. 4 BS MIS
000146 Ang, Lindsay Ritz T. 4 BS MIS
000257 Balagot, Julyett D. 4 BS MIS
000322 Bautista, Jose Miguel O. 4 BS MIS
000336 Baybay, Maria Margarita F. 4 BS MIS
000459 Cadelinia, Dwight Jr. M. 4 BS MIS
005011 Chan, Jacky T. 4 BS MIS
000612 Ching, James Henry Y. 4 BS MIS
000628 Chua, Aimee Lou T. 4 BS MIS
000822 De Claro, Ada Mae I. 4 BS MIS
000834 De Guzman, Myron Patrick S. 4 BS MIS
990791 Delfino, John Tristan S. 4 BS MIS
001191 Garcia, Miguel Jose A. 4 BS MIS
991211 Irigo, Justin A. 4 BS CS
001469 Kho, Krystle Ann G. 4 BS MIS
991571 Marchan, Allison Lilac S. 4 BS MIS
002032 Ong, Emmanuel I. 4 BS MIS
002050 Ong, Wendilyn Lou O. 4 BS MIS
992113 Sabilano, Jose Leonardo A. 4 BS MIS
981077 Sanchez, Patrick Philip R. 4 BS CS
002477 Santiago, Victor Roberto Manuel O. 4 BS MIS
002478 Santillan, Arthur A. 4 BS MIS
002536 Sembrano, Cyrus V. 4 BS MIS
002601 Songco, Marvin L. 4 BS MIS

“View From the Alpha Geek”

From ACM Technews:

Programmer Rael Dornfest keeps track of IT innovation and innovators as
part of his job putting together O’Reilly & Associates’ Emerging Technology
Conferences. He says the key to understanding technology trends is to find
the trend-setters, or alpha geeks, that are widely recognized by their …

E-Mail from [email protected]

“Inventors Strut Stuff at Demo Show”

From ACM Technews:

Dozens of high-tech innovations, ranging from small PCs to blogging tools
to “augmented reality” software, were spotlighted at the Demo conference in
Scottsdale, Ariz. Perhaps the most incredible product on display was Total
Immersion’s D’Fusion software, which uses Windows XP hardware to render …

E-Mail from [email protected]