Search:

Type: Posts; User: frozen java

Page 1 of 4 1 2 3 4

Search: Search took 0.34 seconds.

  1. Replies
    1
    Views
    654

    Reading Data in JTable

    As the title suggests I am trying to read the data that is dynamically entered by the user. This is my first time using JTables.

    This is how I am reading the data:

    public void readData() {...
  2. Replies
    3
    Views
    476

    Socket Problem

    Hello everyone, I am working on a server and client pair and they connect just fine my problem is that the server needs to detect when the client disconnects. Right not I am using

    ...
  3. Replies
    1
    Views
    697

    Re: Creating Registry Key

    Nevermind I just fixed it!
  4. Replies
    1
    Views
    697

    Creating Registry Key

    In my application I am trying to make it run on startup but for what ever reason it wont add to the registry. I've done this manually from the command prompt and it worked fine I've also tried...
  5. Replies
    2
    Views
    821

    Re: Cannot Execute Program Error=26

    Thanks this works!
  6. Replies
    2
    Views
    821

    Cannot Execute Program Error=26

    Hello everyone I am working on an update function for a project that I've been working on, I can send the update perfectly fine but when it tries to execute it I get the following error:

    ...
  7. Replies
    0
    Views
    297

    Opening ports

    I am working on a program and I need to be able to send files from the server over to the client via tcp. Sending the files is no problem on the same network but how could I open a port on the...
  8. Thread: substring

    by frozen java
    Replies
    1
    Views
    416

    Re: substring

    I fixed it! It was so simple


    String[] command = cmd.split(" ");

    Then just


    switch(command[0])
  9. Thread: substring

    by frozen java
    Replies
    1
    Views
    416

    substring

    Hello I'll get straight to the point, I am working on an application where I get input from the user (cmd) and send it off to a switch statement (switch(cmd)). I don't know how to explain the rest so...
  10. Replies
    2
    Views
    471

    Writing string to file

    When I do this


    public void write(String key, String password, File data) throws IOException { // Writes the encrypted string to a file.
    System.out.println(data);
    out = new...
  11. Replies
    2
    Views
    471

    What does this error mean

    I am working on this program and I'm almost done but when I try to write a string to a file I get this error:


    java.lang.ArrayIndexOutOfBoundsException: 98

    I'm just wondering what causes this...
  12. Replies
    1
    Views
    632

    Java Robot Questions

    So I am working on creating a bot to automate a process for me, I don't have any problem moving the mouse around and clicking stuff. However, I only want the mouse to be able to move inside of a...
  13. Re: Running a java applet inside a java window?

    No I'm not sure, how would I be able to tell without decompiling?
  14. Running a java applet inside a java window?

    Is it possible to create a window with say a JFrame and inside that have a java applet run?

    Reason why I am asking is because I have a pre-compiled JAR file that I don't have the source code to...
  15. Variables equaling null in some class's but not others

    I'm working on a programming and its loading strings from a file and settings variables equal to them. It's weird because in some class's they value of these variables is equal to what I am...
  16. Replies
    6
    Views
    1,026

    Re: Missing elements in array

    commands has a length of 2. I'm assuming that the 2 represents the number of arrays? Quick question here, does that "2" include 0,1, and 2 or just 1 and 2?
  17. Replies
    6
    Views
    1,026

    Re: Missing elements in array

    I wrote this quick little program to debug the array:


    package encrypter;

    public class test {

    static String[][] commands = {{"commands", "new", "ls"},
    {" - Lists current commands."," -...
  18. Replies
    6
    Views
    1,026

    Missing elements in array

    I have a double array with 3 elements in it, however when I print the array it only shows the first two.

    Here's my array:

    private static String[][] commands = {{"commands", "new", "ls"}, ...
  19. Replies
    3
    Views
    2,554

    Re: Cannot assign requested address

    It wont compile because I did not paste all of the classes, and yes.
  20. Replies
    3
    Views
    2,554

    Cannot assign requested address

    I'n trying to get this server I wrote running on one of my clients computers but they are getting this error:

    java.net.BindException: Cannot assign requested address: JVM_Bind
    at...
  21. Replies
    6
    Views
    2,350

    Re: "\b" not "back spacing"?

    alright i got it working thanks
  22. Replies
    6
    Views
    2,350

    Re: "\b" not "back spacing"?

    so how would I make it read \b and know to remove one character back?
  23. Replies
    6
    Views
    2,350

    Re: "\b" not "back spacing"?

    the character its out printing is 921 for some reason it didnt post it.
  24. Replies
    6
    Views
    2,350

    "\b" not "back spacing"?

    Correct me if I'm wrong here but \b is supposed to remove the last letter in a string like \n is supposed to go to a new line.

    For what ever reason \b is not backspacing but instead my a character...
  25. Write something to the next available line in a file

    The title basically says. What I'm trying to do it to get the output of the my program to write to a text file (which i have working) but I want to to go a the next empty line every time the program...
Results 1 to 25 of 88
Page 1 of 4 1 2 3 4