Search:

Type: Posts; User: KevinGreen

Search: Search took 0.25 seconds.

  1. Replies
    1
    Views
    922

    Kill the Mice!

    Hi all. I'm trying to get a jump start on some homework for next semester and wanted to run this problem by you guys:

    A government research lab has concluded that an artificial sweetener commonly...
  2. Replies
    3
    Views
    1,519

    JComboBoxes & Events

    Hello all.

    I'm trying to figure out how to get a JTextField contents to change, based on what the user's current JComboBox selection is. I can get it to do it with JCheckBoxes, but I'm not...
  3. Replies
    2
    Views
    690

    [SOLVED] Re: Array Problem

    I found an extra pair of brackets. I think my IDE might not have been compiling it correctly or something. Oh well. Thanks for your help!
  4. Replies
    2
    Views
    690

    [SOLVED] Array Problem

    Hi everyone. I'm trying to finish up this bit of code for some homework, but I can't quite figure out where I'm going wrong. I can get the code to print out fine, but when it goes to itemPrice =...
  5. Replies
    2
    Views
    802

    Re: Operator Problem

    After much screaming, I get them to sort out a little; but I'm having trouble with the print. I want:

    Line 1: 2, 4, 6, 8...
    Line 2: 22, 24, etc etc.

    How do I insert the Line 1: text in the if...
  6. Replies
    2
    Views
    802

    If Else Problem

    See post blow. :(
  7. Replies
    9
    Views
    1,151

    Re: Where am I going wrong? :)

    I fixed some of the problems; still getting some errors:


    public class DebugThree1
    {
    public static void main(String[] args)
    {
    double myCheck = 50.00;
    double...
  8. Replies
    9
    Views
    1,151

    Re: Where am I going wrong? :)

    Still throwing errors? :(


    calcTip(myCheck,RATE);
    calcTip(yourCheck,RATE);
  9. Replies
    9
    Views
    1,151

    Where am I going wrong? :)

    I'm trying to figure out this whole java thing... maybe I should gone into agriculture.. :-)


    public class TipCalculator

    {

    public static void main(String[] args)

    {
  10. Thread: Stumped?

    by KevinGreen
    Replies
    1
    Views
    503

    Stumped?

    Here's my code:


    import java.util.Scanner;
    public class Main
    {
    public static void main(String[] args)
    {
    int entry;
    Scanner keyBoard = new...
  11. Replies
    5
    Views
    2,914

    Re: Java Code Help - Calling Method

    Thanks.

    NetBeans is still throwing an error: 'non-static meth cube(double) cannot be referenced from a static context'.

    What does that mean?
  12. Replies
    5
    Views
    2,914

    Re: Java Code Help - Calling Method

    Thank you for your help. I'm still a little off, as I can't get it to work right. :(


    // get the value squared
    double squared = square(value);
    // print it out
    ...
  13. Replies
    5
    Views
    2,914

    Java Code Help - Calling Method

    Hi everyone. I'm a new high schoolin' java student, working my way through this workbook. I'm trying to figure out how to call a method from another method. Here's what I need my code to do:

    Input...
Results 1 to 13 of 13