Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

grid gui

864847May 27 2011
Dear All,
As a part of a cellular automaton application.
I need to create a simple GUI, where there are opaque circles that represent cells, and whose colour I can change by clicking on them. Also, these cells represent an array, so the colour needs to be saved in the array as a number. Also, each circular cell should have 6 immediate neighbours.
After creating the GUI i need to save the file, and be able to load it later. The cells should not disappear, the array should be stored such that when i re-load, the cells should automatically have the colours they had when i pressed save.
Need help.
Samanyu.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 24 2011
Added on May 27 2011
0 comments
126 views