Search:

Type: Posts; User: jbarcus81

Search: Search took 0.28 seconds.

  1. Major Help, SAVE ME!! Java Dice Game - Keep Score?

    I have got my code working 100%, I took bits and pieces from other open source java files to help build this up.. but the issue I am having is this.. I need the code to keep track of the scores once...
  2. Replies
    4
    Views
    2,985

    Re: StdDraw Cannot be Resolved??

    Holy crow!! Is there an easier way to do this ? I'm just trying to draw a heart... lol... can this be similar to drawing a smiley face? I can do that!! 8-}
  3. Replies
    4
    Views
    2,985

    StdDraw Cannot be Resolved??

    I found some code online to draw a pink heart.. sort of a valentine's day heart.. I would like to add to it and customize it some... But I can't get it to work as-is.. I get a compile error that...
  4. Replies
    3
    Views
    2,308

    Re: Wheel of Fortune - Simple Game

    Ok... here is my start..



    public void initBoard(int player)
    {
    players[player].initMyBoard(locInPuzzleBoard);
    }
  5. Replies
    3
    Views
    2,308

    Re: Wheel of Fortune - Simple Game

    I would like there to be a button at the least to reset the current player total ... but I'm thinking this should all be included with the 'New Game' module.. Because clicking the 'New Game' button...
  6. Replies
    3
    Views
    2,308

    Wheel of Fortune - Simple Game

    Well my Java class has been assigned to design a basic Wheel of Fortune game !! Sounds fun right? WRONG!! LoL.. Here is the thing, we have each been given a portion of the game to code, I got the...
  7. Replies
    13
    Views
    2,338

    [SOLVED] Re: Calculating Commission with a GUI???

    Well I just found out the code was handed out because we all bombed on the test ... so here is the code I should have come up with on my own.. Now, in my opinion, this is way advanced for where we...
  8. Replies
    13
    Views
    2,338

    [SOLVED] Re: Calculating Commission with a GUI???

    The code at line 30 is
    rate = 0.08;

    I'll look into the compiler to get more details.. But I think I have some code out of place... seems logic.
  9. Replies
    13
    Views
    2,338

    [SOLVED] Re: Calculating Commission with a GUI???

    Red all over? That's not an industry term? I'm newer at this than I thought.. LoL.. /joking.. Here is the output of Eclipse...
  10. Replies
    13
    Views
    2,338

    [SOLVED] Re: Calculating Commission with a GUI???

    I need a GUI to collect the information.. in my original post I did up an image if you click the link of what my final product should be.. I'm having trouble getting there.. but Eclipse is having a...
  11. Replies
    13
    Views
    2,338

    [SOLVED] Re: Calculating Commission with a GUI???

    import javax.swing.JOptionPane;
    import java.text.DecimalFormat;

    public class Commission
    {
    public static void main(String[] args)
    {
    String input;
    double sales;
    double rate;
  12. Replies
    13
    Views
    2,338

    [SOLVED] Re: Calculating Commission with a GUI???

    Now I can use else/if or switch's ... here is what I have so far and I've got errors all over... it's my else/if's ...


    if (sales >= 400000)
    rate = 0.1;
    else if (sales >= 300000)...
  13. Replies
    13
    Views
    2,338

    [SOLVED] Calculating Commission with a GUI???

    I'm back!! Your neighborhood noob extraordinaire!! Here's my problem.. I've not got enough code just yet to post but I'm just totally lost!!!!




    I'm lost guys.. I'm going to do my best and...
  14. Re: Employee Class Exercise... Code will not run!!!!

    I figured it out!! I can't believe how close I was and how simple the solution is... But I got it and it's functioning 100%!!! Thanks for the help!! But I'll be back no doubt!!



    ...
  15. Re: Employee Class Exercise... Code will not run!!!!

    You guys have me soooo close I can taste it!! But I am going to sleep on it.. I'm gonna throw what I have to my professor and see what she can clear up that I'm not seeing.. I greatly appreciate the...
  16. Re: Employee Class Exercise... Code will not run!!!!

    Am I any closer? I'm about to bang my head on the desk...




    System.out.println( "Now applying a 10% raise to each employee and displaying additional yearly income.\n");...
  17. Re: Employee Class Exercise... Code will not run!!!!

    Nope.. haven't figured it out.. I am still most likely overlooking it!! This seems so simple yet I can't get my head around it.. I've tried a couple of things but they haven't worked... Grrr!!
  18. Re: Employee Class Exercise... Code will not run!!!!

    Now I have figured out how to calculate the extra 10% that they will get per year.. but I can't figure out how to show a total... I have this..




    System.out.println( "Now displaying...
  19. Re: Employee Class Exercise... Code will not run!!!!

    Been a long evening!! LoL.. Let me see here...
  20. Re: Employee Class Exercise... Code will not run!!!!

    I really appreciate the help!!!



    System.out.println( "Now displaying employees' full names and annual salary.\n");
    System.out.println( employee1.getfirstName() + " " +...
  21. Re: Employee Class Exercise... Code will not run!!!!

    Please excuse my noobness but which comma? All of them? I think I understand, I just want to be clear..
  22. Re: Employee Class Exercise... Code will not run!!!!

    Ok.. so I changed lines 43 - 49 to this...




    System.out.println( "Now displaying employees' full names and annual salary.\n");
    System.out.println( employee1.getfirstName()," ",...
  23. Re: Employee Class Exercise... Code will not run!!!!

    I fixed it!! I clicked on the syntax error and then clicked to "Fix project setup" .. Now it will run.. BUT ... it isn't running correctly ... not at all...


    after I run.. I get an output of this...
  24. Employee Class Exercise... Code will not run!!!!

    I got what seems to be a simple exercise with a simple answer.. However, I can't get this code to run properly!! I'm just starting a course at my local community college and am using Java How to...
Results 1 to 24 of 24