Search:

Type: Posts; User: Souls512

Search: Search took 0.09 seconds.

  1. Replies
    5
    Views
    1,987

    Re: Swing, Hexagons, and odd drawing O MY

    Easy fix, changed the HexButton to inherit from JComponent and implemented MouseInputListener for the clicks.
    Works like a charm.

    Thanks for the feedback!
  2. Replies
    5
    Views
    1,987

    Re: Swing, Hexagons, and odd drawing O MY

    I have attached an image of what I see when running the code and clicking on the image.

    If that is not what you are seeing ... very odd. I am using Eclipse (not that I would think that would...
  3. Replies
    5
    Views
    1,987

    Re: Swing, Hexagons, and odd drawing O MY

    To add a little explanation.

    I have gone though this code extensively.
    I am simply new to Swing and not sure why it does not behave the way it "looks" like it should.

    The gist is:
    There is a...
  4. Replies
    5
    Views
    1,987

    Swing, Hexagons, and odd drawing O MY

    I am attempting to make a Hexagon based board.

    My first attempt was a JPanel that I repeatedly drew a hexagon image on. This had slowness issues when placed in a JScrollPane.

    Searching for a...
Results 1 to 4 of 4