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 720

Forum: Loops & Control Statements

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

  1. variable in for loop

    Started by safasml, January 20th, 2021 12:10 PM
    • Replies: 3
    • Views: 1,536
    November 22nd, 2023, 03:45 AM Go to last post
  2. boolean statement in do loop not workling for string

    Started by Gcode, January 27th, 2022 07:29 PM
    • Replies: 4
    • Views: 2,346
    November 22nd, 2023, 03:30 AM Go to last post
  3. help with for loop

    Started by jjhottdamn, January 6th, 2023 02:10 PM
    • Replies: 5
    • Views: 3,452
    November 22nd, 2023, 02:51 AM Go to last post
  4. switch statement related exercice

    Started by Seth Lau.20, December 9th, 2021 05:36 AM
    • Replies: 3
    • Views: 3,310
    July 15th, 2022, 10:00 PM Go to last post
  5. While loop not incrementing java

    Started by cloudytech147, December 3rd, 2021 08:55 AM
    array, java, loop
    • Replies: 1
    • Views: 829
    December 3rd, 2021, 09:11 AM Go to last post
  6. [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: 3,176
    July 4th, 2021, 04:10 PM Go to last post
  7. [SOLVED] For loop not executing as expected - Very simple coding

    Started by LyndonS, February 1st, 2021 01:57 PM
    • Replies: 11
    • Views: 2,101
    February 1st, 2021, 09:09 PM Go to last post
  8. What is going on here?

    Started by LB74, December 16th, 2020 08:54 PM
    reference variables, while loop
    • Replies: 4
    • Views: 1,156
    December 17th, 2020, 06:13 AM Go to last post
  9. 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: 1,301
    December 16th, 2020, 07:15 AM Go to last post
  10. Problem with code, not well result loops

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

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

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

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

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

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

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

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

    Started by glprobot, July 16th, 2019 03:42 AM
    • Replies: 1
    • Views: 767
    July 16th, 2019, 06:10 AM Go to last post
  19. 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: 2,020
    July 14th, 2019, 02:48 AM Go to last post
  20. 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: 975
    July 10th, 2019, 07:59 AM Go to last post
  21. [SOLVED] Loop using Scanner with try/catch

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Started by LaMigra, September 18th, 2014 04:57 AM
    • Replies: 7
    • Views: 1,392
    September 19th, 2014, 06:37 AM Go to last post
  37. 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: 1,366
    September 17th, 2014, 03:53 PM Go to last post
  38. Identical if statements behaving in different ways

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

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

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

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

    Started by pemhak, September 2nd, 2014 04:49 AM
    • Replies: 3
    • Views: 1,667
    September 2nd, 2014, 06:39 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
  •