Search:

Type: Posts; User: Voodoo

Page 1 of 5 1 2 3 4

Search: Search took 0.16 seconds.

  1. Replies
    2
    Views
    1,731

    Re: how to get the available server in the lan

    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);
    ...
  2. Replies
    13
    Views
    1,560

    Re: Why doesnt my constructor work?

    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...
  3. Replies
    13
    Views
    1,560

    Re: Why doesnt my constructor work?

    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...
  4. Replies
    10
    Views
    1,922

    Re: HELP WITH COMBO!

    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) {
    ...
  5. Re: I can't enter any values in JTextField after loading the flash files.

    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...
  6. Replies
    10
    Views
    1,922

    Re: HELP WITH COMBO!

    bejeanius,
    the combo boxes should be attached to an actionListener like this


    public class Boxes extends JDialog implements ActionListener {
    ...
    box1 = new...
  7. Re: Accessing Remote PC in a different network with IP Address & Gateway

    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.
  8. Replies
    13
    Views
    1,560

    Re: Why doesnt my constructor work?

    Special for veeer,


    int red1;
    int green1;
    int blue1;

    int red2 = 99;
    int green2 = 182;
    int blue2 = 222;
  9. Replies
    13
    Views
    1,560

    Re: Why doesnt my constructor work?

    Wenn Du nichts verstehst, kannst Du beim Admin beschweren. If you don't understand you can complain at the admin.
  10. Replies
    6
    Views
    3,550

    Re: Socket Programming over the Internet

    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...
  11. Replies
    36
    Views
    3,804

    Re: Trouble Updating an Array

    Yeah, you're right...I was somehow absent-minded. Sorry.
  12. Thread: need help...

    by Voodoo
    Replies
    5
    Views
    1,193

    Re: need help...

    ...the setIcon(Icon) will do. For Java 1 backslash must be written by 2 backslashes. Also c:\\..\\
  13. Re: Accessing Remote PC in a different network with IP Address & Gateway

    ...then your JAVA JRE (Java Runtime Environment) is NOT allowed to go thru the firewall. Ask your admin to do it for you :D.
  14. Replies
    6
    Views
    1,250

    Re: Struggling with an Array of Arrays

    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},
    ...
  15. Replies
    36
    Views
    3,804

    Re: Trouble Updating an Array

    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...
  16. Replies
    13
    Views
    1,560

    Re: Why doesnt my constructor work?

    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...
  17. Re: I can't enter any values in JTextField after loading the flash files.

    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.
  18. Thread: need help...

    by Voodoo
    Replies
    5
    Views
    1,193

    Re: need help...

    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...
  19. Replies
    6
    Views
    1,669

    Re: Need Help with Null Pointer Exception

    where are the exception messages? Before I scan your code I need to see the exception messages.
  20. Re: Using a CountingBloomFilter (java.lang.VerifyError)

    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...
  21. Re: Using a CountingBloomFilter (java.lang.VerifyError)

    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...
  22. Re: Properly releasing memory to avoid memory pileup/crash

    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.
  23. Thread: Exception

    by Voodoo
    Replies
    5
    Views
    2,130

    Re: Exception

    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:...
  24. Re: Using a CountingBloomFilter (java.lang.VerifyError)

    ...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...
  25. Re: Getting error messages with my javafx video player

    ...then google for a flv-video and try with it.
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4