This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes how to display a 2d array in java GUI ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to display a 2d array in java GUI ?" Watch "how to display a 2d array in java GUI ?" New topic
Author

how to display a 2d array in java GUI ?

devashish ttripathi
Greenhorn

Joined: Dec 08, 2012
Posts: 5
I want to print a 2D Array to display a maze composed of "#" and "." so Iam unable to insert that array in the GUi display
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

2D array of JLabels in a GridLayout, or a JTable.


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to display a 2d array in java GUI ?
 
Similar Threads
Constructing multidimensional arrays
2D Array problem
How this is the answer.
How to convert Char array to two dimensional string
Moving within a 2 dimensional array