ed jones

Greenhorn
+ Follow
since Oct 01, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ed jones

hello,

confused about how to load an image? The image is in /src/res
15 years ago
Hi,
I would like to make 5 rows each with 10 blocks of Rectangles

When I run this I only see the last row, and I can't figure out why?

Also is there a better way to approach this ? / ie: creating Rectangle objects.

thanks for your time
15 years ago
hi,

this is some code taken from the net, modified a bit, that I'm trying to understand. The idea is to bounce a ball. Currently the ball bounces in a continuous line, but I can't see where I'm messing up.

thanks for your time
15 years ago
thanks for the speedy reply
15 years ago
I get a syntax error in the following

the error is at Ball ball

I'm trying to understand why I get this error?

thanks
15 years ago
Hello,

I would like to put a series of blocks across the screen for a game. The idea is to do the painting to the backbuffer, then put everything to the screen. I see the blocks flash across the screen before they are gone. So I'm messing up someplace with the paint process? here's the paint part (some parts from a tutorial)


thanks for your time
15 years ago
if I put this in my code System.out.println("hello");

I get an error message? I would have thought I could use this anywhere in the code?

thanks
15 years ago
copied this from a tutorial site, but when I run it in Eclipse as an application it minimizes to the task bar, and I never see the window on the screen?


thanks
15 years ago
I've read alot of code on mouse listeners, and I'm still stuck

I've created a rectangle, and when the mouse is inside, and I click, I should see a response in the rectangle, but I don't?

thanks for your time

heres some of the code

[edit]Add code tags. CR[/edit]
[ October 17, 2008: Message edited by: Campbell Ritchie ]
15 years ago
Hello,

my goal is to create say 100, small fillable rectangles

if I put, inside a "for" loop

GRect myRect = new GRect( .........etc

I can create the rectangles

my question is,is this correct, ie: should each rectangle be a "new" GRect, or is there a way to just make copies of the first GRect?

thanks
15 years ago
new nooob here / using eclipse

would like to create a standard window, then put a rectangle in it

I am confused as to what header files (imports) I would need

thanks for your time
15 years ago