Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~317 People Reached
Favorite Forums
Favorite Tags
java x 6
Member Avatar for johnlop1

So i have this input.txt file, and there are 5 entries in it, I want to take each entry( in the format of Image1.jpg, Image2,jpg, etc) and store it into an arraylist. Then use java GUI to display each image by clicking a button, from image1 to image5. First I …

Member Avatar for JamesCherrill
0
113
Member Avatar for johnlop1

I want to read an input from a text file: Test1.jpg Test2.jpg Test3.jpg each name is separated by an empty line, i want to get all the names and store them into a arraylist. I am using while((line=inputFile.readLine())!=null) will this work because when it hits the empty line, it will …

Member Avatar for Ezzaral
0
93
Member Avatar for johnlop1

How do I write an event listener that displays an image when I click the upload button? so far i have [CODE] jButton1 = new javax.swing.JButton(); jButton1.setText("Upload"); jButton1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton1ActionPerformed(evt); } });[/CODE] and then [CODE]//the LOAD button for loading the file private void jButton1ActionPerformed(java.awt.event.ActionEvent …

Member Avatar for Ezzaral
0
111