Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "ram" Subject: Re: JTable UI from User's Message-ID: X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: References: Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 57 Date: Wed, 27 Apr 2011 15:41:58 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918918 96.60.20.240 (Wed, 27 Apr 2011 10:41:58 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:41:58 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:2931 To: comp.lang.java.gui Supersedes: Roedy Green writes: >I was wondering what the consensus is on how a JTable should behave: It should act like the spreadsheet or platform table he normally uses. The programmer can not know what this spreadsheet or platform is. But often it might be Microsoft< Excel and Microsoft< Windows. So: The application, whenever possible, should offer a +Windows L&F2 and The Windows L&F should behave like Microsoft< Excel in this regard. >1. What does the user to do trigger a cell edit? In Excel, a keyboard user would use [F2]. >What does he do to edit the next cell over? I do not know the meaning of +to edit something over2, so I will ignore +over2 and answer: |What does he do to edit the next cell? (If he is editing a cell right now: )Terminate the edit mode. Move to the next cell. Activate the edit mode as before. >2. what does the user to do delete a row? Select the row. Issue a delete-row command via a menu. >3. what does the user do to insert a new row? Select a row. Issue a insert-row command via a menu to insert a row above the select row. >Does he type it in place or does he type it somewhere >else then it jumps into place? In Excel, the above can be done via mouse, keyboard, or programmatically, via a macro (in VBA). --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24