Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning Java 2
This is the forum to discuss the Wrox book Beginning Java 2, SDK 1.4 Edition by Ivor Horton; ISBN: 9780764543654
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Java 2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 12th, 2004, 01:59 AM
Registered User
 
Join Date: May 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default cell editing

Hello friends,i'm working on a project of developing business

process execution engine.my work is to design graphical user

interface (some what similar to visual basic tool).i'm trying

to develope a VB look-like (and functionally)property window

with table(and celleditor).for every object i need to call

getPropertyXXX() and setPropertyXXX(Object XXX) methods.
Now i want these methods to be called automatacally(just

similar to method getValueAt() is called,for particular

object,depending on cell currently edited..HOW?
Can anyone of you,please solve my problem?


 
Old May 15th, 2004, 04:27 AM
Authorized User
 
Join Date: Sep 2003
Location: den Haag, , Netherlands.
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So much for outsourcing business software...

Sorry saiyedriyaz, we are trying to study a book here: Ivor Horton's Beginning Java2 (at least I am). Perhaps you should ask your questions at the more active help forums at www.sun.com

I have not yet begun deploying the swing.TextField class, but I think you should use that, with an awt.GridLayout manager for the table. You can add interactivity with ActionListeners.
The Action interface has an automatically updating Properties array inside, for titles, Icons, tooltips etcetera. AbstractAction makes that real. Take a look at those classes in your API.

Good luck!
Francis @ chapter13





Similar Threads
Thread Thread Starter Forum Replies Last Post
I need to refer a cell within a cell like =RC[ RC2 chakravarthi_os Excel VBA 1 September 24th, 2006 08:19 AM
editing datagrid and changing cell color upon edit matoaka VS.NET 2002/2003 0 August 11th, 2006 11:04 AM
Problem with editing my cell data in PHP. changusee2k Pro PHP 0 March 15th, 2006 03:57 AM
if the cell content is a part of another cell cont sriramus Excel VBA 1 November 15th, 2005 10:20 AM
Lose cell Text when editing cell in VSFlexGrid 6 bobcratchet VB How-To 0 July 30th, 2004 09:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.