aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes array to graphic mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "array to graphic mapping" Watch "array to graphic mapping" New topic
Author

array to graphic mapping

Anandh Ramesh
Ranch Hand

Joined: Dec 15, 2004
Posts: 61
Hi,

I have a set of arrays with strings stored in them. i need to display the values in the arrays inside boxes (squares). these boxes should be updated as and when the array gets updated. can somebody help me on how this can be done?


cheers,<br />Anandh
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Anandh Ramesh
Ranch Hand

Joined: Dec 15, 2004
Posts: 61
thanks for the code. i see that this generates a grid of strings. however, let me put my requirement this way.

i have n queues with strings, say 4.
i have n sets of boxes corresponding to these n queues, with the corresponding elements.
i have a function that pops one queue and pushes that element into another queue.
i want the contents inside these boxes to get updated whenever these queues are modified.

any help is greatly appreciated.
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: array to graphic mapping