Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

inn{ __} __else

JAVA Lytter
Friday, 20 January 2012 12:18
// Lytter


package lytter;


import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;



public class Lytter implements ActionListener {
public Lytter() {

}
@Override
public void actionPerformed(ActionEvent e) {

String s = e.getActionCommand();
if(s.equals("Ansatt")){
}
else if(s.equals("Kunde")){

}
else if(s.equals("Logg inn")){

}
else if(s.equals("Set timer")){

}
else if(s.equals("Kjøp varer"))
{
}

}

public static void main(String[] args) {

Lytter l = new Lytter();

}
}

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/Hb8AXfziYw4/14455

 


Taxonomy by Zaragoza Online