Search:

Type: Posts; User: boaz1001

Search: Search took 0.37 seconds.

  1. Replies
    8
    Views
    462

    Re: problem with the MouseListener

    i check`t the points and you right! all the points are the same...

    where is the problem in may code because i adding the pieces to the panel ... way the draw is on the same point?
    this is my...
  2. Replies
    8
    Views
    462

    Re: problem with the MouseListener

    i get the same value in evry labels


    public class Board implements MouseListener
    {
    private int x;
    private int y;
    private Point location;
    private ImageIcon picture;
    private JLabel label;
  3. Replies
    8
    Views
    462

    Re: problem with the MouseListener

    i added print because i want to print the points in evry piece... but he doesnt print the point... he prints me all the time the last x and y
    of the last piece (map[8][11])
  4. Replies
    8
    Views
    462

    Re: problem with the MouseListener

    my game is like the game exagon know that game?
    so i want that the board will be a matrix... i added printers because i want to know what is the pointers in evry piece and piece...
    but i write me...
  5. Replies
    8
    Views
    462

    problem with the MouseListener

    I built a game that built an matrix of labels i add the labels an mouselistener and The problem is that when I press event on a
    particular label, say there is map[0][0] It create an event no...
Results 1 to 5 of 5