File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes RCP-SWT table data on button click Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "RCP-SWT table data on button click" Watch "RCP-SWT table data on button click" New topic

RCP-SWT table data on button click

Tejaswini Pol

Joined: Aug 25, 2010
Posts: 3
Hi All,

I am working on RCP (SWT) for developing screens/ views.
I want to create a table with first column read only and others editable, user can enter values in the editable columns.
And after entering the values and clicking on Save button I want the data of each cell of table, which inturn will be saved in database.

Can ne1 please help.

Following is code snippet (which I found on net) for table with first column non editable.

Rob Spoor

Joined: Oct 27, 2005
Posts: 19649

Please UseCodeTags next time. I've added them for you this time. I would also advice you to keep your indentation consistent. Either use 4 spaces (preferred amount), or 2, or tabs, but don't mix them all like this.

How To Ask Questions How To Answer Questions
Tejaswini Pol

Joined: Aug 25, 2010
Posts: 3
Thanks Rob, will do that next time.
I agree. Here's the link:
subject: RCP-SWT table data on button click
Similar Threads
determine the number of rows to be saved from a table to an excel sheet
java SWT application giving error while executing jar file
retrieving data from table and saving into database
Why can't I delete item form table.(SWT)
Callable and SWT - How to keep Thread in Background when startet by ButtonDown-Event