Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for cherryduck

Hey guys and guyettes, I'm trying to make a game, when you click on a card, a certain set of things happen to that particular card. As the set of actions that occur are the same for each and every card, putting everything in the MouseClicked event for each and …

Member Avatar for cherryduck
0
129
Member Avatar for cherryduck

Hey, this is a continuation of my image editing program, I am trying to perform intensity thresholding with an intelligent threshold. My code thus far: [CODE] private void thresholdMenuItemActionPerformed(java.awt.event.ActionEvent evt) { BufferedImage inputImage = getImage(); setUndoImage(inputImage); BufferedImage thresholdImage = new BufferedImage(inputImage.getWidth(), inputImage.getHeight(), inputImage.getType()); int threshold = 0; int tnew = …

Member Avatar for cherryduck
0
182
Member Avatar for cherryduck

Hi everyone, I'm trying to write an image editor in Java, one of the functions is histogram equalisation, but my code is producing a greyscale image instead :( Here is my code, any help would be greatly appreciated, ta. [CODE] private void histEqMenuItemActionPerformed(java.awt.event.ActionEvent evt) { BufferedImage inputImage = getImage(); BufferedImage …

Member Avatar for cherryduck
0
101
Member Avatar for cherryduck

Hi everyone, I'm making a program to store library books details, my constructor is such: [CODE]public Book(String author, String title, String publisher, int year)[/CODE] and I'm using an array to store and number the books and details, as such: [CODE]for(int i = 0; i <= 100; i++) { String book[i] …

Member Avatar for cherryduck
0
129
Member Avatar for cherryduck

Hi everyone, I'm trying to create a simple Java game, The Last Space Invader, where you control the last space invader and the tank automatically tracks and shoots at you. The code for my invader is as follows: [CODE]import javax.swing.*; import java.awt.*; import java.io.*; import javax.imageio.*; import java.awt.event.*; public class …

Member Avatar for cherryduck
0
490
Member Avatar for cherryduck

Hey everyone, I'm writing a program as follows: CourseMarker course Java u4 exercise sunflower: Sunflower Growth part 2 (Weight: 3) =================================================================================== Introduction ============ This is a continuation of last weeks exercise on the growth of sunflowers, but the problem is now more complex. It now involves loops and makes sure …

Member Avatar for cherryduck
0
210
Member Avatar for cherryduck

"Write a program in MIPS assembly language which reads two integers a, b, calculates a^3 + 3ab^2 + 3a^2b + b^3 and outputs the result." My question is, how do I calculate powers of things in MIPS? Also I think I probably need to simplify that equation first...does anyone know …

Member Avatar for cherryduck
0
123