Search:

Type: Posts; User: Bradshjo

Search: Search took 0.23 seconds.

  1. Replies
    2
    Views
    599

    [SOLVED] Re: Calculator help

    thanks a lot it worked...stupid error that costed me hours. But thats programming sometimes.
  2. Replies
    2
    Views
    599

    [SOLVED] Calculator help

    I am making a simple program the user enters in a number using JButtons 0-9 and then the user clicks gallons or miles to add the number to one or the other. Here is my code:

    import...
  3. Replies
    1
    Views
    1,956

    Dice Program Help

    I have to roll a pair of dice and count the number of box cars (two sixes) that occur, here is what I have:

    import java.util.*;

    public class BoxCar{

    public static void main...
  4. Replies
    4
    Views
    620

    [SOLVED] Re: Help with Code

    ok i found out how to do it...thanks
  5. Replies
    4
    Views
    620

    [SOLVED] Re: Help with Code

    Ok when I did the print out, pushing the increment button worked, it keep adding on top of the set value of 50. But what I want to do is to have the JLabel figure that is at 50 currently to increase...
  6. Replies
    4
    Views
    620

    [SOLVED] Help with Code

    Ok so I have to use two buttons, one increment and one decrement. Also I must display a label with a number in it. When one of the buttons are pushed, the number in the label will either decrease...
  7. Replies
    1
    Views
    472

    Inserting Image Help

    I need help inserting a picture, I would like the picture centered and on top of the JPanel above "JLabel Header 1"...where and how would i do this? I have this so far:

    ImageIcon icon = new...
  8. Replies
    6
    Views
    521

    Re: Converting Cases Help

    How do you use substring to chop of the rest? I got this so far:

    System.out.println("Please enter the Driver's first name: ");
    String fName = scan.next();
    fName =...
  9. Replies
    6
    Views
    521

    Converting Cases Help

    I can't get this to work:

    Have the name (first and last) appear using the following format: all letters are lower case except for the first letter of the first and last name: (e.g., John...
Results 1 to 9 of 9