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...
Type: Posts; User: cryslam
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...
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...
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...
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...
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...
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...
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...
I added this to my code, and it doesn't work.
int count = 0;
cs213.photoAlbum.model.backend.readPerUser();
//s.useDelimiter("\n");
...
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...
here's the error:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at cs213.photoAlbum.simpleview.CmdView.main(CmdView.java:22)