2.0

2.0 | 1 rating Rate this file 1 Download (last 30 days) File Size: 1.64 KB File ID: #21205
image thumbnail

javaTable

by Matt Dunham

 

24 Aug 2008 (Updated 25 Aug 2008)

Simple function to display cell array data in a nice looking Java JTable

| Watch this File

File Information
Description

This simple function lets you display a 2D cell array of strings in a Java JTable, which resembles a spreadsheet complete with scroll bars. You simply pass in the cell array, the column names and the name of the table and a new java window pops up showing the data.

MATLAB release MATLAB 7.6 (R2008a)
Other requirements Java
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
30 Oct 2008 Anthony Beauchamp

do you how can I create a callback in matlab if the user change sleection from one row to another? Thank you and good work.

11 Dec 2008 matt dash

No help file. Gives all kinds of java exceptions if number of columns doesnt match size of data. Would be more useful if it was in a matlab window instead of a java window.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
structures Matt Dunham 22 Oct 2008 10:15:52
cell arrays Matt Dunham 22 Oct 2008 10:15:52
java Matt Dunham 22 Oct 2008 10:15:52
jtable Matt Dunham 22 Oct 2008 10:15:52
cell array Matt Dunham 22 Oct 2008 10:15:52
graphical table Matt Dunham 22 Oct 2008 10:15:52
spreadsheet Matt Dunham 22 Oct 2008 10:15:52
table Matt Dunham 22 Oct 2008 10:15:52
jtable David 16 Dec 2008 10:14:28

Contact us at files@mathworks.com