Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: DidierD

Search: Search took 0.01 seconds.

  1. Completely copying a JPanel and everything inside it.

    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...
  2. Replies
    0
    Views
    456

    Is creating a 'Pathway' possible? / Program is deviating

    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...
  3. Replies
    4
    Views
    1,289

    Re: Removing Bubbles on my grid

    I've changed it all and figured it out. But thanks anyway.
  4. Replies
    4
    Views
    1,289

    Re: Removing Bubbles on my grid

    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...
  5. Replies
    4
    Views
    1,289

    Removing Bubbles on my grid

    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...
  6. Replies
    17
    Views
    5,057

    Re: Jpanel + Grid location using MouseListener

    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!
  7. Replies
    17
    Views
    5,057

    Re: Jpanel + Grid location using MouseListener

    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...
  8. Replies
    17
    Views
    5,057

    Re: Jpanel + Grid location using MouseListener

    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...
  9. Replies
    17
    Views
    5,057

    Re: Jpanel + Grid location using MouseListener

    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......
  10. Replies
    17
    Views
    5,057

    Re: Jpanel + Grid location using MouseListener

    Ok thank you so much dude! All this help has been great. Thanks again!
  11. Replies
    17
    Views
    5,057

    Re: Jpanel + Grid location using MouseListener

    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...
  12. Replies
    17
    Views
    5,057

    Re: Jpanel + Grid location using MouseListener

    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,...
  13. Replies
    17
    Views
    5,057

    Re: Jpanel + Grid location using MouseListener

    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...
  14. Replies
    17
    Views
    5,057

    Jpanel + Grid location using MouseListener

    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...
  15. Replies
    6
    Views
    2,290

    Re: Abstract error that i don't understand.

    Oh thank you dude! I've been staring at this code for a good hour, thanks for your set of eyes :D!
  16. Replies
    6
    Views
    2,290

    Re: Abstract error that i don't understand.

    is that better? ^ edited the original post...
  17. Replies
    6
    Views
    2,290

    Abstract error that i don't understand.

    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...
  18. Replies
    0
    Views
    2,161

    Java Bubble Breaker help

    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...
Results 1 to 18 of 18


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center