Search:

Type: Posts; User: Ludo

Search: Search took 0.09 seconds.

  1. [SOLVED] Re: How to tell a JPanel, that one of the JPanels it contains has been clicked?

    Thank you, copeg. That actually gets me going again.

    aussiemcgr, thank you for that. I will try this out, and see if I can get it working too. It should help me out if I run into any other...
  2. [SOLVED] Re: How to tell a JPanel, that one of the JPanels it contains has been clicked?

    Tested it out.
    It will only pick it up if the MouseListener is taken off the PuzzlePanel or if I click in the area of a PuzzlePanel that is not visible.
  3. [SOLVED] Re: How to tell a JPanel, that one of the JPanels it contains has been clicked?

    Thank you for your reply.


    Yes, each PuzzlePanel is in only one Puzzle.
    I'm not sure I know how to do this, though I understand the idea.
    Is there an example you could direct me to, or if you...
  4. [SOLVED] How to tell a JPanel, that one of the JPanels it contains has been clicked?

    Hi, I am trying to make a tile puzzle game. I am having trouble in getting the tiles (JPanels) to move.

    I have a Puzzle class that extends JPanel, and this contains either a 3*3 or a 4*4 grid of...
Results 1 to 4 of 4