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



Willy Wankalot wrote:

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


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

Op3racional
www.op3racional.eu
.



Relevant Pages

  • Re: Changing JFrame components at runtime
    ... Netbeans, but I'm not using GUI designer. ... Java layouts and general GUI techniques. ... NetBeans uses an XML description. ...
    (comp.lang.java.gui)
  • Re: which programming is good for front end application to link to SQL
    ... Are you asking which programming language to use to create a front end ... for a SQL Server database? ... well as a very good drag and drop GUI designer. ... If you are a Java developer then you can use Java, ...
    (microsoft.public.sqlserver.clients)
  • Java -> Netbeans -> JTextField.name property???
    ... New to java, but seasoned in other languages like C++. ... using Netbeans for java. ... default "JTextField1" name for it from the gui designer. ... JTextField component and do "change variable name", ...
    (comp.lang.java.gui)
  • Re: Seeking very user-friendly, drag-and-drop GUI design tool.
    ... On 12.09.2004 22:28 Corey Murtagh wrote: ... > If you're willing to go to Java there are a few free IDEs that might be ... > Perhaps one of the friendly Java people could assist with that. ... NetBeans comes with a GUI designer and Eclipse has one in pre-relase state ...
    (comp.lang.java)
  • Re: Seeking very user-friendly, drag-and-drop GUI design tool.
    ... On 12.09.2004 22:28 Corey Murtagh wrote: ... > If you're willing to go to Java there are a few free IDEs that might be ... > Perhaps one of the friendly Java people could assist with that. ... NetBeans comes with a GUI designer and Eclipse has one in pre-relase state ...
    (comp.programming)