PDA

View Full Version : What's Wrong With My Code?



Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 [53] 54

  1. Java converting Date to 100 years back
  2. [SOLVED] New Java Programmer Needs Help Understanding What He Did Wrong With His Instantiation.
  3. Java run file as batch and write problem to TXT file
  4. [SOLVED] Need help finding why this code doesn't work!
  5. Can anyone help me to find what code im wrong? thx
  6. Im beginner need a solution for one logic
  7. Method in class cannot be applied to given types
  8. What is the logic behind sorting an array list in this algorithm?
  9. How do I find the mode in a list when values of similar frequencies mean that there is no mode?
  10. need help (dunno if im posting in right thread or not)
  11. Can anyone answer this?
  12. Calculator double zero button issue.
  13. why is this code giving value -48?
  14. [SOLVED] Exception Handling/Logic Problems
  15. Printing many random names from an array
  16. How to add to a string format from another class
  17. Is it possible to declare 2 different classes in one variable?
  18. what is the purpose of defaultWriteObject in java ObjectOutputStream
  19. Help with finding a mistake/issue in this code
  20. ArrayDiff Problem on CodeWars; Need Assistance
  21. [SOLVED] Unreachable Statement in simple recursion code
  22. Timer not running.
  23. Use char[][] instead of string[].
  24. How to override abstract methods and use variables without making them public
  25. Java Painter add features
  26. Runtime.getRuntime().exec(shellscript)
  27. show jframe1 and hide jframe2 when connection sql
  28. Permissions in Java
  29. How to fix my code?
  30. How to stop a while loop thats reading text files
  31. [SOLVED] Why does method need to return a String rather than leave it as void?
  32. Please help me with the java code bluej
  33. What is the issue with my code
  34. Whats wrong with my code?
  35. Rewriting a method recursivly
  36. Loop into another loop
  37. NoClassDefFoundError while reading Excel File (Apache POI 5.0.0)
  38. sphenic program problem
  39. non static variable this cannot be referenced from a static context
  40. java.lang.NullPointerException: Cannot invoke "String.length()" because "str" is null
  41. Help with Scroll PAne SOLVED
  42. base conversion
  43. read a double type on the keyboard
  44. [SOLVED] Program skipping ahead and not allowing/reading user input
  45. Running jars from commandline
  46. Alarm clock won't tick, can't call method because of dereferencing??
  47. Calculator Method issue
  48. Problem using the JFileChooser
  49. [SOLVED] Having to press 'ENTER' twice
  50. BlueJ Auction Project calling external methods, using ArrayLists, and for-each loops
  51. ArrayList<> String searches and loops
  52. Java GUI button calculator
  53. [SOLVED] Stopping execution after 10 seconds/outputs
  54. [SOLVED] Noobie in need of serious help
  55. Java Count Help
  56. Simple guess game
  57. Display histogram using values from Array, use asterisks in histogram not numerals
  58. Hello need some advice to make this better
  59. Can you help me to make this calculator better
  60. [SOLVED] Count Num of Letters In Common
  61. Is there somethign im missing with serialization
  62. [SOLVED] How to save/access class objects on a .txt file?
  63. JavaFX NullPointerException when creating a new stage.
  64. rotating
  65. [SOLVED] Value of a variable not changing after reinstantiating it
  66. java.land.IndexOutOfBoundsException: Index -1 out-of-bounds for length 0
  67. Increment operator
  68. Java Parcel Tracking-programm
  69. Set error to string buffer
  70. Changing a program to accept command line arguments
  71. LDAP Authentication Exception error code 49
  72. How to open the lock?
  73. Java Stack Implementation With the Help of Arrays
  74. Sorting an array without using the method sort()
  75. Can you help me with this Java GUI IconImage
  76. Need help to run examples in the JavaSim simulation package.
  77. Need help in making simple java program
  78. Stuck on what should apparently be a simple problem
  79. Multiple selection (bounding boxes) in displayed image
  80. Need a sample code
  81. Learning java (beginner) - code error
  82. Main.java expects Person.java behavior to work. How can I solve this?
  83. Java FX problem with Rectangle Intersects
  84. Java simple Graphics ball bounce
  85. How to determine a 2D array of specific index comment a specific element?
  86. Var ends up being 0
  87. [SOLVED] Comparing 2 lines from two separate TXT files
  88. Is there any other WebServer can run .war?
  89. [Beginner] How to add a new object to an object array?
  90. Trying to get my childhood game working
  91. HTTPInvokerRequestExecutor timeout
  92. Can anyone help with this question i had on an exax a few weeks ago? (passed by the skin of my teeth)
  93. [SOLVED] Looking for a second opinion
  94. quick question
  95. Do - While Loop
  96. Getting jcheckbox value state from another class
  97. Backward Slice Weiser
  98. how to add questions inside the switch statement and then calculate results in java
  99. Help required
  100. where is the mistake
  101. Excel loop
  102. Trouble with FOR LOOP statement!
  103. Game
  104. Two Issues with OpenJDK 17 on Windows 10 64 bit Home.
  105. [SOLVED] I am struggle to control the loop here.(solved)
  106. Promblem with JUnit testing
  107. What is wrong with my code?
  108. A question
  109. What is wrong with my code?
  110. cant add icon for joptionpane
  111. calling a method into System.out.print() method????? solved
  112. Why does it fill out the entire array instead of just one index?
  113. Nested while loops problem - when yes is being selected at the end, program needs to re-run code
  114. The element does not have time to load on the page
  115. Getting InputMismatchException
  116. Need some help
  117. how to cReate, Compile and Run a Java Package Program?
  118. finding a character from a given string value
  119. Help with substring
  120. [SOLVED] String problem ..kindly give me a code in alternative methods(solved)
  121. form-data - Body Request in java Post Request
  122. Design of UML diagram - Should it be a class?
  123. Reading Specific Column from Excel with java
  124. Receive only first mouse-click, looking for double click
  125. How to use Offline Navigable Map in Netbeans IDE with Java Swing
  126. Why my Java Project don't work?
  127. I need help
  128. [HELP] I'm creating a code to check whether 2D array is Magic Square or not
  129. array searching the location in one line
  130. Why don't if blocks work ?
  131. Junit Test for exception and WebRequest
  132. [SOLVED] Struggling with generics
  133. java help
  134. My friend cant install java plz help
  135. int from main method to non-static method
  136. [SOLVED] What's wrong with my code? (NullPointerException, outOfBoundException)
  137. [SOLVED] Cannot load file from resource using getClass().getResource
  138. Error with binary operand.
  139. Problem with nested switch code.
  140. can't solve this assignment
  141. Help me to figure out how code working
  142. Cannot find symbol error in single package program with default access modifier.
  143. Min Number from array
  144. trim
  145. Looping Array and Satisfying multiple conditions-Support
  146. GUI freezes instead of showing JProgressBar
  147. My first java code won't run from cmd Windows
  148. Difficulty with connecting 2 classes through the Switch Statement
  149. Pasrsing error when comparing two dates
  150. NullPointerException
  151. How do I print this?
  152. I need help with writing Regular Expressions and defining Capture Groups
  153. Runnable jar file not working in joined display configuration on Fedora.
  154. Is it possible to make a java software interact with a website's interface without having access to the backend?
  155. constructor method syntax error
  156. catching Set
  157. INT Operations Help Plz
  158. array elements assignment question
  159. [SOLVED] Why is this code not printing to console
  160. Is this code sufficient for my purposes?
  161. Button in borderlayout
  162. Layout in java
  163. String matches() Method in Java
  164. hasNext() - next() and substring() Methods
  165. Why my String does not appear ?
  166. Nu reusesc sa deschid un Frame
  167. [SOLVED] Can I build "my own type of java number"?
  168. can someone help me understand why i am getting this error.
  169. Why am I getting false ?
  170. [SOLVED] What am I doing wrong here?
  171. Mkyong - why i recieve the ERROR? Thanks!
  172. How do call an object in an if else if statement.
  173. Why is this working?
  174. Something related to Minecraft.
  175. Java Netbeans Swing - want to create x jlabels by entering a number
  176. Program window scaling
  177. File don't work
  178. I have to send this tomorrow and i have now idea what is wrong
  179. How Java handles and simulates ANSI keycode input in console?
  180. [SOLVED] Compare strings
  181. [SOLVED] Leap year
  182. I want print the number which leaves remainder 0 . For example: if 8 is enter I want output 1248 . Tell me where I'm making mistake
  183. Generics solve as one function but not two
  184. Neural Network method not working
  185. Why System.in returns -1 when I pressed "Enter key" how can I mimic "Enter key" in console?
  186. How to check if a calculation is an integer
  187. [SOLVED] Calculator
  188. [SOLVED] exit button
  189. There's a problem in line 43 i need help
  190. [SOLVED] cant solve this one out
  191. Comparing using String.valueOf() method
  192. answer my code!!!
  193. Hi guys my code here is showing errors specifically cannot find symbol even though i have declared this
  194. [SOLVED] How to make a team with min. 2 max 5 players with Objects and Arraylist?
  195. Project about Chat application with multi hop forwarding
  196. Are arraylists redundant?
  197. help with codoe
  198. I have to send this tomorrow again and i don't have any idea what's wrong
  199. Spring upgrade from 4.3.14 to 5.3.18
  200. FCFS CPU Scheduling
  201. [SOLVED] What am I missing here?
  202. please help
  203. Tournament issue - I'm stuck and need a push in the right direction
  204. Help the code seems fine and all but it doesn't identify the names even it's right
  205. toString on ArrayList is not working :(
  206. [SOLVED] How do I add an index in the middle of an ArrayList?
  207. Finding a String value in the ArrayList
  208. Nested For Loop Problem
  209. How do I calculate power using for loop?
  210. Why is processing a sorted array faster than processing an unsorted array?
  211. Help needed on a ride - sharing app development project. I need a Mentor/Coach.
  212. Java arrays list
  213. Please help to review an error code!
  214. this works, but I want to print this to the screen in a fixed position
  215. Array Methods
  216. I need to know if the date is saturday or sunday or holiday.
  217. How to produce img from spring controller with image generated in the jsp?
  218. Sorting LinkedList
  219. Generating random 3 digit kength number with specific numbers. Need help!
  220. what whould be the output
  221. output?
  222. Can someone explain why my loop does not run again even when "y" is entered.
  223. Extract Xml or Json from jpeg
  224. User input string's problem
  225. [SOLVED] Implementing LSA " indexing image" in JAVA
  226. indexOf Linked List
  227. Java Program for Matrix Multiplication
  228. [SOLVED] .txt file won't convert to ints
  229. 2dArray index 00 input problem
  230. Array typ objekt class
  231. Printing Array
  232. Problem with snapshot in lock-free set
  233. Debugging with Print Statement (on List of Object Class)
  234. Condition satisfying but not getting desired Output
  235. Printing ArrayList
  236. GCD of Two Numbers in Java
  237. Returning node
  238. Please help me to find out the error in the following code
  239. Re: Please help me to find out the error in the following code
  240. Convert Array to LinkedList
  241. Java example in Wildfly
  242. Collision question
  243. [SOLVED] if statement to right syntax
  244. Java binaries seem to ignore JAVA_HOME
  245. Setting a background image on a gameFrame
  246. How to parse an XML file from a URL using JDOM or SAXBuilder
  247. setAlignment have no effect
  248. Cannot find class in .class or .jar file
  249. AsposeOCR API implementation Runtime Error
  250. Static vs Instance