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
~7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for TahoeSands

In my journey "back to the basics" to get a more solid foundation for my Java skills, I am curious about the difference between using the existing content pane of a JFrame vs. creating a new content pane in a JFrame. I have two chunks of code... The first uses …

Member Avatar for Gerbiler
0
209
Member Avatar for TahoeSands

I am going to keep this discussion fairly abstract initially in hopes that I will get a broad range of approaches. Here goes... I am working on an application which uses paint() to fill a JFrame with a "background" (a game table) and several ancillary elements (table markings, chips, etc.) …

Member Avatar for Ezzaral
0
79
Member Avatar for TahoeSands

Every time I think I am really making progress in understanding object oriented programming, I run into something that makes me have to go back and start all over again... This time its "subclassing". I believe that I understand the basics inheritance and overriding, but when I start to develop …

Member Avatar for jon.kiparsky
0
119
Member Avatar for TahoeSands

I love to play Poker and Blackjack online and I would like to duplicate how one of these casinos displays chips on the screen. We have all see this type of button before... An image of a $1 chip is shown at the bottom of the screen. As we mouse …

Member Avatar for kramerd
0
90
Member Avatar for TahoeSands

For several weeks, I have been trying to wrap my brain around the concept of the paint(Graphics g) method. I have a pretty good idea how it works, but I am still struggling with the "practical" application of the paint method with respect to OOP. I can write small apps …

Member Avatar for TahoeSands
0
167
Member Avatar for TahoeSands

Once again, I found some code that seems to be doing something that I would like to try, but I get a Static Error when I try to run the code (apparently, I may be the only one). By the way, the code comes from the book, "Swing Hacks" By …

Member Avatar for TahoeSands
0
166
Member Avatar for TahoeSands

I have written some code that compares two "BufferedImage" rectangles by doing a pixel by pixel comparison. These BufferedImages are of "playing cards" with rounded corners so I would like to exclude those corner areas during the image comparison process since the varied background could cause the comparison to be …

Member Avatar for TahoeSands
0
86
Member Avatar for TahoeSands

I am writing a Java application that "passively" interacts with a Windows Desktop Application. What I mean when I say that it interacts "passively" is that I perform screen captures to determine the location of "buttons" displayed by this Desktop Application and I use "absolute" x and y coordinates to …

Member Avatar for TahoeSands
0
527
Member Avatar for TahoeSands

I found some code that does something that interests me, but I don't fully understand the implementation. The part I am struggling with is where the author "overrides" an "actionPerformed" method. I have a vague idea of why someone would want to override a method that is inherited from the …

Member Avatar for NormR1
0
336
Member Avatar for TahoeSands

I would like to write some Java code that will make the mouse "click" somewhere within a 25 by 50 pixel region on the screen. Additionally, I would like the majority of this "clicking" to occur nearer the center of that region (and less around the outside edges of the …

Member Avatar for Ezzaral
0
123
Member Avatar for TahoeSands

Normally, I post all the information and code snippets that I can muster when asking a question, but this time I will throw "caution to the wind" and just pose the scenario/question... Right now there is an application running and displayed on my screen, the Firefox Web Browser. I want …

Member Avatar for TahoeSands
0
131
Member Avatar for TahoeSands

I am working on an application in Java and for part of my plan I would like to have an object (eventually an array of these objects) where I could store two or three (I am not sure yet) varied types of data, for instance... A BufferedImage and a string …

Member Avatar for JamesCherrill
0
954
Member Avatar for TahoeSands

Hello Everyone, This is my first post, so be gentle with me. I am working on an application and I have a need to store about 5 or 6, X and Y coordinate pairs. The values for X and Y are reasonably small integer values (less than 5000). Essentially all …

Member Avatar for TahoeSands
0
4K