Search:

Type: Posts; User: ilan

Search: Search took 0.08 seconds.

  1. Replies
    3
    Views
    1,550

    Re: How can I debug this code?

    I don't understand exactly what you are asking. I use Netbeans and place break points wherever I need.
  2. Replies
    5
    Views
    1,303

    [SOLVED] Re: Trouble with my while loop

    Shouldn't it be AND in place of OR
    while (pTotal < 100 && cTotal < 100)
  3. Replies
    3
    Views
    1,622

    Re: Need help with GUI

    Hi,
    My guess would be that isValidData is not returning true.
    private void calculateButtonActionPerformed(java.awt.event.ActionEvent evt) {
    ...
  4. Replies
    6
    Views
    1,440

    Re: Not sure how to go about this...

    A very simple solution seems to be if you keep a sum.
    sunday += scan.nextDouble();

    In fact you could keep only a single variable total and instead of the days of the week use
    total +=...
  5. Replies
    3
    Views
    1,149

    Re: Please Help I'm stuck

    With String[] Number1 = new String [7], you are making collection of 7 strings. Is this what you want? It is easier to make one string with 7 characters.
  6. Replies
    3
    Views
    2,673

    [SOLVED] Re: JList display Hebrew right-to-left

    In the hope that this might help somebody else, one doesn't need the setHorizontalTextPosition (and it doesn't help anyway). What one needs is

    ...
  7. Replies
    3
    Views
    2,673

    [SOLVED] Re: JList display Hebrew right-to-left

    Thanks for the reply.
    I have no problem with the Hebrew itself, that displays just fine. Just it is in the wrong direction.
    I read the strings from a database (mySQL) and they come out correctly....
  8. Replies
    3
    Views
    2,673

    [SOLVED] JList display Hebrew right-to-left

    I have a JList and I want it to display Hebrew text starting on the right hand side. I've tried 2 different methods and each one displays the text from the left hand side, like English.
    ...
Results 1 to 8 of 8