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 55

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