Need help creating a grid.
From: El Durango (El_Durango_at_yah00.c0m)
Date: 11/23/03
- Next message: Mladen Adamovic: "http://java.seleskovich.com/"
- Previous message: J.P.Jarolim: "Re: How do I dynamically size a <HTML:TEXTAREA>????"
- Next in thread: VisionSet: "Re: Need help creating a grid."
- Reply: VisionSet: "Re: Need help creating a grid."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 23 Nov 2003 09:47:23 GMT
Hello I am new to Java AWT/Swing and have a question.
I would like to create a 10x10 grid, where each "cell" can handle mouse
events. So if I click on cell with a coord A4 then it would change color.
I was thinking of using JButtons but I want the "cells" to look more like
Excel-like in appearance. I also found a component called JTable but I do
not think that it can handle mouse events. Any suggestions??
- Next message: Mladen Adamovic: "http://java.seleskovich.com/"
- Previous message: J.P.Jarolim: "Re: How do I dynamically size a <HTML:TEXTAREA>????"
- Next in thread: VisionSet: "Re: Need help creating a grid."
- Reply: VisionSet: "Re: Need help creating a grid."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|