New to Java, where do I start??!?!

Hello everyone, let me just introduce myself. My name is Jeff and I am from PA, I am a recent graduate of Penn State university with a bachelors of science in information science and technology, application/integration. My major dealt with alot of analysis/requirements/testing/planning/documentation, with a little bit of programming in such interfaces as HTML, CSS, ASP.Net, and I had one Java course which I could have done better in.
I started my career for a very large well known company in an entry level position. I went in with very little development skills, in the languages that we use here. Mostly everything is Java/Javascript, both of which I am pretty clueless about. They also do alot of web 2.0 stuff using ajax/xml/dojo. I just want to have some suggestions on how I could maybe learn this language a little better, I am not getting anything really so far, because ive just been doing e-learnings and such. I want to start shadowing the developers, but I dont want to go in seeming stupid! Who has some suggestions?

Hi and welcome.
This is the beginner's set:
[Sun's basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
[Sun's New To Java Center|http://java.sun.com/learning/new2java/index.html]
Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
jGuru
A general Java resource site. Includes FAQs, forums, courses, more.
JavaRanch
To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
[Yawmarks List|http://forums.devshed.com/java-help-9/resources-for-learning-java-249225.html]
[The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance]
[http://javaalmanac.com|http://javaalmanac.com]
Bruce Eckel's [Thinking in Java(Available online.)|http://mindview.net/Books/DownloadSites]
Joshua Bloch's [Effective Java|http://www.amazon.com/Effective-Java-2nd-Joshua-Bloch/dp/0321356683]
Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance]
James Gosling's [The Java Programming Language|http://www.amazon.com/Java-TM-Programming-Language-4th/dp/0321349806/ref=sr_1_1?ie=UTF8&s=books&qid=1247059012&sr=1-1]
Gosling is the creator of Java. It doesn't get much more authoritative than this.
Joshua Bloch and Neal Gafter [Java Puzzlers.|http://www.javapuzzlers.com/]

Similar Messages

  • New to IOS, where do I start?

    Hello everybody,
    I am new in apple environment, never use Mac OS before or have apple's hardwares (pc/iphone/ipad).
    I am interested to build application for iphone or ipad.
    I have computer ready to install for Mac OS. Someone offers me Mac OS 10.5.7 for a good price.
    With these hardware and OS ready, where do I start? I have a looked on Xcode 3.26 and IOS SDK for Snow Leopard in apple's download section. Is this application supported in Mac OS 10.5.7?
    Thanks in advance and regards,
    incendio.

    Thanks for your reply.
    I am aware about this program, but since I am new, I want take a round for a while in apple development first before decided to getting more serious with this no free programs.
    incendio.

  • Learning Java - Where do I start

    I would like to learn Java programming. I have solid background in OOP. Please let me know where I can start and how I can get hands-on experience
    Thank you

    You need both good programming tools and books:
    1. download JDK131 from sun and install it;
    2. download Forte for Java 3.0 from sun and install it;
    3. download Java tutorial and other documents from sun
    and read it.
    then you can start.

  • New to mac where do i start

    I just received my new macbook pro today and am totally new to mac (had pcs forever).  Any suggestions on where to start or helpful hints?

    download "cheatsheet" on app store.
    its free and you can know all the shortcuts for each individual app.
    just press command key (the one with apple logo on it) and the screen will show you a screen of all the shortcuts on that app.
    tip #1
    dont edit folders and subfolders, learn how to manage your itunes, iphoto, aperture, documents inside the app.
    tip#2
    create an apple id
    https://appleid.apple.com/ca/
    and go to your macbook pro Settings, icloud, and log in
    iCloud will be your back up for your contacts, Mail, iCalendar, etc. Even Find my iPhone. and it will sync to all your apple devices seamlessly.
    tip#3
    learn to back up with Time Machine.
    hope that helps.

  • New to GUI where do i start....

    hi i have this project the first half was to build a flight reservation program that took the flights of passengers etc etc i finished that and everything worked that was built using bufferreader now i gotta turn it to a GUI using jtapped pannels now im pretty sure i can figure it out i just need to get the right start like this is my main
    import java.io.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    public class Reservation {
         ArrayList airlineList = new ArrayList();
         private void makeReservation(Passenger p) {
              for (int i=0; i<airlineList.size(); i++)
                   Airline a = (Airline)airlineList.get(i);
                   a.addPassenger(p);
         private void listAllPassengers(String a) {
              for (int i = 0; i < airlineList.size(); i++) {
                   Airline a2 = (Airline) airlineList.get(i);
                   if (a2.getAirline().equals(a)) {
                        System.out.println(a2);
                        ArrayList pList = a2.getPassengerList();
                        for (int j = 0; j < pList.size(); j++) {
                             Passenger pL = (Passenger) pList.get(j);
                             System.out.println(pL.toString());
                   } else {
                        System.out.println("The Airline you entered doesn't exist!");
         private void checkReservation(long confNo) {
         for (int i = 0; i < airlineList.size(); i++) {
                   Airline a2 = (Airline) airlineList.get(i);
                   ArrayList pList = a2.getPassengerList();
                   for (int j = 0; j < pList.size(); j++) {
                        Passenger pL = (Passenger) pList.get(j);
                        if (confNo == pL.getconfNo()) {
                             System.out.println(pL.toString());
                        } else {
                             System.out.println("Confirmation number doesn't match!");
         private void listAllAirlines() {
              for (int i = 0; i < airlineList.size(); i++)
                   Airline a = (Airline)airlineList.get(i);
                   System.out.println(a.toString());
         private void addAirline(String aairLine, String aCarrier, String atype, int aCapacity, String departureCity, String arrivalCity) {
              Airline lAirline = new Airline(aairLine);
              lAirline.setAirline(aairLine);
              lAirline.setCarrier(aCarrier);
              lAirline.setArrivalCity(arrivalCity);
              lAirline.setDepartureCity(departureCity);
              lAirline.setCapacity(aCapacity);
              airlineList.add(lAirline.toString());
         System.out.println(lAirline.toString());
         BufferedReader br;
         public static void main(String[] args) {
              Reservation menu = new Reservation();
              menu.menup();
              public void menup()
                   System.out.println("");
                   System.out.println("1. Reservation");
                   System.out.println("2. Cancellation");
                   System.out.println("3. List All Airlines");
                   System.out.println("4. List Passengers by Flights");
                   System.out.println("5. Check Reservation");
                   System.out.println("6. Add an Airline");
                   System.out.println("7. Quit");
                   br = new BufferedReader(new InputStreamReader(System.in));
                  Passenger p = new Passenger();
                  Reservation r = new Reservation();
                  Airline a = new Airline();
             try {
                      String str = br.readLine()  ; 
                      int i = Integer.parseInt(str);
                      switch(i)
                                        case 1:
                                        System.out.println("Please enter your name");
                                        p.setName(br.readLine());
                                        System.out.println("Please enter your sex");
                                    br.readLine();
                                    System.out.println("Please enter Departure City");
                                    p.setDepartureCity(br.readLine());
                                        System.out.println("Please enter Arrival City");
                                        p.setArrivalCity(br.readLine());
                                  menup();
                                  case 2:
                                  System.out.println("Enter comfirmation number to cancel");
                                  String c = br.readLine();
                                  long cnum = Long.parseLong(c);
                                  menup();
                                       case 3:
                                 System.out.println("List All Airlines");
                                 listAllAirlines();
                                 menup();
                                    case 4:
                                  System.out.println("Enter Airline:");
                                  String aName = br.readLine();
                                  listAllPassengers(aName);
                                  menup();
                                  case 5:
                                  System.out.println("Enter Confirmation number to check Reservation:");
                                  String c2 = br.readLine();
                                  Long cn2 = Long.parseLong(c2);
                                  checkReservation(cn2);
                                  menup();
                                 case 6:
                                 System.out.println("Please enter Airline");
                                 String aline = br.readLine() ;
                                 System.out.println("Please enter Airline Carrier");
                                 String carrier = br.readLine() ;
                                 System.out.println("Please enter Airline Type");
                                 String atype = br.readLine() ;
                                 System.out.println("Please enter Capacity");
                                        String cap = br.readLine() ;
                                        System.out.println("Please enter Departure City");
                                        String depart = br.readLine() ;
                                        System.out.println("Please enter Arrival City");
                                        String arrive = br.readLine() ;
                                        int capacity = Integer.parseInt(cap);
                                        addAirline(aline, carrier, atype, capacity, depart, arrive);
                                        menup();
                     catch (IOException ioe)
                       System.out.println("Error with input");
                       System.exit(1);
    }     so do i have to enter the gui code in the main like the menu i made each one of them has to go in a tab so do i start a new class if someone can help me start that would be great or any ideas places i can look too thanks
    Message was edited by:
    Stulloch

    Hi,
    I haven't viewed all of your code and probably the other ten views so far haven't either. Look up MVC, model view controller pattern. You already have the model and a console view so far if I follow? if so then adapt your code to a swing GUI. Failing this ask a more theoretical question for now.

  • New to Photoshop WHERE do I start?? HELP

    So I have purchased photoshop 3 for mac 2 weeks ago. I have read the pfd file on getting started. I have browsed through this site but after daily tinkering on the computer with PSE 3.0 I still feel like I know NOTHING and-don't know where to start.
    Can anyone direct me to a good and through "getting started" place?
    I see that a bunch of really cool things can be done with this software but I don't know how. I feel like I may just have to revert back to editing in iphoto...

    One thing to do is get
    this book.
    Open PSE. In the upper left click on the folder icon with the magnifying glass on it.
    That gives you your HD.
    Navigate to a folder with photos, click on it.
    Double click on an image and go nuts.
    You can also set iPhoto to open an image in PSE, when double clicked.
    Find that in iPhoto preferences.

  • How can I open help file (HTML or .chm) from Java Web Start (new to JAVA)

    Hi All,
    Im trying to open the help file of my application.
    When trying to access the help file from the GUI (pressing F1 for launching the help file), I'm geting the an error, something like:
    "Can't show help URL: jar:file:C:\Documents and Settings\%USER%\Application Data\Sun\Java\Deployment\javaws\cache\http\Dlocalhost\P7001\DMwebstart\RMjar-name!/com/resources/helpFiles/MyHelpFile.html"
    It seems that the file which is packed in a jar, was downloaded to the Java Web Start cache directory:
    C:\Documents and Settings\%USER%\Application Data\Sun\Java\Deployment\javaws\cache\http\Dlocalhost\P7001\DMwebstart
    The code which is activated when launching the help file is:
    try
                ResourceBundle resourceBundle = DoubleResourceBundle.getBundle("Resource", "ResourceImpl");
                RuntimeUtil.launchFile(new File(resourceBundle.getString("help.file")));
            } catch (IOException e)
                // TODO Auto-generated catch block
                e.printStackTrace();
            }where the property "help.file" is in some property file in the resource bundle named "Resource", and looks like this :
    help.file="com/trax/docs/help/global/MyHelpFile.html"
    The function "RuntimeUtil.launchFile" knows how to launch any file in its default application, and indeed it does launches the html, when giving it an absolute path to the file on my PC, as "C:\Helpfiles\MyHelpFile.html" as such:
    RuntimeUtil.launchFile("C:\Helpfiles\MyHelpFile.html");My question is :
    The application is going to be deployed on a Customer PC. How can I access the html file from the code, with a relative path and not its absolute path on the customer pc, which I can't know?
    I found these restrictions regarding web start:
    (copied from "http://rachel.sourceforge.net/"):
    *Rule 1: Java Archives only. No loose files.* All your resources have to be packaged in Java Archives (jar) if you want to have
    them delivered to the user's machine and kept up-to-date automatically by Java Web Start.
    *Rule 2: No file paths.* You can't use absolute or relative file paths to locate your
    jars holding your resources (e.g. <code>jar:file:///c:/java/jws/.cache/resources.jar</code>).
    Absolute file paths won't work because you never know where Java Web Start
    will put your jar on the user's machine. Relative file paths won't work because Java Web Start
    mangles the names of your jars (e.g. <code>venus.jar</code> becomes <code>RMvenus.jar</code>)
    and every JNLP client implementation has the right to mangle your names
    in a different way and you, therefore, can't predict the name with
    which your jar will be rechristend and end up on the user's machine in
    the application cache.Seems complex or impossible, to perform a simple task like opening a file.
    Please advise (I'm new to Java and Web Start).
    BTW, I'm working with IntelliJ IDEA 5.0.
    Thanks,
    Zedik.
    {font:Tahoma}{size:26pt}
    {size}{font}

    the follwing method i have used to open html file ...
    so to access html file i am shipping resources folder with jar file ..
    private void openHtmlPages(String pageName) {
         String cmd[] = new String[2];
         String browser = null;
         File file = null;
         if(System.getProperty("os.name").indexOf("Linux")>-1) {
              file = new File("/usr/bin/mozilla");
              if(!file.exists() ) {
              }else     {
                   browser = "mozilla";
         }else {
              browser = "<path of iexplore>";
         cmd[0] = browser;
         File files = new File("");
         String metaData = "/resources/Help/Files/"+pageName+".html"; // folder inside jar file
         java.net.URL url = this.getClass().getResource(metaData);
         String fileName = url.getFile();
         fileName = fileName.replaceAll("file:/","");
         fileName = fileName.replaceAll("%2520"," ");
         fileName = fileName.replaceAll("%20"," ");
         fileName = fileName.replaceAll("jarfilename.jar!"," ").trim();
         cmd[1] = fileName;     
         try{
              Process p = Runtime.getRuntime().exec(cmd);
         }catch(java.io.IOException io){
                   //Ignore
    can anyone give me the solution..???
    Regards
    Ganesan S

  • Want to install Indesign on my new computer but am having trouble. First bought CS2 in 2009 and upgraded to 7.5 in 2011. I have the serial numbers for both and was able to use it on my last computer. Where do I start?

    want to install Indesign on my new computer but am having trouble. First bought CS2 in 2009 and upgraded to 7.5 in 2011. I have the serial numbers for both and was able to use it on my last computer. I don't use Indesign that often but there are some projects that it's good for. Where do I start?

    Lchrichton123 what version of InDesign specifically are you wishing to install?  You can find links to the installation files for the majority of Adobe Creative software titles at Other downloads

  • New to BSP. Where do I start from?

    Hi experts,
            I am new to BSP. I see lot of things in BSP like tag libraries, extensions and BHTML.
    1.Can somebody tell me in a simple way what are the components of BSP programming?
    2.When to use tag libraries, extensions and BHTML. What is the difference between them?
    3.Where do I start from in order to learn BSP?
    4.Are there any books on BSP to start with?
    Please help!
    Thanks
    Gopal

    Hi Gopal,
    Go through the following links :
    http://help.sap.com/saphelp_47x200/helpdata/en/e5/edae3b59e17646e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/101c3a1cf1c54be10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/21/8cec3ada87e076e10000000a11405a/frameset.htm
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/24
    Reward points if helpful.
    Thanks,
    Ramya.

  • I'm New in SDK developing Where can I start?

    Hi I'm New and afraid.
    In the company have a call manager and IP phones but now we want to develop services and I have no fugest IDEA, where can I start to develop services.

    Download the SDK (http://www.cisco.com/cgi-bin/dev_support/access_level/product_support), install it, read the documentation and look at the samples.

  • Where Can I Start Java 2D

    Hi all :
    I am new to java 2d and I find it is so hard to start working on it. The API is difficult to learn.
    Can someone get any suggestions to me ?
    Thanks,
    James

    The following link is a good starting-place:
    http://java.sun.com/j2se/1.4/pdf/j2d-book.pdf
    I also read the following to get on speed:
    http://java.sun.com/j2se/1.4/pdf/VolatileImage.pdf
    google can also get you some interesting information,
    as well as different forums, such as the java2D-forum
    and the game development (speeding up your rendering,...)
    And you could also read some books, such as
    http://java.sun.com/developer/Books/2dgraphics/
    http://www.amazon.com/exec/obidos/tg/detail/-/0672316692/qid=1096890159/sr=1-1/ref=sr_1_1/103-3435799-6833446?v=glance&s=books
    I'm not sponsored by their publishers,
    these are books I've read and appreciated.
    There are of course many other splendid books.
    kind regards,

  • NEW TO SAP  -  WHERE TO START

    Hi all
    I am hoping you are able to advise. I am looking to change my career a little , from being a project manager to getting into SAP. However, as you all know its quite vast and varied. My background is Business Information Systems, so I know about development methodologies, programming, web applications etc. However, I dont consider myself to be very technical which is why I want to get into SAP to specialise in an area.
    My issue is that I dont know where to really start. Im thinking a combination of business objects and netweaver as I have a keen interest in web based applications. Obviously, I want to get into a field which is highly required and somewhat recession proof.
    What would you advise.Should I just start a general SAP course? and then develop on top of that or go straight into a specific component.
    Any advise on this would be very helpful.
    Thanks
    Jay

    Hi,
    After reading your posting I understood that right choice is Netweaver (BI) and concentrate on ESOA also.
    Read home page on the sdn for latest information in SAP.
    Please click [To Know SAP|http://help.sap.com/search/sap_trex.jsp] which gives any infomation about SAP.
    With Regards,
    Krishna.

  • I have just started with Logic X, having been a Logic 8 user for many years. I have some expensive plug-ins which are not being recognised by the news Logic. Where should I install them ?  YoursdisillusionedbyLogic

    I have some expensive plug-ins which are not being recognised by the new Logic. Where should I install them ? 
    I am using Mavericks OS, and I am considering transfering my choiceof DAW to Protools.
    YoursdisillusionedbyLogic

    Hi
    LPX only supports 64bit Audio Unit plugins. You probably need to get the latest updates for all of your plugs.
    Some plugs are not currently available as 64bit versions: you may want to try
    http://www.soundradix.com/products/32-lives
    CCT

  • New TO JAVA Programming

    Dear Forummembers,
    I am student doing postgraduate studies in IT.i have some queries related to one of my programming staff.i am very much new into Java programming and i am finding it a bit difficult to handle this program.The synopsis of the program is given below -
    You are required to design and code an object-oriented java program to process bookings for a theatre perfomance.
    Your program will read from a data file containing specifications of the performance,including the names of the theatre, the play and its author and the layout of the theatre consisting of the number of seats in each row.
    It will then run a menu driven operation to accept theatre bookings or display the current
    status of seating in the theatre.
    The name of the file containing the details of the performance and the theatre should be
    provided at the command line, eg by running the program with the command:
    java Booking Theatre.txt
    where Theare.txt represents an example of the data file.
    A possible data file is:
    Opera
    U and Me
    Jennifer Aniston
    5 10 10 11 12 13 14
    The data provided is as follows
    Line 1
    Name of the Theatre
    Line 2
    Name of the play being performed
    Line 3
    Name of the author of the play being performed
    Line 4
    A list of the lengths (number of seats) of each row in the theatre, from front to
    back.
    The program must start by reading this file, storing all the appropriate parameters and
    establishing an object to accept bookings for this performance with all details for the theatre
    and performance.
    The program should then start a loop in which a menu is presented to the user, eg:
    Select from the following:
    B - Book seats
    T - Display Theatre bookings
    Q - Quit from the program
    Enter your choice:
    And keep performing selected operations until the user�s selects the quit option, when the
    program should terminate.
    T - Display Theatre bookings
    The Display Theatre Bookings option should display a plan of the theatre. Every available
    seat should be displayed containing its identification, while reserved seats should contain an
    Rows in each theatre are indicated by letters starting from �A� at the front. Seats are
    numbered from left to right starting from 1. A typical seat in the theatre might be designated
    D12, representing seat 12 in row D.
    B - Book seats
    The booking of seats is to offer a number of different options.
    First the customer must be asked how many adjacent seats are
    required. Then start a loop offering a further menu of choices:
    Enter one of the following:
    The first seat of a selected series, eg D12
    A preferred row letter, eg F
    A ? to have the first available sequence selected for you
    A # to see a display of all available seats
    A 0 to cancel your attempt to book seats
    Enter your selection:
    1. If the user enters a seat indentifier such B6, The program should attempt to
    reserve the required seats starting from that seat. For example if 4 seats are
    required from B6, seats B6, B7, B8 and B9 should be reserved for the customer,
    with a message confirming the reservation and specifying the seats reserved..
    Before this booking can take place, some testing is required. Firstly, the row
    letter must be a valid row. Then the seat number must be within the seats in the
    row and such that the 4 seats would not go beyond the end of the row. The
    program must then check that none of the required seats is already reserved.
    If the seats are invalid or already reserved, no reservation should be made and the
    booking menu should be repeated to give the customer a further chance to book
    seats.
    If the reservation is successful, return to the main menu.
    2. The user can also simply enter a row letter, eg B.IN this case, the program should
    first check that the letter is a valid row and then offer the user in turn each
    adjacent block of the required size in the specified row and for each ask whether
    the customer wants to take them. Using the partly booked theatre layout above, if
    the customer wanted 2 seats from row B, the customer should be offered first:
    Seats B5 to B6
    then if the customer does not want them:
    Seats B10 to B11
    and finally
    Seats B11 to B12
    If the customer selects a block of seats, then return to the main menu. If none are
    selected, or there is no block of the required size available in the row, then report
    that no further blocks of the required size are available in the row and repeat the
    booking menu.
    3. If the user enters a ? the program should offer the customer every block of seats
    of the required size in the whole theatre. This process should start from the first
    row and proceed back a row at a time. For example, again using the partially
    booked theatre shown above, if the user requested 9 seats, the program should
    offer in turn:
    Seats A1 to A9
    Seats C1 to C9
    Seats C2 to C10
    Seats E3 to E11
    Seats E4 to E12
    If the customer selects a block of seats, then return to the main menu. If none are
    selected, or there is no block of the required size available in the whole theatre,
    then report that no further blocks of the required size are available and repeat the
    booking menu.
    4. If the user enters a # the program should display the current status of the seating
    in the theatre, exactly the same as for the T option from the main menu and then
    repeat the booking menu.
    5. If the user enters a 0 (zero), the program should exit from the booking menu back
    to the main menu. If for example the user wanted 9 seats and no block of 9 was
    left in the theatre, he would need to make two separate smaller bookings.
    The program should perform limited data validation in the booking process. If a single
    character other than 0, ? and # is entered, it should be treated as a row letter and then tested
    for falling within the range of valid rows, eg A to H in the example above. Any invalid row
    letters should be rejected.
    If more than one character is entered, the first character should be tested as a valid row letter,
    and the numeric part should be tested for falling within the given row. You are NOT
    required to test for valid numeric input as this would require the use of Exception handling.
    You are provided with a class file:
    Pad.java
    containing methods that can be used for neat alignment of the seat identifiers in the theatre
    plan.
    File Processing
    The file to be read must be opened within the program and if the named file does not exist, a
    FileNotFoundException will be generated. It is desirable that this Exception be caught and
    a corrected file name should be asked for.
    This is not required for this assignment, as Exception handling has not been covered in this
    Unit. It will be acceptable if the method simply throws IOException in its heading.
    The only checking that is required is to make sure that the user does supply a file on the
    command line, containing details of the performance. This can be tested for by checking the
    length of the parameter array args. The array length should be 1. If not, display an error
    message telling the user the correct way to run the program and then terminate the program
    System.exit(0);
    The file should be closed after reading is completed.
    Program Requirements
    You are expected to create at least three classes in developing a solution to this problem.
    There should be an outer driving class, a class to represent the theatre performance and its
    bookings and a class to represent a single row within the theatre.
    You will also need to use arrays at two levels. You will need an array of Rows in the Theatre
    class.
    Each Row object will need an array of seats to keep track of which seats have been reserved.
    Your outer driving class should be called BookingOffice and should be submitted in a file named BookingOffice.java
    Your second, third and any additional classes, should be submitted in separate files, each
    class in a .java file named with the same name as the class
    I am also very sorry to give such a long description.but i mainly want to know how to approach for this program.
    also how to designate each row about it's column while it is being read from the text file, how to store it, how to denote first row as row A(second row as row B and so on) and WHICH CLASS WILL PERFORM WHICH OPERATIONS.
    pls do give a rough guideline about designing each class and it's reponsibilty.
    thanking u and looking forward for your help,
    sincerely
    RK

    yes i do know that........but can u ppl pls mention
    atleast what classes shud i consider and what will be
    the functions of each class?No, sorry. Maybe somebody else will, but in general, this is not a good question for this forum. It's too broad, and the question you're asking is an overall problem solving approach that you should be familiar with at this point.
    These forums are best suited to more specific questions. "How do I approach this homework?" is not something that most people are willing or able to answer in a forum like this.

  • New to Java. Want to write a simple applet for a mobile phone.

    Hello,
    I want to write a simple java applet for a mobile phone. currently I am in the stage of thinking about whether this is possible in a timeframe of about a month. I have very little java experience from a while back so I'm pretty much starting from scratch.
    All I want is an applet that lets you send 2 or 3 variables to an online server. The server will then reposition telescopes.
    All i'm concerned with is the mobile phone part, which doesn't have to be secure or impressive. Just a simple interface.
    Ideally it should work on my nokia 6070, which occording to the official specs has the following java technology:
    MIDP 2.0
    CLDC 1.1
    JSR 120 Wireless Messaging API
    JSR 135 Mobile Media API
    Nokia UI API
    (I don't know what any of this means but am a good learner).
    Can anyone offer me any advice? Is this possible in my timeframe? where should I start? I need a editor and compiler also (I'm using windows XP).
    Many thanks and kind regards,
    Jason

    Actually it is working on my phone now.
    I changed the target platform in the wireless toolkit settings to MIDP 1.0
    Now to create the fields coordinate fields etc. I don't have much of a clue really.
    Current I have:
    import java.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class AtmosMIDlet extends MIDlet implements CommandListener
    Form WelcomeForm = new Form("AtmosMIDlet");
    StringItem WelcomeMes = new StringItem(null, "Please enter coordinates:");
    TextField Longitude = new TextField("Longitude", "", 3, TextField.NUMERIC);
    TextField Lattitude = new TextField("Lattitude", "", 3, TextField.NUMERIC);
    public AtmosMIDlet()
    try
    ImageItem logo = new ImageItem(Image.createImage("/logo.png"));
    WelcomeForm.append(logo);
    catch (java.io.IOException x)
    throw new RuntimeException ("Image not found");
    WelcomeForm.append(WelcomeMes);
    WelcomeForm.append(Longitude);
    WelcomeForm.append(Lattitude);
    WelcomeForm.addCommand(new Command("Exit", Command.EXIT, 0));
    WelcomeForm.setCommandListener(this);
    public void startApp()
    Display.getDisplay(this).setCurrent(WelcomeForm);
    public void pauseApp() {}
    public void destroyApp(boolean unconditional) {}
    public void commandAction(Command c, Displayable s)
    notifyDestroyed();
    I'm trying to get the image logo.png to display at the top but I get the error:
    C:\WTK25\apps\AtmosSpec\src\AtmosMIDlet.java:19: cannot find symbol
    symbol : constructor ImageItem(javax.microedition.lcdui.Image)
    location: class javax.microedition.lcdui.ImageItem
    ImageItem logo = new ImageItem(Image.createImage("/logo.png"));
    ^
    1 error
    com.sun.kvem.ktools.ExecutionException
    Build failed
    When I try to build.. Any help would be great.
    Ideally the image would be on a seperate screen for a couple of seconds.

Maybe you are looking for

  • After upgrading to ios 5, I can't share my calendar on ical

    My wife is able to share her calendar with me, but I can't share with her.  Most times when I go to the calendar tab, the share option is not available, only publish is.  Other times, share is available, but greyed out.

  • Please! I need someone help with a game

    I got this Error everytime the scene is reseted. I have no clue where mistake is made. Please help! TypeError: Error #1010: A term is undefined and has no properties.     at golfer_fla::MainTimeline/resetScene()     at golfer_fla::MainTimeline/golfer

  • How make menu button with unrolling thumbnails in as 3.0??

    Hello I need help with doing a menu with unrolling and rolling up buttons with thumbnails;  now I have someting like that (attachments) this was made by as 2.0 but I need help with changing this on as 3.0. if samobody have some ideas how can I do thi

  • Creating function description: "inconsistence in description detected ..."

    In my own NW RFC-SDK based application, I am trying to create a RFC module description the hard way, which is to not download such a description from a SAP system, but to craft the description on-the-fly using API functions RfcCreateFunctionDesc, Rfc

  • How to create an Area(or shape) from a set of points?

    In fact I want to accomplish a function which can fill an area of same color on an image, just like the Magic Wand tool in Photoshop. I have written a function to figure out the points which should be included in the Area, but I don't know how to cre