Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
java x 15
Member Avatar for stresstedout

I am trying to get 20 images displayed on a jframe in jlabels using a gridlayout. I have added a while loop but still i am only am to see 1 image, please can you help me to display more than image in jlabels on a jframe? setSize(600, 600); setDefaultCloseOperation(HIDE_ON_CLOSE); …

Member Avatar for JamesCherrill
0
212
Member Avatar for stresstedout

Hi, I am trying to a game, and i wanted to add my images to mysql. I have managed to save and retrieve the images. I have written a code which allows me to only retrive 1 image on my jframe in a jlabel from the database, i am a …

Member Avatar for stultuske
0
360
Member Avatar for stresstedout

Can anyone help me to improve my code so i can add more than image to my sql database. The code i use is below: Connection connection = null; String connectionURL = “jdbc:mysql://localhost:3306/mydb”; ResultSet rs = null; PreparedStatement psmnt = null; FileInputStream fis; try { Class.forName(“com.mysql.jdbc.Driver”);//.newInstance(); connection = DriverManager.getConnection(connectionURL, “root”, …

Member Avatar for stresstedout
0
220
Member Avatar for stresstedout

Hi, I am new to java, so please be nice. I am trying to make an application in Netbeans, i know the basics of how to use the program but get a little stuck when it comes to programming. At the moment i am trying to get a button to …

Member Avatar for ObSys
0
161
Member Avatar for infinitus

Hello i'm having a problem with a program. Let me tell you first what program should do. The program should allow the tutor to enter in the various marks which the students have been awarded, until the tutor enters in a mark exceeding 100. At this point the program should …

Member Avatar for jon.kiparsky
0
446