Search:

Type: Posts; User: Caffeine

Page 1 of 2 1 2

Search: Search took 0.20 seconds.

  1. [SOLVED] Re: Why should a programmer follow GUI standards in programming the user interface?

    So it just comes down to the programmer and as long as you follow the syntax? Interesting. Thanks Ada, much more understanding now :)
  2. [SOLVED] Why should a programmer follow GUI standards in programming the user interface?

    I am new when it comes to the GUI interface and I am trying to understand it. Regarding my question, is it because the programmer should be clear and specific, such as using verbs that indicate the...
  3. [SOLVED] Re: Help With My DormAndMealPlanCalculator Assignment Please?

    Gotcha. Thanks for the tip.
  4. [SOLVED] Re: Help With My DormAndMealPlanCalculator Assignment Please?

    Okay I have it working correctly, but I feel it could use a touch up. I'm trying to add the width and height of the buttons but after putting it in different areas of the code, it doesn't seem to...
  5. [SOLVED] Re: Help With My DormAndMealPlanCalculator Assignment Please?

    I'll try that, thanks.
  6. [SOLVED] Re: Help With My DormAndMealPlanCalculator Assignment Please?

    No I haven't done that yet to be honest, thanks for the reminder of that.
  7. [SOLVED] Re: Help With My DormAndMealPlanCalculator Assignment Please?

    Of course I've written it, I've been working on it for the past week or two. Not to mention I have the book, but understanding this button stuff is difficult to grasp for me.
  8. [SOLVED] Help With My DormAndMealPlanCalculator Assignment Please?

    I've been working on my program for a while and I can't seem to figure it out, since I still consider myself new to the language. Anyways, my professor is looking for the GUI Application to calculate...
  9. Replies
    5
    Views
    135

    [SOLVED] Re: Dorm and Meal Plan Calculator

    Okay, I'll try that, thanks for the tips.
  10. Replies
    5
    Views
    135

    [SOLVED] Re: Dorm and Meal Plan Calculator

    Oh, and it's not meeting his requirements. See if I run my code now, everything displays in one box/pane with the total charges for the semester. He is not looking for that, he is looking for this:
  11. Replies
    5
    Views
    135

    [SOLVED] Re: Dorm and Meal Plan Calculator

    When I tried using the

    JOptionPane.showMessageDialog(total,
    "Total Charges For the Semester: ");,

    that box pops up but without the total charges and then I get errors in the console...
  12. Replies
    5
    Views
    135

    [SOLVED] Dorm and Meal Plan Calculator

    I'm a bit confused about my program. I have it all working great, but my professor is expecting a different output. He wants a box where you select your dormitory and meal plan, with "Calculate...
  13. Replies
    0
    Views
    20

    [SOLVED] Slight Help with my PayRoll Program

    Hello again, I have a slight problem that's probably easy to fix but I can't figure it out. For the program, my professor is looking for an output like:


    ERROR: Enter 0 or greater for hours:
    ...
  14. Replies
    3
    Views
    29

    [SOLVED] Re: HotelOccupancy

    Okay, I got rid of
    totalRooms += rooms in the first while loop. And I changed the
    occupancyRate = (totalOccupiedRooms % totalRooms); to
    occupancyRate = ((double)totalOccupiedRooms /...
  15. Replies
    3
    Views
    29

    [SOLVED] HotelOccupancy

    I'm having trouble with the mathematical parts of my code and I can't seem to spot the problem(s). I've messed around but it becomes worse. Here's my code:


    package chapter5;

    // Imports...
  16. Replies
    9
    Views
    52

    [SOLVED] Re: SoftwareSales Program

    Looks good, yeah I apologize for the confusion, I myself was because of the calculations. But I'll def consider the revised code you provided, right now going to take a break from all this coding....
  17. Replies
    9
    Views
    52

    [SOLVED] Re: SoftwareSales Program

    40 * 99 = $3,960

    $3,960 - $1,188.00 (discount) = $2,772.00

    So yes that is correct. And that seemed to of fixed it all. Thank you greatly for your help Koder, much appreciated.
  18. Replies
    9
    Views
    52

    [SOLVED] Re: SoftwareSales Program

    Making that change, now my output displays:


    Enter the units sold: 100
    Units sold: 100.0
    Discount: $4,950.00
    Cost: $4,950.00

    Update:
  19. Replies
    9
    Views
    52

    [SOLVED] Re: SoftwareSales Program

    I'm just suspecting my output is funny and/or wrong. This is what I get after making that slight change:


    Enter the units sold: 100
    Units sold: 100.0
    Discount: $4,950.00
    Cost: $4,851.00
    ...
  20. Replies
    9
    Views
    52

    [SOLVED] SoftwareSales Program

    Hello, I'm having trouble with my SoftwareSales.java program that involves another demo part. I have it running but my output seems off, something tells me its a simple fix but I'm having trouble...
  21. Replies
    19
    Views
    72

    [SOLVED] Re: Help with Employee Class

    Thank you.
  22. Replies
    19
    Views
    72

    [SOLVED] Re: Help with Employee Class

    I'll soon find out :)

    Thank you all for your help, I appreciate it.
  23. Replies
    19
    Views
    72

    [SOLVED] Re: Help with Employee Class

    Yeah both EmployeeDemo.java and Employee.java are separate, but both are in the chapter3 folder. And after running the EmployeeDemo.java file, it did compile and execute with the output I posted....
  24. Replies
    19
    Views
    72

    [SOLVED] Re: Help with Employee Class

    Yeah he mentioned how running the Employee.Demo will use the Employee.java as a sub file. So when putting both files in the same destination folder and running the Demo.java file, I get this output:...
  25. Replies
    19
    Views
    72

    [SOLVED] Re: Help with Employee Class

    When speaking to my professor over email, he tells me they are 2 separate .java files, and that

    I'm failing to understand how to get the 2 separate files to work.
Results 1 to 25 of 29
Page 1 of 2 1 2