Search:

Type: Posts; User: cryslam

Search: Search took 0.39 seconds.

  1. Re: revalidating JPanel when image is deleted from file

    I can display a JLabel in the bPanel, and it can show the user whether they uploaded the image sucessfully. but my original problem was to show that the image in the jscrollpane has been deleted once...
  2. Re: revalidating JPanel when image is deleted from file

    I want it shown on pPanel, which consists of the jsplitpane that has the jscrollpane and the button panel

    & I don't' have a component that shows whether the image is sucessfully loaded or can't...
  3. Re: revalidating JPanel when image is deleted from file

    what I mean by "update on pPanel" is that once I have removed an image path from my file system, I want it to show on the panel that it has been deleted/removed

    --- Update ---



    I have, in my...
  4. revalidating JPanel when image is deleted from file

    When the user presses the delete button, the code below runs but, I cannot figure out why, the images I have deleted from the file directory won't update on pPanel. this panel consist of a JSplitPane...
  5. Re: There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    Scratch the scanner stuff I added before, and I have read the scanner API doc but I want to read in Strings from the user. I want to read in String array arguments, but in Java the arguments are...
  6. Re: There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    I added the print statement and scanner to try to make the code work..but failed. The program is supposed to wait for the user to enter like:
    To add a new user:
    java...
  7. Re: There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    1919 1920 1921 1922 1923 1924


    these are the files. I'm supposed to implement a code that is allows a user to sign in and edit their albums, and photos. Also we're supposed to edit the...
  8. Re: There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    I added this to my code, and it doesn't work.


    int count = 0;
    cs213.photoAlbum.model.backend.readPerUser();

    //s.useDelimiter("\n");
    ...
  9. Re: There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    right, the thing is I'm supposed to run it in command line mode and the arguments would be inputted before running the main class....
    like this:

    To add a new user:
    java...
  10. Re: There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    here's the error:

    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
    at cs213.photoAlbum.simpleview.CmdView.main(CmdView.java:22)
  11. There's an arrayoutofbounds, but my partner coded this and he doesn't know whats wrong.

    1918
Results 1 to 11 of 11