-
Replied To a Post in brexit
What ordinary folk voting for "regaining control of the country" ignored is that they don't control anything, the government does. And the current UK government is hell-bent on privatising or … -
Replied To a Post in Self Learning software/ AI in C#
If you google *Self learning software* the second link takes you to the Wikipedia article on Machine Learning. Section 4 of that article lists the most common/interesting approaches and algorithms … -
Replied To a Post in Self Learning software/ AI in C#
There are all kinds of algorithms that come under the heading "self learning software". You can write any or all of them in C# or Java Your question is far … -
Marked Solved Status for JTable only showing columns need help
Hey new to JDBC SQL DERBY and Java so I don't know why but my Jtable only shows the columns. Here are my codes for my LeaderboardDAO class. public class … -
Gave Reputation to Rennie_1 in Password protecting a site
you need to use md5 to encrypt your site password. -
Replied To a Post in error in C++ program to implement RSA algorithm for key
If you input 3 is the output wrong or right - you say both! 11 and 17 are also prime numbers -
Replied To a Post in Memorable Quotations
My favourite Zen proverb: "the grandfather dies, the father dies, the son dies" Sounds very depressing at first sight, but when you think about it you see that it is … -
Replied To a Post in video chatting web application
Java GUI, Socket communications, multi-threading, video compression... This is a complex application that requires a wide range of skills. Perhaps you should do something simpler first. -
Gave Reputation to Derek_8 in Private messaging coming soon
> I think it makes sense for us to follow just industry-wide practice and keep within the OAuth standard. > we follow the exact standard when it comes to this, … -
Gave Reputation to Derek_8 in Private messaging coming soon
> If you are already logged into Facebook on your computer, the benefit of clicking log in with Facebook on a third party app is single-click sign-in. If you log … -
Edited a Post in cannot resolve method 'createStatement()'
Class names usually begin with a capital letter, eg Connection. (Java is case-sensitive) Re your `catch` block: If/when there is an error you just told Java that you didn't want … -
Edited a Post in Sort through Array using button (GUI)
OK, a couple of observations... when you click menu you don't reset `value` what is `iterate` all about??? to stop falling off the end of the array you just need … -
Replied To a Post in Sort through Array using button (GUI)
OK, a couple of observations... when you click menu you don't reset `value` what is `iterate` all about??? to stop falling off the end of the array you just need … -
Replied To a Post in Private messaging coming soon
Clearing cookies was in my autopilot too. I still need to do it to prevent automatic login to the previously-logged in user. I'm not at all happy with that automatic … -
Replied To a Post in JTable only showing columns need help
Try printing sqlString to check its syntax. Run that exact string at an sql prompt and see what it does. -
Replied To a Post in cannot resolve method 'createStatement()'
Class names usually begin with a capital letter, eg Connection. (Java is case-sensitive) Re your `catch` block: If/when there is an error you just told Java that you didn't want … -
Replied To a Post in Private messaging coming soon
OK/ I'm back. Phew. -
Replied To a Post in programming
I've been programming since 1969 and I don't know how to use them properly either. Neither do the combined resources of Microsoft, Adobe etc, judging by the number of memory-related … -
Replied To a Post in search for equal string in 2D array in java
Inside your nested loops just use the `equals` method to compare `t[i][j]` with the target string. -
Replied To a Post in Work of JAVA
If you look at your Student calsss you will see the constructor, and so your` new...` has to match that list of parameters. -
Replied To a Post in Work of JAVA
OK, that's better. Here are some points to start with.... In your main you forgot to read in the user's input for name etc etc You need to create an … -
Replied To a Post in Work of JAVA
If you really understand nothing then you may as well give up now. But I suspect you know more than that. You have been told what to do step by … -
Replied To a Post in JAVA PROBLEMS
Without seeing your code, we can't help. -
Replied To a Post in using for loop in java
It works Ok for zero when I run it. -
Replied To a Post in Communicating between Client and Server Sockets
You can open any kind of stream - Object streams, Data streams, whatever you like. Object streams are the most powerful.... -
Replied To a Post in Communicating between Client and Server Sockets
(why was this showing "zero replies" after I replied before?) edit: and now it's only showing one? -
Replied To a Post in Communicating between Client and Server Sockets
Can you explain further? Once you have set up the socket connection you have two Streams available (one going each way) so either end can send whatever it wants to … -
Replied To a Post in banking application in java
Do you think this is a free "we do your homework" service? Stop trying to cheat, an do your own homework. If you try, and have a problem, come back … -
Replied To a Post in using for loop in java
You just copy/pasted your assignment without even a moment taken to explain what help you need. That's highly disrespectful to the many people who give their time to help others … -
Replied To a Post in Help with this quadratic (maths) java program
You didn't say what help you need! -
Replied To a Post in Need a Method That Will Split a Java File Into Lines By {, }, ;, and //
> In other words how would your new formatter know the end of a comment? It would have to make guesses such as "Hmm, a // might end when I … -
Replied To a Post in Traversal Algorithm of rocket mania
After 4 years??? -
Replied To a Post in copy folders from one system to another
OK. (But you could still pass the folders to a small JavaScript from Java using the scripting language support, if that was easier) https://docs.oracle.com/javase/8/docs/technotes/guides/scripting/prog_guide/api.html -
Replied To a Post in copy folders from one system to another
You probably don't need the full power and complexity of Java to do this. A simpler scripting language will probably do. I've tagged this post with a javascript tag so … -
Replied To a Post in Need Help With a Java Program That Will Indent Code From Another Java File
Something like count = 0, startIndex = 0; while ((startIndex = string.indexOf(testChar, startIndex) >= 0) count++; .. for each char you are interested in, but I prefer the loop thru … -
Replied To a Post in Need Help With a Java Program That Will Indent Code From Another Java File
Instead of `contains` you can use `indexOf(int ch, int fromIndex)` in a tiny loop to count the number of { or } in each line. ... or simply loop thru … -
Replied To a Post in Need Help With a Java Program That Will Indent Code From Another Java File
That depends on whether the objective is to get a pretty printer, or to complete a learning exercise that just happens to be a p.p. I don't know which this … -
Replied To a Post in Need Help With a Java Program That Will Indent Code From Another Java File
1. What is the printLine method for? Why not just print the text? 2. The printLine method is where you always print a blank before every line 3. Your code … -
Replied To a Post in How to save JPanel content as JPG
Instead of drawing directly to the panel's Graphics, create a new Image and draw to its Graphics. Then just copy that to the panel using `drawImage` and also save it … -
Replied To a Post in Give Password Based on number of users with the same tag
So is it the case that staff are only added to the `staff` collection when they get a password? In that case your problem is that when there are no … -
Replied To a Post in Give Password Based on number of users with the same tag
As far as I can see that code should return the department name followed by the number of staff in that department (or "" if there are no staff in … -
Replied To a Post in Netbeans (Java class) Help
Seriously? You want us to help with an error in your code, but you don't tell us what the code is or what the error message is? We're not mind … -
Replied To a Post in How to write a coding in java
If you are a beginner (which is obvious from the question) then forget Eclipse. Eclipse is a very powerful massively complex tool for experts. It has its own learning curve … -
Replied To a Post in query interface
You could build a simple form with an entry fields (or drop-down lists) for each column in the database. Whatever the user enters you use as search criteria. You could … -
Replied To a Post in Client/Server java calculation
It's exactly the same as how the server sends a message to the client. -
Replied To a Post in object oriented programming
Congratulations! -
Replied To a Post in Client/Server java calculation
You are nearly there. In the client, do not calculate the surface. Send the radius and the height to the server. Wait for the reply and extract the area from … -
Replied To a Post in How can I use linked list for files in java
Sorry, but this makes no sense at all. Are we talking about files or classes? Can you give more details or better examples? -
Replied To a Post in array
That question is not clear. Please explain your question with more details. -
Replied To a Post in Open/Save file dialog box in client side
Because it was 4 years ago, and the people involved are no longer here, all the info we have is in this thread. If you now have the same problem, …
The End.