EasyIn class?

;-) It is a start, I have many battles to face and attack, my lecturer has thrown up this class "EasyIn()" and I don't know where it is to be placed. It controls the size of the plane list. All I know is that it is mentioned in the remove method (AirplaneListTester)
int plane = EasyIn.getInt();
this code probably checks the position of the plane in the list.
placed in the main method of the AirplaneListTester
int size;
size = EasyIn.getInt();
The EasyIn class is :
// EasyIn.java
import java.io.*;
public abstract class EasyIn
static String s = new String();
static byte[] b = new byte[512];
static int bytesRead = 0;
public static String getString()
boolean ok = false;
while(!ok)
try
bytesRead = System.in.read(b);
s = new String(b,0,bytesRead-1);
s=s.trim();
ok = true;
catch(IOException e)
System.out.println(e.getMessage());
     return s;
public static int getInt()
int i = 0;
boolean ok = false;
while(!ok)
try
bytesRead = System.in.read(b);
s = new String(b,0,bytesRead-1);
i = Integer.parseInt(s.trim());
ok = true;
catch(NumberFormatException e)
System.out.println("Make sure you enter an integer");
catch(IOException e)
System.out.println(e.getMessage());
return i;
public static byte getByte()
byte i = 0;
boolean ok = false;
while(!ok)
try
bytesRead = System.in.read(b);
s = new String(b,0,bytesRead-1);
i = Byte.parseByte(s.trim());
ok = true;
catch(NumberFormatException e)
System.out.println("Make sure you enter a byte");
catch(IOException e)
System.out.println(e.getMessage());
return i;
public static short getShort()
short i = 0;
boolean ok = false;
while(!ok)
try
bytesRead = System.in.read(b);
s = new String(b,0,bytesRead-1);
i = Short.parseShort(s.trim());
ok = true;
catch(NumberFormatException e)
System.out.println("Make sure you enter a short integer");
catch(IOException e)
System.out.println(e.getMessage());
return i;
public static long getLong()
long l = 0;
boolean ok = false;
while(!ok)
try
bytesRead = System.in.read(b);
s = new String(b,0,bytesRead-1);
l = Long.parseLong(s.trim());
ok = true;
catch(NumberFormatException e)
System.out.println("Make surre you enter a long integer");
catch(IOException e)
System.out.println(e.getMessage());
return l;
public static double getDouble()
double d = 0;
boolean ok = false;
while(!ok)
try
bytesRead = System.in.read(b);
s = new String(b,0,bytesRead-1);
d = (Double.valueOf(s.trim())).doubleValue();
ok = true;
catch(NumberFormatException e)
System.out.println("Make sure you enter a decimal number");
catch(IOException e)
System.out.println(e.getMessage());
return d;
public static float getFloat()
float f = 0;
boolean ok = false;
while(!ok)
try
bytesRead = System.in.read(b);
s = new String(b,0,bytesRead-1);
f = (Float.valueOf(s.trim())).floatValue();
ok = true;
catch(NumberFormatException e)
System.out.println("Make sure you enter a decimal number");
catch(IOException e)
System.out.println(e.getMessage());
     return f;
public static char getChar()
char c = ' ';
boolean ok = false;
while(!ok)
try
bytesRead = System.in.read(b);
s = new String(b,0,bytesRead-1);
if(s.trim().length()!=1)
System.out.println("Make sure you enter a single character");
else
c = s.trim().charAt(0);
ok = true;
catch(IOException e)
System.out.println(e.getMessage());
return c;
public static void pause()
boolean ok = false;
while(!ok)
try
System.in.read(b);
ok = true;
catch(IOException e)
System.out.println(e.getMessage());
public static void pause(String messageIn)
boolean ok = false;
while(!ok)
try
System.out.print(messageIn);
System.in.read(b);
ok = true;
catch(IOException e)
System.out.println(e.getMessage());
The code I have made so far is this:
import javax.swing.JOptionPane; //indicates that the compiler should load class JOptionPane for use in this application.
public class AirplaneListTester
     public static class AirplaneList
     //Attributes for the AirplaneList
     private String flight = "No plane" ; //Airplane's name
     private int total = 0;     //initial total
     private boolean Empty = true; //initially the list is empty
     private boolean     Full = false; //The list initially has no entries therefore it is not full
     // Constructor method
     public AirplaneList()
          total = 0;
//     public void add(String Airplane)
//          flight = Airplane; // The airplane object will be "flight"
//     }     //add()
//     public void remove(int inti)
//          total = inti;
//     }     //remove()
     public boolean isEmpty()
          Empty = true;
          Full = false;
          return Empty;
     public boolean isFull()
          Empty = false;
          Full = true;
          return Full;
//     public void item(int inti)
//          total = inti;
//          System.out.println(flight+ "is number ");
//          System.out.println(total+ "");
     public void Total()
          System.out.println(total+ "planes on the list");
          return;
//     public void getInt()
     public static void main (String[] args)
throws java.io.IOException
          char choice; //Words choice and size are the names of variables
     //     int size; //This declaration specifies that the variable are of data type char and int
     //     size = EasyIn.getInt(); // Converts size from int to something?
     //Char - a variable that may only hold a single lowercase letter, a single uppercase letter, a single digit or a special character //(such as x, $, 7 and *)
     AirplaneList plane = new AirplaneList(); // Declare AirplaneList variables
     // The code below creates a dialog box for the user to input a choice
     String inputcode;
     inputcode = JOptionPane.showInputDialog("A: add an airplane from the list\n" +
                              "B: remove an airplane from the list\n" +
                              "C: check if the list is empty\n" +
                              "D: check if the list is full\n" +
                              "E: display the list\n" +
                              "F: quit\n" );
     //The null first argument indicates that the message dialog will appear in the center of the screen. The 2nd is the message to display
do
     // get choice from user
     choice = inputcode.toUpperCase().charAt(0);
          System.out.println();
          //process menu options
          switch(choice)
               case 'A':               
                    JOptionPane.showMessageDialog(null, "Case " + inputcode);
                    //option1(plane); // Checks if plane is empty
                    break;     //done processing case
               case 'B':
                    JOptionPane.showMessageDialog(null, "Case " + inputcode);
                    //option2(plane); // Checks if plane is empty
                    break;     //done processing case
               case 'C':
                    option3(plane); // Checks if plane is empty
                    break;     //done processing case
               case 'D':
                    option4(plane); // Checks if plane is full
                    break;     //done processing case
               case 'E':
                    JOptionPane.showMessageDialog(null, "Case " + inputcode);
                    //option5(plane); // Checks if plane is empty
                    break;     //done processing case
               case 'F':
                    JOptionPane.showMessageDialog(null, "You have chosen to quit the program");
                    break;     //done processing case
               default:
                    JOptionPane.showMessageDialog(null, "Invalid entry!, Please choose another option");
                    if (choice!= 'A'||
          choice!= 'B'||      
                    choice!= 'C'||
                    choice!= 'D'||
                    choice!= 'E'||
                    choice!= 'F');
                    inputcode = JOptionPane.showInputDialog("A: add an airplane from the list\n" +
                              "B: remove an airplane from the list\n" +
                              "C: check if the list is empty\n" +
                              "D: check if the list is full\n" +
                              "E: display the list\n" +
                              "F: quit\n" );
                    break;     //done processing case
     }while (choice!= 'F' ); //end AirplaneList tester
System.exit(0); //Terminates the program
//add Airplane
     public static void option1(AirplaneList plane)
          String flight;
     flight = JOptionPane.showInputDialog("Please enter airplane filght number" );
          //create an Airplane object to add to list          Airplane flight = new Airplane();
          //add string to list if the list is not full
          //access the 'add(Airplane)' method from the AirplaneList class;
          //if the list is full, return a statement to the user indicating that no more plane can be added onto the list
     //remove airplane
     public static void option2(AirplaneList plane)
          //get position of item
     string enterpos;
     enterpos = JOptionPane.showInputDialog("Please enter position to remove" );
          System.out.print(":")
          int plane = Easyln.getint();
          // delete item if it exists
          //access the 'remove(Airplane)' method from the AirplaneList class;
          //if the user enter an invalid number for the position, returen a statement
          //indicating that there is no such posititon.
     //check if empty
     public static void option3(AirplaneList plane)
          if (plane.isEmpty())
               JOptionPane.showMessageDialog(null, "The list is empty");
          else
               JOptionPane.showMessageDialog(null, "list is not empty" );
     //check if full
     public static void option4(AirplaneList plane)
          if (plane.isFull())
               JOptionPane.showMessageDialog(null, "list is full" );
          else
               JOptionPane.showMessageDialog(null, "list is not full" );
/*     //display list
     public static void option5 (AirplaneList plane)
          if (plane.isEmpty())     //no need to display if list is empty
               JOptionPane.showMessageDialog(null, "list is empty" );
          else
               JOptionPane.showMessageDialog(null, "Airplanes in list are" );
               //loop through list

;-) It is a start, I have many battles to face and
attack, my lecturer has thrown up this class
"EasyIn()" and I don't know where it is to be placed.
It controls the size of the plane list. Not quite. It is simply a utility class to help with reading user input in non-gui applications.
Just place the class file somewhere in your classpath.

Similar Messages

  • Problem with EasyIn.java

    Well i've found EasyIn.java but when i try to compile my HelloWorld.java program the following error message occurs, can anyone explain this?
    HelloWorld.java :6: cannot resolve symbol
    symbol: variable EasyIn
    location: class HelloWorld
    EasyIn.pause ();
    ^
    1 error
    Thankyou in advance to anyone who can help

    English translation in bold.
    Well i've found EasyIn.java but when i try to compile
    my HelloWorld.java program the following error message
    occurs, can anyone explain this?
    HelloWorld.java :6: cannot resolve symbol
    On line 6 of the file "HelloWorld.java", I found a symbol that I do not recognize.
    symbol: variable EasyIn
    The symbol that I could not recognize at the above location is a variable called "EasyIn".
    location: class HelloWorld
    The location where that variable was used is found in the class "HellowWorld"
    EasyIn.pause ();
    ^
    Here is the line I'm having trouble with. The ^ points to the start of my worries.
    >
    1 error
    By the way, here is a count of how many errors I've found in your code.
    Basically, the compiler is complaining that it could not find the EasyIn class. Make sure you've compiled this class, and your classpath included it's location.

  • Where to put the class?

    Ok EasyIn class can help me convert a string into an int, I will need it for this problem.
    The code for EasyIn is as follows, and i need to put it into my AirplaneListTester class, but where do I put it?
    EasyIn class
    // EasyIn.java
    import java.io.*;
    public abstract class EasyIn
    static String s = new String();
    static byte[] b = new byte[512];
    static int bytesRead = 0;
    public static String getString()
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    s=s.trim();
    ok = true;
    catch(IOException e)
    System.out.println(e.getMessage());
         return s;
    public static int getInt()
    int i = 0;
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    i = Integer.parseInt(s.trim());
    ok = true;
    catch(NumberFormatException e)
    System.out.println("Make sure you enter an integer");
    catch(IOException e)
    System.out.println(e.getMessage());
    return i;
    public static byte getByte()
    byte i = 0;
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    i = Byte.parseByte(s.trim());
    ok = true;
    catch(NumberFormatException e)
    System.out.println("Make sure you enter a byte");
    catch(IOException e)
    System.out.println(e.getMessage());
    return i;
    public static short getShort()
    short i = 0;
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    i = Short.parseShort(s.trim());
    ok = true;
    catch(NumberFormatException e)
    System.out.println("Make sure you enter a short integer");
    catch(IOException e)
    System.out.println(e.getMessage());
    return i;
    public static long getLong()
    long l = 0;
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    l = Long.parseLong(s.trim());
    ok = true;
    catch(NumberFormatException e)
    System.out.println("Make surre you enter a long integer");
    catch(IOException e)
    System.out.println(e.getMessage());
    return l;
    public static double getDouble()
    double d = 0;
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    d = (Double.valueOf(s.trim())).doubleValue();
    ok = true;
    catch(NumberFormatException e)
    System.out.println("Make sure you enter a decimal number");
    catch(IOException e)
    System.out.println(e.getMessage());
    return d;
    public static float getFloat()
    float f = 0;
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    f = (Float.valueOf(s.trim())).floatValue();
    ok = true;
    catch(NumberFormatException e)
    System.out.println("Make sure you enter a decimal number");
    catch(IOException e)
    System.out.println(e.getMessage());
         return f;
    public static char getChar()
    char c = ' ';
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    if(s.trim().length()!=1)
    System.out.println("Make sure you enter a single character");
    else
    c = s.trim().charAt(0);
    ok = true;
    catch(IOException e)
    System.out.println(e.getMessage());
    return c;
    public static void pause()
    boolean ok = false;
    while(!ok)
    try
    System.in.read(b);
    ok = true;
    catch(IOException e)
    System.out.println(e.getMessage());
    public static void pause(String messageIn)
    boolean ok = false;
    while(!ok)
    try
    System.out.print(messageIn);
    System.in.read(b);
    ok = true;
    catch(IOException e)
    System.out.println(e.getMessage());
    AirplaneListTester class sorry for the indentations the message box has messed it up
    import javax.swing.JOptionPane; //indicates that the compiler should load class JOptionPane for use in this application.
    public class AirplaneListTester
         public static class AirplaneList
              //Attributes for the AirplaneList
              private String flight = "No plane" ; //Airplane's name
              private int total = 0;     //initial total
              private boolean Empty = true; //initially the list is empty
              private boolean     Full = false; //The list initially has no entries therefore it is not full
              // Constructor method
              public AirplaneList()
                   total = 0;
              public void add(String Airplane) // allows the user to add an airplane to the list, it returns a boolean value
                   flight = Airplane; // The airplane object will be "flight"
              }     //add()
              public void remove(int inti) // allows the user to remove an airplane from the list, it returns a boolean value
                   total = inti;
              }     //remove()
              public boolean isEmpty() // allows a user to check if the list is empty
                   Empty = true;
                   Full = false;
                   return Empty;
              public boolean isFull() // allows a user to check if the list is full
                   Empty = false;
                   Full = true;
                   return Full;
              public void item(int inti) // returns the airplane's flight number on the list
                   total = inti;
                   System.out.println(flight+ "is number ");
                   System.out.println(total+ "");
              public void Total() // returns the total number of airplanes on the list
                   JOptionPane.showMessageDialog(null,total+ " Airplanes are on the list" );
                   if (isFull())
                   JOptionPane.showMessageDialog(null,"The list has also reached its maximum number of planes" );
              public void getInt()
              //Start main()
                   public static void main (String[] args)
              throws java.io.IOException
                   char choice; //Words choice and size are the names of variables
                   int size; //This declaration specifies that the variable are of data type char and int
                   //size = EasyIn.getInt(); // Converts a string and makes it an Int
                   Char - a variable that may only hold a single lowercase letter, a single uppercase letter, a single digit or a           
                   special character (such as x, $, 7 and *)
                   AirplaneList plane = new AirplaneList(); // Declare AirplaneList variables
                   //The code below creates a dialog box for the user to input a choice
                   String inputcode;
                   inputcode = JOptionPane.showInputDialog("A: add an airplane from the list\n" +
                                  "B: remove an airplane from the list\n" +
                                  "C: check if the list is empty\n" +
                                  "D: check if the list is full\n" +
                                  "E: display the list\n" +
                                  "F: quit\n" );
                   The null first argument indicates that the message dialog will appear in the center of the screen. The 2nd is the      
                   message to display
                   do
                             // get choice from user
                             choice = inputcode.toUpperCase().charAt(0);
                             //process menu options
                             switch(choice)
                        case 'A':               
                             addingplanes(plane); // Adds a plane to the list
                             break;     //done processing case
                        case 'B':
                             removingplanes(plane); // Removes the plane
                             break;     //done processing case
                        case 'C':
                             islistempty(plane); // Checks if plane is empty
                             break;     //done processing case
                        case 'D':
                             islistfull(plane); // Checks if plane is full
                             break;     //done processing case
                        case 'E':
                             displaylist(plane);      // Displays the list of planes
                             break;     //done processing case
                        case 'F':
                             JOptionPane.showMessageDialog(null, "You have chosen to quit the program");
                             break;     //done processing case          // Quits the program
                        default:
                             JOptionPane.showMessageDialog(null, "Invalid entry!, Please choose another option");
                             if (choice!= 'A'||
                   choice!= 'B'||      
                             choice!= 'C'||
                        choice!= 'D'||
                        choice!= 'E'||
                        choice!= 'F');
                             inputcode = JOptionPane.showInputDialog("A: add an airplane from the list\n" +
                                  "B: remove an airplane from the list\n" +
                                  "C: check if the list is empty\n" +
                                  "D: check if the list is full\n" +
                                  "E: display the list\n" +
                                  "F: quit\n" );
                                  break;     //done processing case
                   }while (choice!= 'F' ); //end AirplaneList tester
              System.exit(0); //end main()
                   //add Airplane
                   public static void addingplanes(AirplaneList plane)
                        String flight;
                   flight = JOptionPane.showInputDialog("Please enter airplane filght number" );
                        create an Airplane object to add to list          Airplane flight = new Airplane();
                        add string to list if the list is not full
                        access the 'add(Airplane)' method from the AirplaneList class;
                   if the list is full, return a statement to the user indicating that no more plane can be added onto the list
                   //remove airplane
                   public static void removingplanes(AirplaneList plane)
                   //get position of item
                   /*     string enterpos;
                        enterpos = JOptionPane.showInputDialog("Please enter position to remove" );
                        System.out.print(":")
                        int plane = Easyln.getint();
                        // delete item if it exists
                        //access the 'remove(Airplane)' method from the AirplaneList class;
                        //if the user enter an invalid number for the position, returen a statement
                   */     //indicating that there is no such posititon.
                   //check if empty
                   public static void islistempty(AirplaneList plane)
                        String inputcode;
                        if (plane.isEmpty())
                        JOptionPane.showMessageDialog(null, "The list is empty");
                        else
                        JOptionPane.showMessageDialog(null, "list is not empty" );
                   //check if full
                   public static void islistfull(AirplaneList plane)
                        String inputcode;
                        if (plane.isFull())
                        JOptionPane.showMessageDialog(null, "list is full" );
                        else
                        JOptionPane.showMessageDialog(null, "list is not full" );
                   //display list
                   public static void displaylist(AirplaneList plane)
                        if (plane.isEmpty())     //no need to display if list is empty
                        JOptionPane.showMessageDialog(null, "list is empty, there is no list to display!" );
                        else
                        plane.Total();
                        //loop through list
    }//Ends the AirplaneListTester class

    First of all we have some code formatting options in this board.
    If you wrap your code in [[b]code] it will be a whole lot easier to read for all of us.
    Next put your class into a library path since you're going to use it in more than one project I guess.
    Then simply import your class in the project you're currently working on and you can use it's methods.

  • Need help with IO error

    i keep getting this meesage appear: " '{' expected "
    everytime i try to run this code:
    public class PhoneBookIO
    private static final int MIN = 0;
    private static final int MAX = 4;
    // private static void main (String[]args);
    displayMenu();
    public static void displayMenu()
    System.out.println();
    System.out.println("Select from the following");
    System.out.println("1...Add a new Name");
    System.out.println("2...Edit Name");
    System.out.println("3...Search Names");
    System.out.println("4...Erase Name");
    System.out.println("0...Exit");
    handleInput();
    public static void handleInput()
    char choice ;
    System.out.print(" Please Enter Your Choice...");
    choice = EasyIn.getChar();
    while (choice < MIN || choice > MAX)
    System.out.println();
    System.out.println("choice out of range.");
    System.out.print("Enter new choice now...");
    choice = EasyIn.getChar();
    switch (choice);
    case 1 : system.out.println(of.addPerson()); break;
    case 2 : system.out.println(of.editName()); break;
    case 3 : system.out.println()
    case 4 : system.out.println()
    case 5 : system.exit(0); break;
    displayMenu();
    }

    I would suggest you check your syntax and your logic. I found about a dozen syntax errors. I don't have the EasyIn class but this has some chance of working.
    Having displayMenu call handleInput which calls displayMenu endlessly is a really bad choice. You say exit is 0 but you only exit on 5.
    public class PhoneBook {
        private static final int MIN = 0;
        private static final int MAX = 4;
        public static void main(String[] args) {
            displayMenu();
        public static void displayMenu() {
            System.out.println();
            System.out.println("Select from the following");
            System.out.println("1...Add a new Name");
            System.out.println("2...Edit Name");
            System.out.println("3...Search Names");
            System.out.println("4...Erase Name");
            System.out.println("0...Exit");
            handleInput();
        public static void handleInput() {
            char choice;
            System.out.print(" Please Enter Your Choice...");
            choice = EasyIn.getChar();
            while (choice < MIN || choice > MAX) {
                System.out.println();
                System.out.println("choice out of range.");
                System.out.print("Enter new choice now... ");
                System.out.flush();
                choice = EasyIn.getChar();
            switch (choice) {
                case 1:
                    System.out.println(of.addPerson());
                    break;
                case 2:
                    System.out.println(of.editName());
                    break;
                case 3:
                    System.out.println("option 3");
                case 4:
                    System.out.println("option 4");
                case 5:
                    System.exit(0);
                    break;
            displayMenu();
    }

  • Please help debug

    ****newbie****
    can someone please please help me debug this small piece of java code?
    it may only take you 2 sec!? been trying to do it for hours!
    theres three errors i can't fix,
    theres an error in the 1st statement with EasyIn
    and 2 in the last statement.
    this line:
    if (found) System.out.println("The number was found");
    and error with "}" in the last line
    public class seqSearch {
          * @param args
              // TODO Auto-generated method stub
              private int numbers2search[] = new int[10];
              private double nearest;
              public void fillArray(){
                        for (int i=0; i<numbers2search.length-1; i++){
                             System.out.println ("Please enter number");
                             numbers2search= EasyIn.getInt();
    public void find(int num){
         boolean found = false;
         for (int i=0; i<numbers2search.length-1; i++){
              if (numbers2search[i]==num)found=true;
    public void display(){
         if (found) System.out.println("The number was found");
         else{
              System.out.println("The number was not found");

    You could have posted this as a reply in the other thread, rather than starting a new thread. And you still haven't posted the exact error messages.
    For the third one, however, you need an additional "}" to "close" the class definition. (And you should probably enclose the statement in the if side of the block with braces, if you are going to do it on the else side).
    As far as the second error, I am assuming that it concerns the fact that you have declared found in one method and are trying to access it in another, you cannot do that.
    And I will assume that the first error is because you haven't imported the "EasyIn" class.
    I think you need to read all of the basic tutorials, before you attempt to continue.
    Edit: Okay, now you provided, at least sketchy, error messages.

  • Problem with SendSysex.java

    i have taken the SendSysex.java code from the www.jsresource.org but its showing the error below:
    cannot find symbol
    symbol : variable MidiCommon
    location: class SendSysex
    MidiDevice.Info info = MidiCommon.getMidiDeviceInfo(strDeviceName, true);
    1 error

    English translation in bold.
    Well i've found EasyIn.java but when i try to compile
    my HelloWorld.java program the following error message
    occurs, can anyone explain this?
    HelloWorld.java :6: cannot resolve symbol
    On line 6 of the file "HelloWorld.java", I found a symbol that I do not recognize.
    symbol: variable EasyIn
    The symbol that I could not recognize at the above location is a variable called "EasyIn".
    location: class HelloWorld
    The location where that variable was used is found in the class "HellowWorld"
    EasyIn.pause ();
    ^
    Here is the line I'm having trouble with. The ^ points to the start of my worries.
    >
    1 error
    By the way, here is a count of how many errors I've found in your code.
    Basically, the compiler is complaining that it could not find the EasyIn class. Make sure you've compiled this class, and your classpath included it's location.

  • Java Development Kit Help

    I have installed the JDK version 1.0 from a cd-rom as i am unable to download the J2SE from the web site. I have no trouble compiling and runing very simple programs but i need to use the file EasyIn.java from Charatan and Kans for some of my programs. However i am unable to compile the EasyIn.java file and get 10 errors, so i don't get the EasyIn.class. I think i need to download some additional classes from this web site but i'm not sure what exactly. Any help would be very gratefuly received!
    Thanks
    Allan

    JDK version 1.0? That version is at least 100 years old! Find a place which has a good internet connection and download Java 1.4.1 or buy a book which has a CD included with a newer Java version.
    Jesper

  • Needs help.....Please about using different classes

    I don't know how to use differenet classes.
    Please tell me how to write class to suit Start. This stuff me up. Please .... help me
    <<My program>>
    //Start
    public class Start
    {  private Artist[] Artists;
    private Record[] records;
    private Person[] Manager;
    private TextMenu makeMenu = new TextMenu();
    public static void main(String[] args)
         Start studio = new Start();
    studio.menu();
    public Start()
    {  //Person.Manager(ManagerName,HouseNumber,StreetNumber,PhoneNumber)
         Manager = new Person[1];
         Manager[0] = new Person("Yangfan",88,"Young ST",11118888);
         //Artist(GroupID,ArtistName,HouseNumber,StreetNumber,PhoneNumber)
         Artists = new Artist[5];
    Artists[0] = new Artist(1,"Backstreet Boys",58,"Music ST",99998888);
    Artists[1] = new Artist(2,"Santana",68,"Music ST",99998899);
    Artists[2] = new Artist(3,"Macy Gray",78,"Music ST",55558888);
    Artists[3] = new Artist(4,"Ricky Martin",88,"Music AVE",77778888);
    Artists[4] = new Artist(5,"Did Rock",55,"Music Road",66667777);
    //Record(RecordingID,RecordName,Artist,StartTime,FinishTime,RecordingDate,GuestArtist1,GuestArtist2)
    records = new Record[6];
    records[0] = new Record(1,"I want it that way",Artists[0],11,12,"05/08/2001",Artists[1],Artists[3]);
    records[1] = new Record(2,"Smooth",Artists[1],11,12,"05/08/2001",Artists[1],"");
    records[2] = new Record(3,"Do something",Artists[2],11,"05/08/2001",Artists[3],"");
    records[3] = new Record(4,"Livin La Vida Loca",Artists[3],11,12,"05/08/2001",Artists[1],Artists[3]);
    records[4] = new Record(5,"Bawitdaba",Artists[4],11,13,"05/08/2001",Artists[1],"");
    records[5] = new Record(6,"The one",Artists[0],11,14,"05/08/2001",Artists[1],"");
    public void menu()
    {  String[] choices = {">>>List Manager Details",">>>List All Artist Names",">>>List An Artist Telephone-Number",">>>Show Details For One Recording",">>>Add A New Recording",">>>List The Recording Costs For All Artists",">>>List Artist's Reocording",">>>Exit Program"};
    while (true)
    {  switch (makeMenu.getChoice(choices))
    {  case 1: showAllArtists();
    break;
    case 2: showAllRecords();
    break;
    case 3: System.exit(0);
    break;
    case 4: System.exit(0);
    break;
    case 5: System.exit(0);
    break;
    case 6: System.exit(0);
    break;
    case 7: System.exit(0);
    break;
    case 8: System.exit(0);
    break;
    default:
    public void showAllArtists()
    {  int numArtists = Artists.length;
    for(int i = 0; i < numArtists; i++)
    {  Artists[i].displayArtistDetails();
    public void showAllRecords()
    {  for (int i = 0; i < records.length; i++)
    {  System.out.println();
    records.printRecordDetails();
    <<Assignment>>
    Due - midnight, Wednesday August 22nd
    This assignment will test your knowledge of Java programming using classes, encapsulation and javadoc.
    The base requirements
    Write a complete Java class to manage a Digital Recording Studio. The studio wants to keep a list of all Artists that use the studio and also wishes to keep track of all Recordings that have been made. An important function of the program is to calculate the time spent making a recording and charge the Artist for the time used.
    You must create at least the following classes, Start, Studio, Person, Artist, Recording, Address. You may create other classes if needed as well
    Start will contain main(), create one instance of a Studio and execute a Menu of commands to test your code. Studio should contain a studio name, an array of Artist and an array of Recording plus the studio manager (a Person). Each Artist should contain the name of the group and an Address. Each Person will have a name and a home address. Each recording will have a Title (usually song title), an Artist (only one), and a list of guestArtist (they are Artist�s but will not receive royalties) the number of the CD the recording is stored on (numbers are numerical and recordings are saved on CD-R), plus the recording start and finish times for the recording session (suggest you use Java Date class � refer to the API). An Address will contain, house number (integers only), a street name and a telephone number. There is no need to store city and country.
    To enter a set of data for testing your program � main() should call a method in the Start class that will fill in a set of values by creating objects and filling in values by calling methods in each class. This is the ONLY method allowed to be longer than 1 page long � normally we would read the data from a file but there are no O-O principles that can be learnt with simply filling in data values. It is suggested to create say at least 4 Artist�s and 6 Recordings (at least one with 1 guest Artist and one with 2 guestArtist�s)
    A menu for testing your program should be provided (it is suggested to put the Menu into a separate class as you need at least 3 menus). While other commands are possible, only the following ones will receive marks.
    Menu commands needed are
    List the Managers name, address and telephone number
    List all Artist Names
    List an Artist telephone number (a sub menu showing valid Artist�s is required)
    Show all details for one Recording ( sub menu of valid Recordings will be needed and remember there can be more than one guestArtist)
    Add a new Recording, user will need to be prompted for all details.
    List the recording costs for all Artists � show each Artist on a separate line with their name and total amount, charge for using the studio is $1000 per hour or part thereof, example for a 1 hour and 10 minute recording the Artist will be billed for 2 hours.
    List all the Recording�s one Artist has worked on (sub menu of Artists needed), the list should show whether they were the Artist or a guestArtist
    Exit program
    Use fixed sizes for arrays, suggest 20 is suitable for all arrays. Java can handle dynamic data structures (where the number of elements can grow or shrink), but that is beyond a first assignment.
    Do NOT make ANY methods static - this defeats the Object Oriented approach and will result in ZERO marks for the entire assignment.
    Data MUST be encapsulated, this means that all the data relating to an object are to be stored INSIDE an object. None of the data detail is to be globally available within your program - hence do not store Artist names in either Studio or Recordings � just store a reference instead. Do NOT create ID numbers for Artists, you should use References instead � for many students this will be the hardest part as you have to use Objects, not program in a C style to solve the problem. Note that if there are any non-private data in classes then zero will given for marks for encapsulation.
    Good programming style is expected (see web page or lecture notes). In particular, you must use javadoc to generate a set of html pages for your classes. Make sure you use the special javadoc style comments in your source code. Marks will be granted for both using javadoc and also for including sensible javadoc comments on each class and each public method.
    What to Hand In
    Read the turnin page, basically the .java files, a readme.txt to tell the marker which file the program starts from plus the javadoc (html) files. Do NOT send .class files (if you do send these we will delete them and recompile your program), do NOT compress with gtar, tar, zip or use any other tool on your files. Turnin automatically compresses all your files into a single archive for us to mark.
    The simplest way to turnin all your files is to place all files in one directory then just use the *.* wildcard to turn in all files within that one directory.
    You must turnin all files that are not part of Java 1.3. In particular, you are allowed (actually encouraged) to use EasyIn or SavitchIn but should include the one you use in the files you submit. It is STRONGLY suggested that you copy all the files into another directory, test it works there by compiling and executing then turnin files from that directory. A common problem is students adding comments at the last minute then not testing if it still compiles. The assignment will be marked as submitted � no asking later for leniency because you added comments at the last minute and failed to check if it still worked.
    If the tutors are unable to compile your submission, they will mark the source code but you will lose all the execution marks. Sorry, but it is your responsibility to test then hand in all files.
    Comments
    For CS807 students, this program should be fairly easy if it was to be programmed in C (you would use several struct). The real art here is to change over to programming objects. Data is contained in an object and is not global. This idea is essential to using Java effectively and is termed encapsulation. Instead of using function(data), you use objectName.method( ). Effectively you switch the data and functions around, the data has a method (function) attached to it, not the other way around as in C (where you have a function and send data to it).
    While there will be some marks for execution, the majority of the marks will be given for how well you write your code (including comments and documentation) and for how well you used O-O principles. Programs written in a C style with most of the code in one class or using static will receive ZERO marks regardless of how well they work.
    You are responsible for checking your turnin by reading the messages turnin responds with. Failure to read these messages will not be an acceptable excuse for submitting an incorrect assignment. About 2% of assignments sent to turnin are unreadable (usually empty) and obtain 0.
    Late submissions
    Late submissions will only be accepted with valid reasons for being late. All requests for assignment extensions must be made via email to the lecturer. Replies for acceptance or refusal will made by email. Instant replies are unrealistic (there is usually a flood of queries into my mail box around assignment due dates) and the best advice is to ask at least 4 days in advance so that you will have a reasonable chance of getting a timely reply and allow yourself enough time to submit something on time if the extension is not granted.
    ALL late submissions will be marked LAST and will NOT be sent to tutors for marking until all other assignments have been marked. As an example, if you submit late and your assignment is not yet marked by the time assignment 2 is due then it will be pushed to the end of the marking pile as the assignments that were submitted on time for assignment 2 will take priority.
    If you make a second submission after the submission date, only the first submission will be marked. We will not mark assignments twice! You can update your submission BEFORE the submission date if you need to - this will just overwrite the first submission. The latest time for a late submission is 5pm on the Wednesday after the due date. This is because, either a solution will be handed out at that lecture or details of the assignment will be discussed at the lecture. I cannot accept any assignment submissions after that time for any reason at all including medical or other valid reasons. For those who are given permission to be later than the maximum submission time � a different assignment will be handed out. Remember, if you decide to submit late you are VERY UNLIKELY to receive feedback on your assignments during semester.
    Assignments will be removed from turnin and archived elsewhere then forwarded to tutors for marking on the morning after the assignment is due. A different tutor will mark each of your assignments � do not expect the tutor you see at the tutorials to be your marker.
    Marks will be returned via email to your computer science yallara account � ideally within 2 weeks. I will send marks out when I receive them so do not send email asking where your marks are just because a friend has theirs. If you want your email forwarded to an external account, then place a valid .forward file into your yallara account. The Help Desk on level 10 can assist you in setting this up if you do not know how to do it.

    I have seen other people who have blatantly asked for
    other people to do their homework for them, but you
    are the first person I've seen to actually cut and
    paste the entire assignment as it was handed to you.
    Amazing.
    Well, unlike some of the people you're talking about, it seems like zyangfan did at least take a stab at it himself, and does have a question that is somewhat more sepcific that "please do this homework for me."
    Zyangfan,
    marendoj is right, though. Posting the entire assignment is kind of tacky. If you want to post some of it to show us what you're trying to do, please trim it down to the essential points. We don't need to see all the instructor's policies and such.
    Anyway, let me see if I understand what you're asking. You said that you know how to write the code, but only by putting it all in one class, is that right? What part about using separate classes do you not understand? Do you not know how to make code in one class aware that the other class exists? Do you not know how code in class A can call a method in class B?
    Please be a bit more specifice about what you don't understand. And at least try using multiple classes, then when you can't figure out why something doesn't work, explain what you did, and what you think should have happened, and what did happen instead.
    To get you started on the basics (and this should have been covered in your course), you write the code for two classes just like for one class. That is, for class A, you create a file A.java and compile it to A.class. For class B, you create a file B.java and compile it to B.class. Given how rudimentary you question is, we'll skip packages for now. Just put all your class files in the same directory, and don't declare packages in the .java files.
    To call a method in class B from code that's in class A, you'll need an object of class B. You instantiate a B, and then call its methods.
    public class B {
      int count;
      public B() { // constructor
      public void increment() {
        count++;
    public class A {
      public static void main(String args[]) {
        B b = new B();
        b.increment();
    }Is this what you were asking?

  • EasyIn.java - Who's the author?

    Hi people, newbie poster so please excuse any dumbness...
    A couple of years ago I was given a EasyIn.java file as part of a practical Introducing me to Java. For the last couple of years, whenever I've needed some simple input from the command line, i've used this same class.
    However, I'm now about to submit a Major Software Project for my penultimate year and it has just struck me that I don't know who the author of the class is? There are no comments in the file and a google search has yielded no result.
    So I ask you dear people if anyone knows the author so that I may cite the use of their code in my report?
    Regards
    J

    That seems to be a different class to the one I have:
    import java.io.*;
    public abstract class EasyIn {
         public static String getString() {
              boolean ok = false;
              String s = null;
              while (!ok) {
                   byte[] b = new byte[512];
                   try
                        System.in.read(b);
                        s = new String(b);
                        s = s.trim();
                        ok = true;
                   catch (IOException e)
                        System.out.println(e.getMessage());
              return s;
         public static int getInt()
              int i = 0;
              boolean ok = false;
              String s;
              while (!ok)
                   byte[] b = new byte[512];
                   try
                        System.in.read(b);
                        s = new String(b);
                        i = Integer.parseInt(s.trim());
                        ok = true;
                   catch (NumberFormatException e)
                        System.out.println("Make sure you enter an integer");
                   catch (IOException e)
                        System.out.println(e.getMessage());
              return i;
         public static byte getByte()
              byte i = 0;
              boolean ok = false;
              String s;
              while (!ok)
                   byte[] b = new byte[512];
                   try
                        System.in.read(b);
                        s = new String(b);
                        i = Byte.parseByte(s.trim());
                        ok = true;
                   catch (NumberFormatException e)
                        System.out.println("Make sure you enter a byte");
                   catch (IOException e)
                        System.out.println(e.getMessage());
              return i;
         public static short getShort()
              short i = 0;
              boolean ok = false;
              String s;
              while (!ok)
                   byte[] b = new byte[512];
                   try
                        System.in.read(b);
                        s = new String(b);
                        i = Short.parseShort(s.trim());
                        ok = true;
                   catch (NumberFormatException e)
                        System.out.println("Make sure you enter a short integer");
                   catch (IOException e)
                        System.out.println(e.getMessage());
              return i;
         public static long getLong()
              long l = 0;
              boolean ok = false;
              String s;
              while (!ok)
                   byte[] b = new byte[512];
                   try
                        System.in.read(b);
                        s = new String(b);
                        l = Long.parseLong(s.trim());
                        ok = true;
                   catch (NumberFormatException e)
                        System.out.println("Make sure you enter a long integer");
                   catch (IOException e)
                        System.out.println(e.getMessage());
              return l;
         public static double getDouble()
              double d = 0;
              boolean ok = false;
              String s;
              while (!ok)
                   byte[] b = new byte[512];
                   try
                        System.in.read(b);
                        s = new String(b);
                        d = Double.parseDouble(s.trim());
                        ok = true;
                   catch (NumberFormatException e)
                        System.out.println("Make sure you enter a decimal number");
                   catch (IOException e)
                        System.out.println(e.getMessage());
              return d;
         public static float getFloat()
              float f = 0;
              boolean ok = false;
              String s;
              while (!ok)
                   byte[] b = new byte[512];
                   try
                        System.in.read(b);
                        s = new String(b);
                        f = Float.parseFloat(s.trim());
                        ok = true;
                   catch (NumberFormatException e)
                        System.out.println("Make sure you enter a decimal number");
                   catch (IOException e)
                        System.out.println(e.getMessage());
              return f;
         public static char getChar()
              char c = ' ';
              boolean ok = false;
              String s;
              while (!ok)
                   byte[] b = new byte[512];
                   try
                        System.in.read(b);
                        s = new String(b);
                        if (s.trim().length() != 1)
                             System.out
                                       .println("Make sure you enter a single character");
                        else
                             c = s.trim().charAt(0);
                             ok = true;
                   catch (IOException e)
                        System.out.println(e.getMessage());
              return c;
         public static void pause()
              boolean ok = false;
              while (!ok)
                   byte[] b = new byte[512];
                   try
                        System.in.read(b);
                        ok = true;
                   catch (IOException e)
                        System.out.println(e.getMessage());
         public static void pause(String messageIn)
              boolean ok = false;
              while (!ok)
                   byte[] b = new byte[512];
                   try
                        System.out.print(messageIn);
                        System.in.read(b);
                        ok = true;
                   catch (IOException e)
                        System.out.println(e.getMessage());
    }

  • EasyIn

    I am new to java and trying to get input from the console. Previoud method was to use BufferedReader and get string input first and convert it to int. Now i see this EasyIn.getInt(), getChar(). I do not know how to use these methods. Do i need to override them in a seprate class and use it or what about import uwejava.*;. if i use the import statement my IDE MYEclipse says unable to resolve this name. Can anyone please tell me how to use the EasyIn methods please.

    I am new to java and trying to get input from the
    console. Previoud method was to use BufferedReader
    and get string input first and convert it to int. Now
    i see this EasyIn.getInt(), getChar(). I do not know
    how to use these methods. Do i need to override them
    in a seprate class and use it or what about import
    uwejava.*;. if i use the import statement my IDE
    MYEclipse says unable to resolve this name. Can
    anyone please tell me how to use the EasyIn methods
    please.Easyln is apparently some cracked out third party POS. Try:
    java.util.ScannerHere is the documentation:
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html
    That should do what you want.

  • Can anyone help me with this test class

    hiya im new to java im trying to make this test class but i comes up with this error
    EmployeeTestClass.java:14: cannot resolve symbol
    symbol  : constructor Employee  (java.lang.String,java.lang.String,java.lang.String)
    location: class Employee
         Employee Test = new Employee ("John", "Henry", "Monthly");
                                ^here is my whole code to the test class, please bear in mind im really new to java
    public class EmployeeTestClass
       public static void main(String[] args)
         System.out.println ("Please type the employee name:");
              String fName = EasyIn.getString();
         System.out.println ("Please type the employee secound name :");
              String sName = EasyIn.getString();
         System.out.println ("Please type the employee eReference :");
              String  eReference = EasyIn.getString();
         System.out.println ("Please type the employee annualSalary :");
              String  annualSalary = EasyIn.getString();      
         Employee Test = new Employee ("John", "Henry", "Monthly");
       Test.showDetails();
    }

    // your code:
    Employee Test = new Employee ("John", "Henry",
    "Monthly");What you need to do is put the
    variables fName, sName etc. in there instead. And you
    declared the variable annualSalary as a
    String, which should be a double.hiya i tried the above and now my code code like this
    public class EmployeeTestClass
       public static void main(String[] args)
         System.out.println ("Please type the employee name:");
              String fName = EasyIn.getString();
         System.out.println ("Please type the employee secound name :");
              String sName = EasyIn.getString();
         System.out.println ("Please type the employee eReference :");
              String  eReference = EasyIn.getString();
    System.out.println ("Please type the employee salary :");
              double  annualSalary = EasyIn.getString();
    Employee Test = new Employee ("fName", "sName", "annualSalary");
       Test.showDetails();
          }but wheni try to complie it it comes up with these error please help
    EmployeeTestClass.java:12: incompatible types
    found   : java.lang.String
    required: double
    double  annualSalary = EasyIn.getString();
                                                              ^
    EmployeeTestClass.java:15: cannot resolve symbol
    symbol  : constructor Employee  (java.lang.String,java.lang.String,java.lang.String)
    location: class Employee
    Employee Test = new Employee ("fName", "sName", "annualSalary");
                         ^
    2 errors

  • How do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA certfificate i can't open web pages with this, how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC CA certfificate i can't open web pages with this

    how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA ?

    Hi
    I am not suprised no one answered your questions, there are simply to many of them. Can I suggest you read the faq on 'how to get help quickly at - http://forums.adobe.com/thread/470404.
    Especially the section Don't which says -
    DON'T
    Don't post a series of questions in  a single post. Splitting them into separate threads increases your  chances of a quick answer.
    PZ
    www.pziecina.com

  • Previewing an image before uploading it using the FileReference class

    Previewing an image before uploading it using the FileReference class in flash player 3 not in SDK4

    Previewing an image before uploading it using the FileReference class in flash player 3 not in SDK4

  • Previewing an image before uploading it using the FileReference class in flex 3

    Previewing an image before uploading it using the FileReference class in flex 3 ?

    hai,
              when this code is used in my application ,i got the name of image and new frame is added each time .But image is not displayed.....
    The code  starts like this
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
                xmlns:mx="library://ns.adobe.com/flex/mx" initialize="init()"   backgroundColor="white" width="100%" height="100%">
        <fx:Script>
    <![CDATA[ 
                    import mx.controls.Alert;
                    import mx.messaging.Channel;
                    import mx.messaging.ChannelSet;
                    import mx.messaging.channels.AMFChannel;
                    import mx.rpc.events.ResultEvent;
                    import mx.controls.Image;
                    import spark.events.IndexChangeEvent;
                    import mx.managers.DragManager;
      <mx:DataGridColumn headerText="Dimension Value"  width="10" dataField="dimensionValue"/>
                                                   <mx:DataGridColumn headerText="Unit Nmae"  width="10" dataField="dimensionUnitName"/>
                                                   </mx:columns>
                                           </mx:DataGrid>
                                           <mx:Spacer width="2%"/>
                                       </mx:HDividedBox>
                                       </mx:VBox>
                   <mx:Spacer height="0"/>
                <mx:VBox width="100%">
                    <s:HGroup height="90" top="0" left="0" right="0" verticalAlign="justify" gap="10" paddingLeft="5" paddingRight="5" paddingTop="5" paddingBottom="5">
                        <s:Button id="btn_loader" top="5" bottom="24" width="100" label="load" click="loadImages()"/>
                        <s:Group width="100%">
                            <s:Group name="cl" top="0" left="0" bottom="0" width="20" mouseOver="//scroll_on(event)" mouseOut="//scroll_off(event)">
                                <s:BitmapImage source="@Embed('../assets/left.jpg')" top="0" left="0" bottom="0" right="0" fillMode="scale"/>   
                            </s:Group>
                            <s:List id="imgList" skinClass="skins.ListSkin" top="-3" left="27" right="28" bottom="10"
                                    dataProvider="{ImageCollection}" itemRenderer="Image_Render">
                                <s:layout>
                                    <s:HorizontalLayout gap="0"/>
                                </s:layout>
                            </s:List>
                            <s:Group name="cr" top="0" right="0" bottom="0" width="20" mouseOver="//scroll_on(event)" mouseOut="//scroll_off(event)">
                                <s:BitmapImage source="@Embed('../assets/right.jpg')" top="-1" left="0" bottom="0" right="0" fillMode="scale"/>
                            </s:Group>
                        </s:Group>
                    </s:HGroup>
                    <s:SkinnableContainer id="dropCanvas" top="100" left="5" right="5" bottom="5" backgroundAlpha="1.0" alpha="1.0"
                                          dragEnter="dropCanvas_dragEnterHandler(event)"
                                          dragDrop="dropCanvas_dragDropHandler(event)" contentBackgroundColor="#914E4E" backgroundColor="#F7F7F7">
                    </s:SkinnableContainer>
                </mx:VBox>
                <mx:Spacer height="5"/>
                                      </mx:VDividedBox>
        </mx:Panel>
    </mx:Canvas>

  • Get the values from the bean class?

    Hi Praveen and all can u please suggest in this,
    I have developped an application In that Create One java class that Extends PageProcesscomponenet and utilizing the Bean That have the Connetion method and retriving the query Based on the Logon customer and spoof customer.
    this functionality I have developped in Pageprocessor component.
    The same functinality I am utilizing another java Class that Extends AbstractPortalcomponent  and utilizing the same Bean.
    But the problem both java classes for I used one Jsp only Dynmic spoof customer will come from the JSP Input filed.
    In the new Java Class How can I capture the Event When I click the Buttong the InputField value capturing into the AbstractPortalcomponent Class.
    I tried like this but It comes as Null Value.
    Event event = myContext.getCurrentEvent();
                              if(event!=null)
                                  InputField ip= (InputField) myContext.getComponentForId("spoofCust");
                                  String spoofCust=ip.getValue().toString();
    Please suggest me in this.
    What is wrong with this.
    Thanks,
    Lohi.
    Message was edited by:
            Lohitha M

    Lohitha,
    Try replacing your two lines of code:
    InputField ip= (InputField) myContext.getComponentForId("spoofCust");
    String spoofCust=ip.getValue().toString();
    with:
    InputField ip = (InputField) getComponentByName("spoofCust");     
    String spoofCust = ip.getValueAsDataType().toString();
    Let me know how that works for you.
    -John

Maybe you are looking for

  • Dynamic lov, Select List in Report

    Hi all, I have searched the APEX forum for dynamic lov but somehow no topic could really solve my problem. I have a report and 2 columns in this report are displayed as a select list. I want one of the select list show some values depending on the ot

  • Photoshop Elements 11 Photo Editor won't open, trial info keeps popping up

    Okay, I own Photoshop Elements 11 but the Photo Editor refuses to open. When I click it, a pop up shows up for the trial version of PSE 11 saying I should buy it. I already have the lisence for PSE11 so i don't know what the problem is. (Also Organiz

  • Remove office test drive

    How do i remove the office 2004 test drive from my computer? I tried using the remove office app included in the folder but it says it has no office files on the computer? How can i remove this folder and its apps? just move to trash? and it will del

  • SNMP Protocol from Azure virtual machine

    Hi All, We have one web application where we use .Net OLEPPRN.SNMP protocol library for get the printer details. I am not able to get the printer details from Azure virtual machine(It works fine in my network). Allowed SNMP ports in Azure EndPoints (

  • Forgot FileVault 2 password to Macbook Air, how to reinstall?

    I have a recent Macbook Air that has file vault 2 installed. I reset my password this morning, but cannot remember it at all this afternoon. I have all my files backedup so I am not worried about data loss. So I went to do a reinstall from the recove