Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / March 2008

Tip: Looking for answers? Try searching our database.

Java -> Netbeans -> JTextField.name property???

Thread view: 
Willy Wankalot - 22 Mar 2008 23:59 GMT
Hi

New to java, but seasoned in other languages like C++.  Anyway, first time
using Netbeans for java.

When using the gui designer to place a text component in a dialog, I get a
default "JTextField1" name for it from the gui designer.  so far, so good.
But when I rename it to something else like "Username" in the "name" field,
the change is not made in the source.  However, when I right click the
JTextField component and do "change variable name", it changes the source
code *and* name field correctly.  Is this a bug in the IDE or am I
misinterpreting the use of the "name" field in the properties box?

No big deal ... I just need to use the right-click method to change the
name, but I would like to verify this behavior is not just my install of it,
or anything else I might be overlooking about the behavior of the gui
developer.  TIA
Sabine Dinis Blochberger - 24 Mar 2008 12:20 GMT
> Hi
>
[quoted text clipped - 13 lines]
> or anything else I might be overlooking about the behavior of the gui
> developer.  TIA

I think you want "change variable name". "name" is/can be used for other
things then unique identification.
Signature

Sabine Dinis Blochberger

Op3racional
www.op3racional.eu



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.