Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Need Help and Codes im a new bee

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need Help and Codes im a new bee

    Hello EveryOne im begginer so Guys

    ****
    can you help me with this
    how can i count the occurrence of the character ('a') in the String
    Alphabet ?

    and also this our assignment :
    1.Implement the following integer methods.
    a.Method celsius returns the Celsius equivalent of a Fahrenheit temperature using the calculation C= 5.0 / 9.0 *(F-32);
    b.Method Fahrenheit returns the Fahrenheit equivalent of a Celsius temperature.
    F= 9.0 / 5.0 *C+32;

    c. Use these methods to write an applet that enables the user to enter either a Fahrenheit temperature and display the Celsius equivalent or enter a Celsius temperature and display the Fahrenheit equivalent.
    (NOTE: This applet will require the two JTextField objects that have registered action event. When action Performed is invoked. the ActionEvent parameter has method getSource() to determine the GUI component with which the user interacted.
    Your actionPerformed method should contain an if/else structure of the following form:
    If(e.getSource() == input1){
    //process input1 interaction here
    }
    Else{ // e.getSource() == input2
    //process input2 interaction here
    }
    Where input1 and input2 are JTextField references)

    what will i gonna do ?
    can you help me with the codes
    Thank you so Much !


  2. #2
    Forum Squatter newbie's Avatar
    Join Date
    Nov 2010
    Location
    North Wales
    Posts
    661
    My Mood
    Stressed
    Thanks
    28
    Thanked 115 Times in 106 Posts
    Blog Entries
    1

    Default Re: Need Help and Codes im a new bee

    You need to understand something, nobody is going to write up your entire assignment for you, but we are willing to help you with it. This help however, is dependent on you showing good faith. Show us what you've attempted, what is going wrong for you, and the error messages etc that you get. Once you can do this and when you've reworded your question, we can go places.
    Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code

Similar Threads

  1. Please analyze my codes.
    By Lee JaeWoo in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 1st, 2013, 11:35 AM
  2. Help for my codes
    By noobie in forum What's Wrong With My Code?
    Replies: 28
    Last Post: March 21st, 2013, 10:31 AM
  3. need help with loops and codes..
    By akocnivek in forum Loops & Control Statements
    Replies: 1
    Last Post: October 19th, 2012, 02:02 AM
  4. Help me please with my codes
    By sara92 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: October 12th, 2012, 11:52 AM
  5. Looking for help on two codes:
    By captianjaax in forum What's Wrong With My Code?
    Replies: 24
    Last Post: September 20th, 2011, 11:49 PM