CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: khaahk

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    2,238

    Re: small help with java

    either use debugger to understand what the second for loop is doing or use this software:
    http://cs.joensuu.fi/jeliot/
    it visualizes the variables quite nicely...

    one way to do it is like this:...
  2. Replies
    1
    Views
    613

    Re: Error when running java program

    Try to remove the package info from the file header. Seems there is a problem with classpath or path.
  3. Replies
    2
    Views
    5,332

    Re: Error while running simple Java Program?

    This is surely not all code you have shown here. From the error it seems you have a problem with the GUI part of the program.
  4. Re: I don't know where to start... if one of you guys could, please help

    From the correct and understandable description of a problem and a question would be a good start.
  5. Replies
    2
    Views
    827

    Re: Clear a jcheckbox in a gui

    public void setSelected(boolean b)
    Sets the state of the button. Note that this method does not trigger an actionEvent. Call doClick to perform a programmatic action change.
    Parameters:
    b - true...
  6. Replies
    2
    Views
    2,492

    Re: Swap algorithm for arrays O(N)

    You are doing a swap to the right of the active array element. My understanding of the "swap all elements of the array with every possible combination of the elements of it" should give the result...
  7. Replies
    3
    Views
    4,996

    Re: Help with Arrays

    Your work so far?
  8. Replies
    1
    Views
    10,289

    Re: Event Based Query

    And the searchCustomerTable(str) is a java built in function...?

    -------------------------------------------
    ResultSet rs = db.searchCustomerTable(str);
  9. Replies
    2
    Views
    1,420

    Re: Help computing Pi!

    Each time you loop you overwrite the double finalpi with the statement
    double finalpi = pistart + piloop;
    pistart needs to be used only the first time. Either move it out of the loop or check if it...
  10. Re: Need help, I need to randomly change the size of programs balls

    You are missing the BouncingBall class here. To make a guess when you call the line:

    BouncingBall ball = new BouncingBall(x, y, 16, Color.blue, ground, myCanvas);

    ... the x and y are the...
  11. Re: Calling a Constructor results in unexpected output

    Works as expected. I get following output:
    ------------------
    label
    Stock@9304b1
    ------------------

    When you create the object with these arguments the constructor prints the label and assigns...
  12. Re: Calling a calculated variable from another class

    Make your variables non static, call these variables with a "this." keyword from within the class. You are not using the getter and setter methods within the Purchase class and at the moment you are...
Results 1 to 12 of 12





Click Here to Expand Forum to Full Width

Featured