Search:
Type: Posts; User: DidierD
Search:
Search took 0.02 seconds.
-
March 30th, 2011, 08:01 AM
Does anyone know if its possible to do this?
I have a JPanel called squareContainer, which holds other JPanels called number, all of which have a randomly assigned image to it. Before I start...
-
March 28th, 2011, 07:57 PM
I use the term pathway lightly here...
The issue is such that, basically I have a grid of items. I want my program to go through a loop for each element in the grid, then have my program go onto...
-
March 10th, 2011, 10:48 AM
I've changed it all and figured it out. But thanks anyway.
-
March 9th, 2011, 05:55 PM
hmmm i've tried neatening it up a bit, it's the way i try new things, add, then just comment out instead of removing the actual code, its silly, but i do it incase I want to backtrack. My bad and...
-
March 9th, 2011, 04:35 PM
Hi,
So my program consists of a grid (currently working only on 8x8 grid till i get it working) and it works like a bubble breaker game, whereby if you click a bubble it removes it along with all...
-
February 11th, 2011, 07:44 PM
Oh, I'll be sure to implement that once i've created the actual method that will do this, I just needed to run tests to make sure I was using the correct methods and so forth.
Thanks!
-
February 10th, 2011, 08:20 PM
I'm not quite sure what you mean =/ i actually have it working in two different way now and haven't decided which way to keep yet:
small() is different to medium() and large()
import...
-
February 10th, 2011, 03:19 PM
Well this is the revised code for small() as its the one im doing my testing on:
public void small(){
JPanel squareContainer = new JPanel();
squareContainer.setLayout(new...
-
February 10th, 2011, 02:10 PM
Really sorry to ask again so quickly, but i seem to be having a very annoying problem that ive been trying to get around for a few hours....
I can successfully get the grid location all that......
-
February 10th, 2011, 08:08 AM
Ok thank you so much dude! All this help has been great. Thanks again!
-
February 10th, 2011, 07:37 AM
I think I get what you mean, this will be VERY useful, so thank you VERY VERY much!
one last thing though, when asking for its background, how would you suggest i go about that? would something...
-
February 9th, 2011, 06:03 PM
Well when each panel/label is clicked I want to retrieve its background colour ( getBackground() )... then compare the results, lets say RED to the panels/labels next to it, and if the colours match,...
-
February 9th, 2011, 04:50 AM
hmmm thats a good idea, thanks, but do you have any idea how i could go from there and actually interrogate them? as in to ask the individual panel what there background is? i know theres a method...
-
February 8th, 2011, 06:11 PM
Hi,
I can't seem to think up a way or can't seem to find an appropriate method in the APIs to help with this.... the problem is as follows;
I have a grid of JPanels that contain JLabels with...
-
February 3rd, 2011, 11:42 AM
Oh thank you dude! I've been staring at this code for a good hour, thanks for your set of eyes :D!
-
February 3rd, 2011, 11:14 AM
is that better? ^ edited the original post...
-
February 3rd, 2011, 10:36 AM
Hey,
So im getting an error that says that my class is not abstract and can't overun the abstract method im trying to use ( Action Performed ) well if anyone can figure out the error or give some...
-
February 1st, 2011, 09:43 AM
Hi,
So i want to make a bubble breaker game in Java, but was wondering if anyone knows of any good tutorials out there i could learn off of, or know of any freely available code that I could use...
|
Click Here to Expand Forum to Full Width
|