You should try and replace existing code tags with that one. This way when people browse old topics, they can still get the syntax highlighting.
Pretty neat though!
Type: Posts; User: Lord.Quackstar
You should try and replace existing code tags with that one. This way when people browse old topics, they can still get the syntax highlighting.
Pretty neat though!
Did you even read the guide that I showed you? We can't do this for you, you have to read it yourself. Go through each topic, reading and understanding the code. Don't just stop there, you also need...
Have you considered the NetBeans, Eclipse, or Intellij IDEA IDE's? They do this all for you. Knowing how to make a JAR file by hand is not a requirement for a Java developer, although it does come in...
Surly the IDE you should be using does this for you? Creating a jar file by hand with command prompt leads to a ugly huge mass of switches and semicolon separated arguments.
If your not using an...
For simplicity your going to have to parse the whole file into a map, modify the map, then write it to a clean version of the file. Its either that or regex.
You could split by \n\r to split by...
Lesson: Concurrency (The Java™ Tutorials > Essential Classes)
ROFL
#44 Java - Brute forcing randomized SHA512 hashes!!
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.ArrayList;
import...
#43 Java - Converting from Base 33 (Triotrigesimal)!!!
public class SandBox {
public SandBox() {
String[] base33 = new String[]{"B","M","10","1B","1M","20","2B","2M","30","3B"};
for...
Tested in Firefox and Google Chrome in Windows XP, and Firefox and Chromium in Lubuntu Linux 10.04. All the same.
And something interesting: When I tried to click "Mark all forums read" I got this...
A good place to start is here: The Java™ Tutorials
My Quest for a way to store data in a database started near the beggining of a large project of mine, where deciding everything in code wasn't doing it. I though did not want to go through the...
FileZilla is not a Java library, and therfor can't be used unless you really really want to use JNI.
5 second's of googleing brought me to this benchmark: Update: Java FTP libraries benchmarked -...
Tested in Google Chrome and Firefox on Windows XP, and Chromium and Firefox on Lubuntu Linux. Still having read issue.
There is also Concurrency in Java, a good book to read if you do anything else besides web development
But messing with raw MySQL is old. I would highly recommend JPersist, a way to map your database to POJO's. I use it and it works great, and with 0 setup
And mind not using all caps? I know you need help but screaming isn't going to make it come any faster, as a matter of fact it might put people off
Have you tried JEval?
Umm... no, you can't do that from a client. If that were true, people could overwrite ANYTHING on a webserver and nobody would care.
To accomplish what your trying to do, you going to do something...
Maybe its just be, but its annoying when I'm listing the forums and where I've posted (or even the topic that I just posted in) is still marked unread. I can't judge what is new or not.
Maybe...
Err... why not the newest version of the official SDK by google?
And if you've used NetBeans, stick with it. Eclipse is famous for being complicated and really on suited for people that were...
Why not give him a JAR file with the executable attribute set? That way all he has to do is double click it.
If your teacher wants the source code, tell your teacher you're doing what most java...
I'm LordQuackstar (LQ for short), and I'm a pretty experienced programmer. I used to do web development a few years ago, designing my own (poor) CMS in PHP because drupal scared me. But I realized...
The issue here with trying to diagnose the problem is that Tomcat's custom file error reporting (which personally is horrible) doesn't list the exception message.
The thing though is that this...
Yea I constantly forget about that. indexOf is a hangover from my Javascript days
Wouldn't something like this work?
String const = "bcdfghjklmnpqrstvwxyz";
String vowel = "aeiou";
if(vowel.indexOf(input.toLowerCase()) > -1)
...