Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

spreadsheets-NSTableView-JTable???



This may be off-topic. If it is direct me to the correct list. 

I need to build an app that utilizes a basically standard-usability worksheet/spreadsheet that holds user-provided integer and/or floating point data (by user entry and/or files, ascii and/or binary).  I wanted to write it all in Cocoa. I thought that NEXT, and then OSX, were firmly established and matured frameworks. I planned on using NSTableView. 

Then I read a MacTech article on NSTableView (MacTech - v.18-no.9, Sept.2002) and my impression from that article is that NSTableView is NOT applicable for "cell-based display and selection like you would find in a spreadsheet." [MacTech, v.18, no.9, page 8, column 1, Introduction, paragraph 2, line 8] The article then said it would be wise to roll your own classes if you want to use Cocoa.  

I also looked at a Cocoa-framework open project called rrspreadsheet, but the last work on it was done a few years ago and my compilation of it in Panther didn't work too well.

Java, a much younger language, has the Table/JTable classes and a simple example of a spreadsheet.  A number of websites show simple pure-Java examples of JTables.  

Has anybody been able to use JTable in a Cocoa app for spreadsheet-like work? Is it possible? Can you drag-and-drop text between the desktop and/or Cocoa objects and a JTable object? 

Is there a better alternative than JTable or NSTableView? What do people on this list use?  

Thanks in advance for any discussion. 


Steve Christon  <email@hidden>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.