BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to create getter and setter methods in JBuilderX?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE
View previous topic :: View next topic  
Author Message
Lori M Olson [TeamB]
Guest





PostPosted: Wed Sep 22, 2004 4:59 pm    Post subject: Re: How to create getter and setter methods in JBuilderX? Reply with quote



Daniel Mark wrote:

Quote:
Hello all:

Does JBuilderX provide some ways to create
getter and setter methods?


thank you
-Daniel



You can go to the "Bean" tab of your source file to do this. In JB2005
there is also an Introduce Field refactoring that will automatically add
getters and setters as required... I don't think that's in JBX, but I
could be remembering wrong.

--

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html


Back to top
Daniel Mark
Guest





PostPosted: Wed Sep 22, 2004 5:28 pm    Post subject: How to create getter and setter methods in JBuilderX? Reply with quote



Hello all:

Does JBuilderX provide some ways to create
getter and setter methods?


thank you
-Daniel


Back to top
Tor Iver Wilhelmsen [Team
Guest





PostPosted: Wed Sep 22, 2004 6:01 pm    Post subject: Re: How to create getter and setter methods in JBuilderX? Reply with quote



"Daniel Mark" <danielmarkhot (AT) hotmail (DOT) com> writes:

Quote:
Does JBuilderX provide some ways to create
getter and setter methods?

If you have Developer or Enterprise, use the BeansExpress; it's under
the "Bean" tab as Lori wrote. Under there, click on the "Properties"
sub-tab.

I checked the "Introduce field" refactoring in JBX, and it does not
add getters or setters; apparently that is new in JB 2005.

Back to top
Daniel Mark
Guest





PostPosted: Wed Sep 22, 2004 8:18 pm    Post subject: Re: How to create getter and setter methods in JBuilderX? Reply with quote

Hello Lori:
Quote:
You can go to the "Bean" tab of your source file to do this. In JB2005
there is also an Introduce Field refactoring that will automatically add
getters and setters as required... I don't think that's in JBX, but I
could be remembering wrong.

I find the solution:)
thank you for your great helps!

-Daniel



Back to top
Daniel Mark
Guest





PostPosted: Wed Sep 22, 2004 8:19 pm    Post subject: Re: How to create getter and setter methods in JBuilderX? Reply with quote

Hello Tor:

Quote:
I checked the "Introduce field" refactoring in JBX, and it does not
add getters or setters; apparently that is new in JB 2005.

After reading comments from you and Lori, I find
the way to figure it out in JBuilderX.


thank you very very much!
-Daniel



Back to top
Steve Wilber
Guest





PostPosted: Thu Sep 23, 2004 5:43 pm    Post subject: Re: How to create getter and setter methods in JBuilderX? Reply with quote

Personally, I prefer Edit | Edit Fields/Properties...

From that dialog you can create/remove new fields as well as add/remove
getters and setters. You can also reach the dialog by right clicking in
the editor pane.

Lori M Olson [TeamB] wrote:
Quote:
Daniel Mark wrote:

Hello all:

Does JBuilderX provide some ways to create
getter and setter methods?


thank you
-Daniel



You can go to the "Bean" tab of your source file to do this. In JB2005
there is also an Introduce Field refactoring that will automatically add
getters and setters as required... I don't think that's in JBX, but I
could be remembering wrong.


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.