Search:

Type: Posts; User: gpelefty90

Search: Search took 0.07 seconds.

  1. Carpet Calculator Problem using aggregation

    Hi this is what i am supposed to do:
    RoomDimension: First, you should create a class named RoomDimension that has two fields: one for the length of the room, and one for the width. The...
  2. Replies
    3
    Views
    1,408

    Re: Creating an Intstance in an ArrayList

    Thank you that did work but everytime i try and print the results in JOPtionPane i get this as a result "Program_4.PhoneBook@863399"

    I dont know what this means
  3. Replies
    3
    Views
    1,408

    Creating an Intstance in an ArrayList

    Hi I am supposed to create a class and create a constructor and accessors and mutators. then i must create a program that crates 5 instance objects of the PhoneBook class and stores them in an...
  4. Replies
    1
    Views
    1,617

    Action Listener?user input problem

    Hi, I have alot of confusion with a program I am supposed to write. The GUI App is supposed to take information from the user, that information is: Number of days on trip, amount of airfare, amount...
  5. Replies
    3
    Views
    1,590

    Re: GUI Application problem! HELP Please!

    Thank you for your reply. I am still confused on how to align the JLabel to a JTextField. I was wondering if you could show me example. It seems i have to put all of these fields in a Layout to...
  6. Replies
    3
    Views
    1,590

    GUI Application problem! HELP Please!

    Hi, I have alot of confusion with a program I am supposed to write. The GUI App is supposed to take information from the user, that information is: Number of days on trip, amount of airfare, amount...
  7. Replies
    4
    Views
    2,099

    Re: Constructor/Accessors/methods problem!!

    Thank you! one problem though. I am supposed to display the speed each time the accelrate method is called and each time the brake method is called
  8. Replies
    4
    Views
    2,099

    Constructor/Accessors/methods problem!!

    Hi Here is my following problem:

    I have 3 fields:
    yearModel
    make
    speed

    the class is labeled Car.

    I must create a cosntructor thast accepts the cars year model and make as arguments. these...
  9. Replies
    10
    Views
    2,116

    Re: Help with Control statements/methods!!

    I have written my code and almost everything is write except i can not get the determineGrade method to work. the calcAverage method works great but i can not get the other method to work.

    here is...
  10. Replies
    10
    Views
    2,116

    Re: Help with Control statements/methods!!

    and then you write that methodName outside the main method and describe what the method should be calc. right?
  11. Replies
    10
    Views
    2,116

    Re: Help with Control statements/methods!!

    I apologize for the confusion. but yes that is what i ment. I am confused on how to construct the main method in order for it to call the two sub methods and pass them the arguments
  12. Replies
    10
    Views
    2,116

    Re: Help with Control statements/methods!!

    yes, i know how to create the two sub methods but what i am confused about is how to create the main method to pass it to the two sub methods.
  13. Replies
    10
    Views
    2,116

    Help with Control statements/methods!!

    Hi, I am having trouble figuring out how to put all of this code together since it combines methods and if else statements. I was wondering if anyone could help me out. Here is the problem:

    Write...
  14. copying numbers stored in one 2d array into a new 2d array with different dimensions.

    Here is the problem:

    Write a program that creates a 2 dimensional array X containing 4*6 elements. Store numbers from 1-24 in the array. Create another array Y that can store 3*8 elements. Write a...
Results 1 to 14 of 14