JTable - Preventing user input.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: JTable - Preventing user input.

Threaded View

  1. #1
    Join Date
    Feb 2003
    Posts
    17

    Question JTable - Preventing Editing

    I am using a JTable. I want to have the rows selectable, however I dont want the user to be able to edit or input data directly via the table.

    I can use: jTable1.setCellSelectionEnabled(false);

    However this stops the rows being highligted when clicked on how do I go about this??

    Thanks for Reading


    Scottie!!
    Last edited by scottie_uk; 12-07-2005 at 11:29 AM.

Similar Threads

  1. Replies: 0
    Last Post: 02-05-2002, 03:11 PM
  2. Script for scrolling
    By Mark in forum Web
    Replies: 3
    Last Post: 08-30-2001, 11:45 AM
  3. Check if an application is waiting for user input
    By Gerardo Gomez in forum VB Classic
    Replies: 6
    Last Post: 06-26-2000, 11:34 AM
  4. Creating a user input search
    By oSSiE in forum ASP.NET
    Replies: 0
    Last Post: 05-01-2000, 06:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center