Independent on UDP or TCP the simplest way with Socket is
public int ping(String server, int port) {
try {
Socket s = new Socket(server, port);
...
Type: Posts; User: Voodoo
Independent on UDP or TCP the simplest way with Socket is
public int ping(String server, int port) {
try {
Socket s = new Socket(server, port);
...
Man, still playing a sniffy schoolmarm,
why should I have to calm down when I'm not "angry"? It's your verbal language that makes you thinking that people are angry. You read something and decide to...
Aha,
firstColour = new Color(red1, green1, blue1); is BEFORE red1 = i, etc. That is, my dear schoolmarm !
Or should I call you an uber-schoolteacher? I never intend to write a java book. My answer...
Bajeanius
Sorry for trouble finger with your nick and with the post button:o
The term ev.charAt(0) is incorrect. It's as following
public void actionPerformed(ActionEvent e) {
...
saran123,
well, then I believe that something incompatible between 1.6 and 1.7. You make me remember about an undesirable effect I ran into when I upgraded from 1.6 to 1.7...namely: When several...
bejeanius,
the combo boxes should be attached to an actionListener like this
public class Boxes extends JDialog implements ActionListener {
...
box1 = new...
8-|If you're sure that the Firewall won't block java I have to believe you. Then ...Sorry mate. I can't help because I can't remotely guess or debug your environment.
Special for veeer,
int red1;
int green1;
int blue1;
int red2 = 99;
int green2 = 182;
int blue2 = 222;
Wenn Du nichts verstehst, kannst Du beim Admin beschweren. If you don't understand you can complain at the admin.
djmaxtor,
it's a very complicated matter. It depends fully on your Router. Because I don't know your Router so recommend you to look at the manuals or ask its tech.support. Normally you have to...
Yeah, you're right...I was somehow absent-minded. Sorry.
...the setIcon(Icon) will do. For Java 1 backslash must be written by 2 backslashes. Also c:\\..\\
...then your JAVA JRE (Java Runtime Environment) is NOT allowed to go thru the firewall. Ask your admin to do it for you :D.
bhenry1790,
what you did is syntactically wrong. Correct is, for example:
int[][] products = { {0, 0, 0, 0, 0},
{0, 1, 2, 3, 4},
{0, 2, 4, 6, 8},
...
Gravity Games,
question: Is your OS Window or Linux (Unix, SunOS, Ubuntu or similar)?
If Linux the literal "C://CWWLEVELS//world1stage1cfg.txt" can't have double slash //
If Window the path is...
Your algorithm is wrong, that's the reason. The Constructor is invoked but the firstColour and secondColour were already instantiated. So, they "ignore" what you set in your constructor. Compare them...
Are you sure?
This message tells you exactly what kind of problem JRE encountered. Check the path convention, the existence of the filename and adjust it accordingly to Java convention.
The loops you added run indefinitely....
To your question: Try to see the problem as a simple thing. Computer does not see the difference between texts, images, letters or numbers. I sees only a...
where are the exception messages? Before I scan your code I need to see the exception messages.
Silvery,
glad to hear that it worked. That means either the constructor with parameters is buggy or the misused method add() threw a wrong Exception :D
Sure you can do that. It depends only on...
Silvery,
oh, it's an API. Have you the package org.apache.hadoop.util.bloom. I strongly believe that this API is buggy because your code. Note: The line cbf.add(123) is probably wrong because 2 add...
fickletrick,
you declare 2 static objects....Static object affects the memory management behavior of JVM (auto Garbage Collector) because static object is an instance itself.
prabhabar and ssahu7
if you both have some patience and read the whole print carefully you'll find the answer for yourselves.
For example:
java.lang.NoClassDefFoundError:...
...then pls. post the source so that I can tell you where to look at.
In general: If a java class is an extension of an other Java class the first invocation in its constructor must be super() or...
...then google for a flv-video and try with it.