- Sep 4, 2006
- 16,800
- 45
- 91
It's pretty simple, but I am having issues trying to figure out how I would draw this with JFrame/JPanel/JComponents:
http://img89.imageshack.us/img89/9986/sudokuboard.png
http://img852.imageshack.us/img852/4186/sudokuedgedetail.png (Close up)
http://img59.imageshack.us/img59/5689/sudokuedgedetail2.png (More details)
I've been gone from class for two weeks practically and the professor (refuses to help) isn't covering stuff that is in the book. So, I am a bit lost.
I've got this so far. http://img192.imageshack.us/img192/4846/codesofar1.jpg Which, really does nothing. I'm not sure what to do. Mind you, each one of those cells/boxes has to be a separate JComponent/thing. So I was thinking somehow you could have the border take up the whole frame, then just overlay the grid on top of that but pushed in on each edge by 2 pixels? I don't know if that is possible.
More details available if needed... But I am lost so far.
http://img89.imageshack.us/img89/9986/sudokuboard.png
http://img852.imageshack.us/img852/4186/sudokuedgedetail.png (Close up)
http://img59.imageshack.us/img59/5689/sudokuedgedetail2.png (More details)
I've been gone from class for two weeks practically and the professor (refuses to help) isn't covering stuff that is in the book. So, I am a bit lost.
I've got this so far. http://img192.imageshack.us/img192/4846/codesofar1.jpg Which, really does nothing. I'm not sure what to do. Mind you, each one of those cells/boxes has to be a separate JComponent/thing. So I was thinking somehow you could have the border take up the whole frame, then just overlay the grid on top of that but pushed in on each edge by 2 pixels? I don't know if that is possible.
More details available if needed... But I am lost so far.
Last edited: