Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 1 of 15 12311 ... LastLast
Threads 1 to 50 of 713

Forum: Loops & Control Statements

for loops, while loops, switch, if-then-else..

  1. [SOLVED] Trying to iterate through hashmap of objects from a class I created

    Started by Ian_dude, July 2nd, 2021 10:07 PM
    2 Pages
    1 2
    custom class, hashmap, looping
    • Replies: 25
    • Views: 1,819
    July 4th, 2021, 04:10 PM Go to last post
  2. [SOLVED] For loop not executing as expected - Very simple coding

    Started by LyndonS, February 1st, 2021 01:57 PM
    • Replies: 11
    • Views: 1,479
    February 1st, 2021, 09:09 PM Go to last post
  3. variable in for loop

    Started by safasml, January 20th, 2021 12:10 PM
    • Replies: 2
    • Views: 959
    January 20th, 2021, 10:49 PM Go to last post
  4. What is going on here?

    Started by LB74, December 16th, 2020 08:54 PM
    reference variables, while loop
    • Replies: 4
    • Views: 664
    December 17th, 2020, 06:13 AM Go to last post
  5. Java applet drawing curved lines using nested for loop

    Started by novdecscv22, December 16th, 2020 04:58 AM
    java loop nested control structure graphics
    • Replies: 3
    • Views: 439
    December 16th, 2020, 07:15 AM Go to last post
  6. Problem with code, not well result loops

    Started by Vidar567, December 5th, 2020 08:21 AM
    • Replies: 6
    • Views: 352
    December 5th, 2020, 10:47 AM Go to last post
  7. help with this problem

    Started by drnick384, November 2nd, 2020 05:03 AM
    • Replies: 5
    • Views: 889
    November 2nd, 2020, 09:16 AM Go to last post
  8. [SOLVED] Program Skips the final if statement.

    Started by Imeerie, April 8th, 2020 03:30 PM
    array, loop
    • Replies: 2
    • Views: 2,449
    April 10th, 2020, 07:03 PM Go to last post
  9. Negative condition does not work

    Started by glprobot, July 16th, 2019 06:17 AM
    • Replies: 11
    • Views: 4,072
    August 26th, 2019, 02:00 AM Go to last post
  10. cell size excel and java

    Started by glprobot, July 18th, 2019 03:39 AM
    2 Pages
    1 2
    • Replies: 28
    • Views: 2,138
    August 26th, 2019, 02:00 AM Go to last post
  11. cell formula not get value

    Started by glprobot, July 30th, 2019 04:57 AM
    • Replies: 0
    • Views: 722
    July 30th, 2019, 04:57 AM Go to last post
  12. Index error

    Started by glprobot, July 29th, 2019 04:24 AM
    • Replies: 3
    • Views: 538
    July 29th, 2019, 02:52 PM Go to last post
  13. Writing in the column excel

    Started by glprobot, July 22nd, 2019 06:02 AM
    • Replies: 5
    • Views: 486
    July 22nd, 2019, 08:05 AM Go to last post
  14. Choice condition IF based on value

    Started by glprobot, July 16th, 2019 03:42 AM
    • Replies: 1
    • Views: 420
    July 16th, 2019, 06:10 AM Go to last post
  15. It does not return data as it should in the cycle

    Started by glprobot, July 12th, 2019 02:06 AM
    2 Pages
    1 2
    • Replies: 26
    • Views: 1,140
    July 14th, 2019, 02:48 AM Go to last post
  16. check a list based on the cell if there is a value

    Started by glprobot, July 10th, 2019 07:54 AM
    apache poi, excel, java
    • Replies: 1
    • Views: 511
    July 10th, 2019, 07:59 AM Go to last post
  17. [SOLVED] Loop using Scanner with try/catch

    Started by CelticWarrior, May 30th, 2019 09:12 PM
    • Replies: 3
    • Views: 1,471
    May 31st, 2019, 01:39 AM Go to last post
  18. Too many loops!

    Started by MrLowBot, January 17th, 2019 02:40 PM
    • Replies: 5
    • Views: 956
    January 18th, 2019, 08:03 AM Go to last post
  19. Two ArrayLists don't cycle thru formula

    Started by CiscoKid, January 2nd, 2019 03:02 AM
    array; foreach loops; heatindex'
    • Replies: 1
    • Views: 601
    January 2nd, 2019, 06:41 AM Go to last post
    • Replies: 5
    • Views: 2,091
    February 13th, 2018, 12:36 AM Go to last post
  20. Exclamation Simplify 2 for loops into one

    Started by legendfractal, February 9th, 2018 02:50 AM
    for loops alternate digit
    • Replies: 2
    • Views: 764
    February 9th, 2018, 12:05 PM Go to last post
  21. Question [SOLVED] Scanner not looping.

    Started by Spencer4908, July 19th, 2014 05:45 PM
    • Replies: 7
    • Views: 1,068
    January 29th, 2018, 09:42 PM Go to last post
  22. array+functions

    Started by ayisha, March 27th, 2014 12:06 PM
    • Replies: 7
    • Views: 1,241
    January 9th, 2018, 08:05 PM Go to last post
  23. Loop Character Replacement Issue

    Started by TheMatrixMage, October 7th, 2014 01:56 PM
    • Replies: 4
    • Views: 805
    November 3rd, 2017, 04:08 AM Go to last post
  24. Question Problem with loop theory

    Started by Lord eMO, February 11th, 2010 02:34 PM
    • Replies: 1
    • Views: 2,049
    October 27th, 2017, 07:46 PM Go to last post
  25. Creating a separate method for for loop

    Started by BenjaminJ, October 10th, 2014 11:08 AM
    • Replies: 7
    • Views: 1,188
    October 10th, 2014, 01:29 PM Go to last post
  26. How do I loop with an If statement

    Started by DaveK, October 2nd, 2014 09:31 AM
    • Replies: 10
    • Views: 1,040
    October 9th, 2014, 01:05 PM Go to last post
  27. Need help with array list, scanner and dictonary file.

    Started by mulefeathers, October 7th, 2014 07:47 AM
    • Replies: 5
    • Views: 803
    October 7th, 2014, 08:48 AM Go to last post
  28. How to end a loop when valid entry is made

    Started by javaNewbie2014, October 5th, 2014 05:46 PM
    • Replies: 1
    • Views: 899
    October 6th, 2014, 12:04 AM Go to last post
  29. How do I loop the text for my GUI?

    Started by Joey231, September 22nd, 2014 04:13 AM
    • Replies: 7
    • Views: 1,266
    September 22nd, 2014, 05:44 AM Go to last post
  30. Moved: How do I loop this text into my GUI?

    Started by Joey231, September 22nd, 2014 04:54 AM
    •  
    •  
  31. Loop Error

    Started by yellowglow, September 19th, 2014 10:21 AM
    • Replies: 17
    • Views: 1,088
    September 21st, 2014, 10:31 AM Go to last post
  32. [SOLVED] Reading from a txt file and loop trouble

    Started by LaMigra, September 18th, 2014 04:57 AM
    • Replies: 7
    • Views: 958
    September 19th, 2014, 06:37 AM Go to last post
  33. Discuss this code with me ..."Connect4 game"

    Started by hanymoh, September 17th, 2014 03:16 PM
    connect four, game, loops & control statements
    • Replies: 1
    • Views: 904
    September 17th, 2014, 03:53 PM Go to last post
  34. Identical if statements behaving in different ways

    Started by BenjaminJ, September 13th, 2014 08:38 AM
    • Replies: 10
    • Views: 1,061
    September 17th, 2014, 04:38 AM Go to last post
  35. Largest Number Loop Problem

    Started by AriaT, September 5th, 2014 09:32 PM
    • Replies: 3
    • Views: 917
    September 9th, 2014, 01:00 AM Go to last post
  36. [SOLVED] Java Noob - Terminating loop.

    Started by Famous112, September 7th, 2014 02:27 PM
    • Replies: 10
    • Views: 902
    September 7th, 2014, 05:09 PM Go to last post
  37. Loop Assignment

    Started by yellowglow, September 3rd, 2014 03:49 PM
    • Replies: 9
    • Views: 869
    September 3rd, 2014, 06:53 PM Go to last post
  38. programming assignment

    Started by pemhak, September 2nd, 2014 04:49 AM
    • Replies: 3
    • Views: 1,132
    September 2nd, 2014, 06:39 AM Go to last post
  39. The IF control statement

    Started by Kytres, August 21st, 2014 12:53 AM
    • Replies: 4
    • Views: 1,217
    August 29th, 2014, 09:35 AM Go to last post
  40. [SOLVED] Potentially broken switch statement or program logic.

    Started by BenjaminJ, August 9th, 2014 06:29 AM
    • Replies: 2
    • Views: 1,001
    August 10th, 2014, 01:49 AM Go to last post
  41. Exclamation Getting ArrayIndexOutBound Exception

    Started by nike, June 1st, 2014 10:08 PM
    • Replies: 6
    • Views: 858
    July 28th, 2014, 03:21 PM Go to last post
  42. Loop over text file andd do some maths

    Started by johndoe, July 25th, 2014 10:44 AM
    • Replies: 4
    • Views: 794
    July 25th, 2014, 01:03 PM Go to last post
  43. Please help me loop this method

    Started by tommygunz, June 5th, 2014 07:34 PM
    • Replies: 5
    • Views: 850
    July 19th, 2014, 03:02 PM Go to last post
  44. Help looping back to top if invalid

    Started by olsen_brett, July 13th, 2014 02:38 AM
    • Replies: 1
    • Views: 766
    July 13th, 2014, 04:55 AM Go to last post
  45. [SOLVED] Compile error for enhanded for loop

    Started by Baldyr, July 6th, 2014 11:17 AM
    • Replies: 16
    • Views: 904
    July 8th, 2014, 11:07 AM Go to last post

Page 1 of 15 12311 ... LastLast

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 150 views
Hot thread with unread posts
More than 15 replies or 150 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •